datapath: net: add ETH_P_802_3_MIN
[sliver-openvswitch.git] / datapath / linux / compat / include / linux / if_ether.h
1 #ifndef __LINUX_IF_ETHER_WRAPPER_H
2 #define __LINUX_IF_ETHER_WRAPPER_H 1
3
4 #include_next <linux/if_ether.h>
5
6 #include <linux/version.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
8
9 #define ETH_P_TEB      0x6558          /* Trans Ether Bridging         */
10
11 #endif /* linux kernel < 2.6.28 */
12
13 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
14
15 #define ETH_P_FCOE      0x8906          /* Fibre Channel over Ethernet  */
16
17 #endif /* linux kernel < 2.6.30 */
18
19 #ifndef ETH_P_802_3_MIN
20 #define ETH_P_802_3_MIN        0x0600
21 #endif
22
23 #endif