]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_ether.h
net: support MPLS in software packet type parser
[dpdk.git] / lib / librte_net / rte_ether.h
index bee2b34f09e0b8658ecdc090d533570d0d13b06f..c2c5e249ffe924cb561bd95ed6ca5da158a8780f 100644 (file)
@@ -306,6 +306,8 @@ struct vxlan_hdr {
 #define ETHER_TYPE_SLOW 0x8809 /**< Slow protocols (LACP and Marker). */
 #define ETHER_TYPE_TEB  0x6558 /**< Transparent Ethernet Bridging. */
 #define ETHER_TYPE_LLDP 0x88CC /**< LLDP Protocol. */
+#define ETHER_TYPE_MPLS 0x8847 /**< MPLS ethertype. */
+#define ETHER_TYPE_MPLSM 0x8848 /**< MPLS multicast ethertype. */
 
 #define ETHER_VXLAN_HLEN (sizeof(struct udp_hdr) + sizeof(struct vxlan_hdr))
 /**< VXLAN tunnel header length. */