From: Hauke Mehrtens Date: Mon, 10 Feb 2014 22:19:47 +0000 (+0100) Subject: backports: add ETH_P_TEB and ETH_P_8021AD X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3fb838ac282ff858a7f7e77ec0a28ea48492d480;p=openwrt%2Fstaging%2Fblogic.git backports: add ETH_P_TEB and ETH_P_8021AD This is needed by net-core-flow_dissector.c. Signed-off-by: Hauke Mehrtens --- diff --git a/backport/backport-include/linux/if_ether.h b/backport/backport-include/linux/if_ether.h index 8581283e998d..d9a14642a59c 100644 --- a/backport/backport-include/linux/if_ether.h +++ b/backport/backport-include/linux/if_ether.h @@ -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 */