mirror of
https://github.com/openvswitch/ovs
synced 2025-10-19 14:37:21 +00:00
meta-flow: Split ICMP into ICMPv4 and ICMPv6.
NXM breaks ICMP into v4 and v6. An upcoming commit will drop all of the NXM specific data in favor of mf_field, and so at that point we need to have a separate mf_field for each NXM field. So, this commit splits ICMP into v4 and v6 for meta-flow also.
This commit is contained in:
@@ -88,8 +88,11 @@ enum mf_field_id {
|
||||
MFF_UDP_SRC, /* be16 (used for IPv4 or IPv6) */
|
||||
MFF_UDP_DST, /* be16 (used for IPv4 or IPv6) */
|
||||
|
||||
MFF_ICMP_TYPE, /* u8 (used for IPv4 or IPv6) */
|
||||
MFF_ICMP_CODE, /* u8 (used for IPv4 or IPv6) */
|
||||
MFF_ICMPV4_TYPE, /* u8 */
|
||||
MFF_ICMPV4_CODE, /* u8 */
|
||||
|
||||
MFF_ICMPV6_TYPE, /* u8 */
|
||||
MFF_ICMPV6_CODE, /* u8 */
|
||||
|
||||
/* ICMPv6 Neighbor Discovery. */
|
||||
MFF_ND_TARGET, /* ipv6 */
|
||||
@@ -116,8 +119,8 @@ enum mf_prereqs {
|
||||
/* L2+L3 requirements. */
|
||||
MFP_TCP, /* On IPv4 or IPv6. */
|
||||
MFP_UDP, /* On IPv4 or IPv6. */
|
||||
MFP_ICMPV4,
|
||||
MFP_ICMPV6,
|
||||
MFP_ICMP_ANY,
|
||||
|
||||
/* L2+L3+L4 requirements. */
|
||||
MFP_ND,
|
||||
|
Reference in New Issue
Block a user