1 #ifndef __LINUX_IF_WRAPPER_H
2 #define __LINUX_IF_WRAPPER_H 1
4 #include_next <linux/if.h>
6 #include <linux/version.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
9 #define IFF_XMIT_DST_RELEASE 0
11 #endif /* linux kernel < 2.6.31 */
13 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
14 /* XXX: Change to a unique value after merge */
15 #define IFF_OVS_DATAPATH IFF_BRIDGE_PORT
17 #define IFF_OVS_DATAPATH 0 /* no-op flag */