X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Flinux%2Fif_ether.h;h=25f63cab6ab74ab88e2985d4d68f01d284ee50c4;hb=3442636d01d2a73a557952ad9140de07418c28c2;hp=41cc05375d509e44fc535f57bf6e347e654bcea7;hpb=d9065a90b6b955aa38586c952e8804ca7a22547e;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/include/linux/if_ether.h b/datapath/linux/compat/include/linux/if_ether.h index 41cc05375..25f63cab6 100644 --- a/datapath/linux/compat/include/linux/if_ether.h +++ b/datapath/linux/compat/include/linux/if_ether.h @@ -3,17 +3,12 @@ #include_next -#include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) - -#define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ - -#endif /* linux kernel < 2.6.28 */ - -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) - -#define ETH_P_FCOE 0x8906 /* Fibre Channel over Ethernet */ +#ifndef ETH_P_802_3_MIN +#define ETH_P_802_3_MIN 0x0600 +#endif -#endif /* linux kernel < 2.6.30 */ +#ifndef ETH_P_8021AD +#define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ +#endif #endif