datapath: Rename linux-2.6 and compat-2.6 directories.
[sliver-openvswitch.git] / datapath / linux / compat / include / net / net_namespace.h
1 #ifndef __NET_NET_NAMESPACE_WRAPPER_H
2 #define __NET_NET_NAMESPACE_WRAPPER_H 1
3
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>
7 #endif
8
9 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32)
10 #define INIT_NET_GENL_SOCK init_net.genl_sock
11 #else
12 #define INIT_NET_GENL_SOCK genl_sock
13 #endif
14
15 #endif /* net/net_namespace.h wrapper */