STRUCT
SOCK_COMMON(9) Linux Networking STRUCT SOCK_COMMON(9)
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.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 STRUCT SOCK_COMMON(9)