diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-02-10 23:19:47 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-02-10 23:29:07 +0100 |
commit | 3fb838ac282ff858a7f7e77ec0a28ea48492d480 (patch) | |
tree | 7f57dba757f0336352c9127435e3a80ce09a126c | |
parent | 053dfc8225feac0edcc01e66aaf3c72415ce37db (diff) |
backports: add ETH_P_TEB and ETH_P_8021AD
This is needed by net-core-flow_dissector.c.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | backport/backport-include/linux/if_ether.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backport/backport-include/linux/if_ether.h b/backport/backport-include/linux/if_ether.h index 8581283e..d9a14642 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 */ |