1 #ifndef __NET_NET_NAMESPACE_WRAPPER_H
2 #define __NET_NET_NAMESPACE_WRAPPER_H 1
4 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
5 /* <net/net_namespace.h> exists, go ahead and include it. */
6 #include_next <net/net_namespace.h>
9 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32)
10 #define INIT_NET_GENL_SOCK init_net.genl_sock
12 #define INIT_NET_GENL_SOCK genl_sock
15 #endif /* net/net_namespace.h wrapper */