diff options
author | Ben Pfaff <blp@nicira.com> | 2012-05-22 00:15:25 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-06-12 21:19:16 -0700 |
commit | 4fba171d21dc15d69af20cfbf4f5a3f34b1f426f (patch) | |
tree | 03809864ca5e58912bd87eadf43fc1a6596f546f /lib/packets.h | |
parent | 6c99379ed477e95e3f2fc1ff22149074ba39efc5 (diff) |
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>
Diffstat (limited to 'lib/packets.h')
-rw-r--r-- | lib/packets.h | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |