41cc05375d509e44fc535f57bf6e347e654bcea7
[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 #endif