struct_sock_common

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

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.