From: Ben Pfaff Date: Tue, 22 May 2012 07:15:25 +0000 (-0700) Subject: packets: Add ETH_TYPE_MPLS and ETH_TYPE_MPLS_MCAST. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fba171d21dc15d69af20cfbf4f5a3f34b1f426f;p=openvswitch 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 Signed-off-by: Ben Pfaff --- diff --git a/lib/packets.h b/lib/packets.h index 19ddd9ac..ad5631db 100644 --- a/lib/packets.h +++ b/lib/packets.h @@ -181,6 +181,8 @@ void eth_addr_bitand(const uint8_t src[ETH_ADDR_LEN], #define ETH_TYPE_IPV6 0x86dd #define ETH_TYPE_LACP 0x8809 #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 * lengths. */