1 #ifndef __LINUX_INETDEVICE_WRAPPER_H
2 #define __LINUX_INETDEVICE_WRAPPER_H 1
4 #include_next <linux/inetdevice.h>
6 #include <linux/version.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
9 #define inetdev_by_index(net, ifindex) \
10 inetdev_by_index((ifindex))
12 #endif /* linux kernel < 2.6.25 */