backports: add ETH_P_TEB and ETH_P_8021AD
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 10 Feb 2014 22:19:47 +0000 (23:19 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 10 Feb 2014 22:29:07 +0000 (23:29 +0100)
This is needed by net-core-flow_dissector.c.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/if_ether.h

index 8581283e998d52208b9aad93ec9701f9ce060fe8..d9a14642a59c3379c6c9ed95f57e61482f6fee04 100644 (file)
@@ -31,4 +31,12 @@ int mac_pton(const char *s, u8 *mac);
 #define ETH_P_PAE 0x888E      /* Port Access Entity (IEEE 802.1X) */
 #endif
 
+#ifndef ETH_P_TEB
+#define ETH_P_TEB      0x6558          /* Trans Ether Bridging         */
+#endif
+
+#ifndef ETH_P_8021AD
+#define ETH_P_8021AD   0x88A8          /* 802.1ad Service VLAN         */
+#endif
+
 #endif /* __BACKPORT_IF_ETHER_H */