diff options
author | Justin Pettit <jpettit@nicira.com> | 2011-11-01 15:57:56 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2011-11-09 10:37:55 -0800 |
commit | fa8223b7fd02890647eb2bf3d3b5b27ee4d32a21 (patch) | |
tree | 2c78fb0f23b2ca9403c248e556f5521a3edfba02 /datapath/flow.h | |
parent | 5145475f555867bf510428d65ced59369c7d8f4f (diff) |
Support matching IPv6 flow label.
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'datapath/flow.h')
-rw-r--r-- | datapath/flow.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/datapath/flow.h b/datapath/flow.h index 5bd8c8da..0471cfc5 100644 --- a/datapath/flow.h +++ b/datapath/flow.h @@ -73,6 +73,7 @@ struct sw_flow_key { struct in6_addr src; /* IPv6 source address. */ struct in6_addr dst; /* IPv6 destination address. */ } addr; + __be32 label; /* IPv6 flow label. */ struct { __be16 src; /* TCP/UDP source port. */ __be16 dst; /* TCP/UDP destination port. */ @@ -146,13 +147,13 @@ u64 flow_used_time(unsigned long flow_jiffies); * OVS_KEY_ATTR_ETHERNET 12 -- 4 16 * OVS_KEY_ATTR_8021Q 4 -- 4 8 * OVS_KEY_ATTR_ETHERTYPE 2 2 4 8 - * OVS_KEY_ATTR_IPV6 34 2 4 40 + * OVS_KEY_ATTR_IPV6 38 2 4 44 * OVS_KEY_ATTR_ICMPV6 2 2 4 8 * OVS_KEY_ATTR_ND 28 -- 4 32 * ------------------------------------------------- - * total 140 + * total 144 */ -#define FLOW_BUFSIZE 140 +#define FLOW_BUFSIZE 144 int flow_to_nlattrs(const struct sw_flow_key *, struct sk_buff *); int flow_from_nlattrs(struct sw_flow_key *swkey, int *key_lenp, |