813a70ad0e7fe2cc1a52c162b08f3154c7d3d575
[sliver-openvswitch.git] / datapath / linux / compat / include / linux / inetdevice.h
1 #ifndef __LINUX_INETDEVICE_WRAPPER_H
2 #define __LINUX_INETDEVICE_WRAPPER_H 1
3
4 #include_next <linux/inetdevice.h>
5
6 #include <linux/version.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
8
9 #define inetdev_by_index(net, ifindex) \
10                 inetdev_by_index((ifindex))
11
12 #endif /* linux kernel < 2.6.25 */
13
14 #endif