Rechercher une page de manuel
struct_sock_common
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
struct_sock_common - minimal network layer representation of socketsSYNOPSIS
struct sock_common { unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse; int skc_bound_dev_if; union {unnamed_union}; struct hlist_node skc_bind_node; atomic_t skc_refcnt; unsigned int skc_hash; struct proto * skc_prot; #ifdef CONFIG_NET_NS struct net * skc_net; #endif };
MEMBERS
skc_family
- network address family
skc_state
- Connection state
skc_reuse
SO_REUSEADDR setting
skc_bound_dev_if
- bound device index if != 0
{unnamed_union}
- anonymous
skc_bind_node
- bind hash linkage for various protocol lookup tables
skc_refcnt
- reference count
skc_hash
- hash value used with various protocol lookup tables
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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre