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

Signed-off-by: Ben Pfaff <b...@nicira.com>
---
 lib/packets.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/packets.h b/lib/packets.h
index 782b906..43cd3bd 100644
--- a/lib/packets.h
+++ b/lib/packets.h
@@ -170,6 +170,8 @@ const char *eth_from_hex(const char *hex, struct ofpbuf 
**packetp);
 #define ETH_TYPE_VLAN          0x8100
 #define ETH_TYPE_IPV6          0x86dd
 #define ETH_TYPE_LACP          0x8809
+#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. */
-- 
1.7.2.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to