mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 16:55:42 +00:00
The linux-2.6 and compat-2.6 directories apply equally to the upcoming Linux 3.0 release, so this drops the 2.6 suffix and updates Makefiles. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
16 lines
420 B
C
16 lines
420 B
C
#ifndef __NET_NET_NAMESPACE_WRAPPER_H
|
|
#define __NET_NET_NAMESPACE_WRAPPER_H 1
|
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
|
|
/* <net/net_namespace.h> exists, go ahead and include it. */
|
|
#include_next <net/net_namespace.h>
|
|
#endif
|
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32)
|
|
#define INIT_NET_GENL_SOCK init_net.genl_sock
|
|
#else
|
|
#define INIT_NET_GENL_SOCK genl_sock
|
|
#endif
|
|
|
|
#endif /* net/net_namespace.h wrapper */
|