55862ceaab7fd75b792556030fe731a917d516c0
[openwrt/staging/blogic.git] / backport / backport-include / linux / if_ether.h
1 #ifndef __BACKPORT_IF_ETHER_H
2 #define __BACKPORT_IF_ETHER_H
3 #include_next <linux/if_ether.h>
4
5 /* See commit b62faf3c in next-20140311 */
6 #ifndef ETH_P_80221
7 #define ETH_P_80221 0x8917 /* IEEE 802.21 Media Independent Handover Protocol */
8 #endif
9
10 /*
11 * backport of:
12 * commit e5c5d22e8dcf7c2d430336cbf8e180bd38e8daf1
13 * Author: Simon Horman <horms@verge.net.au>
14 * Date: Thu Mar 28 13:38:25 2013 +0900
15 *
16 * net: add ETH_P_802_3_MIN
17 */
18 #ifndef ETH_P_802_3_MIN
19 #define ETH_P_802_3_MIN 0x0600
20 #endif
21
22 #ifndef ETH_P_TDLS
23 #define ETH_P_TDLS 0x890D /* TDLS */
24 #endif
25
26 #ifndef ETH_P_LINK_CTL
27 #define ETH_P_LINK_CTL 0x886c
28 #endif
29
30 #ifndef ETH_P_PAE
31 #define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
32 #endif
33
34 #ifndef ETH_P_TEB
35 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */
36 #endif
37
38 #ifndef ETH_P_8021AD
39 #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */
40 #endif
41
42 #ifndef ETH_MIN_MTU
43 #define ETH_MIN_MTU 68
44 #endif
45
46 #ifndef ETH_MAX_MTU
47 #define ETH_MAX_MTU 0xFFFFU
48 #endif
49
50 #endif /* __BACKPORT_IF_ETHER_H */