STRUCT SOCK_COMMON

Section: Linux Networking (9)
Updated: February 2011
Index Return to Main Contents
 

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