aboutsummaryrefslogtreecommitdiff
path: root/lib/meta-flow.h
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2011-11-01 15:57:56 -0700
committerJustin Pettit <jpettit@nicira.com>2011-11-09 10:37:55 -0800
commitfa8223b7fd02890647eb2bf3d3b5b27ee4d32a21 (patch)
tree2c78fb0f23b2ca9403c248e556f5521a3edfba02 /lib/meta-flow.h
parent5145475f555867bf510428d65ced59369c7d8f4f (diff)
Support matching IPv6 flow label.
Signed-off-by: Justin Pettit <jpettit@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/meta-flow.h')
-rw-r--r--lib/meta-flow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/meta-flow.h b/lib/meta-flow.h
index 9f3b2eec..54dead87 100644
--- a/lib/meta-flow.h
+++ b/lib/meta-flow.h
@@ -67,6 +67,7 @@ enum mf_field_id {
MFF_IPV6_SRC, /* ipv6 */
MFF_IPV6_DST, /* ipv6 */
+ MFF_IPV6_LABEL, /* be32 */
MFF_IP_PROTO, /* u8 (used for IPv4 or IPv6) */
MFF_IP_TOS, /* u8 (used for IPv4 or IPv6) */
@@ -162,6 +163,7 @@ struct mf_field {
* - "dl_vlan" is 2 bytes but only 12 bits.
* - "dl_vlan_pcp" is 1 byte but only 3 bits.
* - "is_frag" is 1 byte but only 2 bits.
+ * - "ipv6_label" is 4 bytes but only 20 bits.
*/
unsigned int n_bytes; /* Width of the field in bytes. */
unsigned int n_bits; /* Number of significant bits in field. */