diff options
author | Justin Pettit <jpettit@nicira.com> | 2010-12-29 19:03:46 -0800 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2011-02-02 12:53:26 -0800 |
commit | d31f1109f10e5ffb9bf266306b913ebf23781666 (patch) | |
tree | ddd80cc2348874fdea55a4e88e0990f821fb5e03 /lib/nx-match.h | |
parent | bad68a9965215511b305c59d7f1830344ec2241f (diff) |
nicira-ext: Support matching IPv6 traffic.
Provides ability to match over IPv6 traffic in the same manner as IPv4.
Currently, the matching fields include:
- IPv6 source and destination addresses (ipv6_src and ipv6_dst)
- Traffic Class (nw_tos)
- Next Header (nw_proto)
- ICMPv6 Type and Code (icmp_type and icmp_code)
- TCP and UDP Ports over IPv6 (tp_src and tp_dst)
When defining IPv6 rules, the Nicira Extensible Match (NXM) extension to
OVS must be used.
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/nx-match.h')
-rw-r--r-- | lib/nx-match.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/nx-match.h b/lib/nx-match.h index bd4fea27..aefcb653 100644 --- a/lib/nx-match.h +++ b/lib/nx-match.h @@ -93,8 +93,8 @@ nxm_decode_n_bits(ovs_be16 ofs_nbits) * NXM_OF_VLAN_TCI 4 2 2 8 * NXM_OF_IP_TOS 4 1 -- 5 * NXM_OF_IP_PROTO 4 2 -- 6 - * NXM_OF_IP_SRC_W 4 4 4 12 - * NXM_OF_IP_DST_W 4 4 4 12 + * NXM_OF_IPV6_SRC_W 4 16 16 36 + * NXM_OF_IPV6_DST_W 4 16 16 36 * NXM_OF_TCP_SRC 4 2 -- 6 * NXM_OF_TCP_DST 4 2 -- 6 * NXM_NX_REG_W(0) 4 4 4 12 @@ -103,11 +103,11 @@ nxm_decode_n_bits(ovs_be16 ofs_nbits) * NXM_NX_REG_W(3) 4 4 4 12 * NXM_NX_TUN_ID_W 4 8 8 20 * ------------------------------------------- - * total 161 + * total 209 * * So this value is conservative. */ -#define NXM_MAX_LEN 192 +#define NXM_MAX_LEN 256 /* This is my guess at the length of a "typical" nx_match, for use in * predicting space requirements. */ |