Name
struct sock_common —
minimal network layer representation of sockets
Synopsis
struct sock_common {
union {unnamed_union};
struct proto * skc_prot;
#ifdef CONFIG_NET_NS
struct net * skc_net;
#endif
};
Members
- {unnamed_union}
anonymous
- skc_prot
protocol handlers inside a network family
- skc_net
reference to the network namespace of this socket
Description
This is the minimal network layer representation of sockets, the header
for struct sock and struct inet_timewait_sock.