From 4fba171d21dc15d69af20cfbf4f5a3f34b1f426f Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 22 May 2012 00:15:25 -0700 Subject: [PATCH] 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 --- lib/packets.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/packets.h b/lib/packets.h index 19ddd9acf..ad5631db3 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. */ -- 2.43.0