1STRUCT SOCK_COMMON(9) Linux Networking STRUCT SOCK_COMMON(9)
2
3
4
6 struct_sock_common - minimal network layer representation of sockets
7
9 struct sock_common {
10 union {unnamed_union};
11 struct proto * skc_prot;
12 #ifdef CONFIG_NET_NS
13 struct net * skc_net;
14 #endif
15 };
16
18 {unnamed_union}
19 anonymous
20
21 skc_prot
22 protocol handlers inside a network family
23
24 skc_net
25 reference to the network namespace of this socket
26
28 This is the minimal network layer representation of sockets, the header
29 for struct sock and struct inet_timewait_sock.
30
32Kernel Hackers Manual 2.6. November 2011 STRUCT SOCK_COMMON(9)