f53cf979868d0a5de0da4ef6b2980de0363fc98a
[cascardo/ovs.git] / datapath / linux / compat / include / linux / if.h
1 #ifndef __LINUX_IF_WRAPPER_H
2 #define __LINUX_IF_WRAPPER_H 1
3
4 #include_next <linux/if.h>
5
6 #include <linux/version.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
8
9 #define IFF_XMIT_DST_RELEASE 0
10
11 #endif /* linux kernel < 2.6.31 */
12
13 #ifndef IFF_TX_SKB_SHARING
14 #define IFF_TX_SKB_SHARING 0
15 #endif
16
17 #ifndef IFF_OVS_DATAPATH
18 #define IFF_OVS_DATAPATH 0
19 #endif
20
21 #ifndef IFF_LIVE_ADDR_CHANGE
22 #define IFF_LIVE_ADDR_CHANGE 0
23 #endif
24
25 #endif