2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

packets: Add ETH_TYPE_MPLS and ETH_TYPE_MPLS_MCAST.

We need these for OpenFlow 1.1 ofp_match support even if we don't support
MPLS matching (which we don't, yet).

Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Ben Pfaff
2012-05-22 00:15:25 -07:00
parent 6c99379ed4
commit 4fba171d21

View File

@@ -181,6 +181,8 @@ void eth_addr_bitand(const uint8_t src[ETH_ADDR_LEN],
#define ETH_TYPE_IPV6 0x86dd #define ETH_TYPE_IPV6 0x86dd
#define ETH_TYPE_LACP 0x8809 #define ETH_TYPE_LACP 0x8809
#define ETH_TYPE_RARP 0x8035 #define ETH_TYPE_RARP 0x8035
#define ETH_TYPE_MPLS 0x8847
#define ETH_TYPE_MPLS_MCAST 0x8848
/* Minimum value for an Ethernet type. Values below this are IEEE 802.2 frame /* Minimum value for an Ethernet type. Values below this are IEEE 802.2 frame
* lengths. */ * lengths. */