git://git.onelab.eu
/
sliver-openvswitch.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
513489aeb8ddfd6b54db2a38cb61688d01a492d9
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
include
/
net
/
sock.h
1
#ifndef __NET_SOCK_WRAPPER_H
2
#define __NET_SOCK_WRAPPER_H 1
3
4
#include_next <net/sock.h>
5
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
6
struct net;
7
8
static inline struct net *sock_net(const struct sock *sk)
9
{
10
return NULL;
11
}
12
13
#endif
14
15
#endif /* net/sock.h wrapper */