struct sock - network layer representation of sockets : shared layout with inet_timewait_sock : mask of SEND_SHUTDOWN and/or RCV_SHUTDOWN : SO_SNDBUF and SO_RCVBUF settings : synchronizer : size of receive buffer in bytes : sock wait queue and async head : receive input route used by early tcp demux : destination cache : destination cache lock : flow policy : incoming packets : transmit queue bytes committed : Packet sending queue : DMA copied packets : "o" is "option" or "other" : persistent queue size : space allocated forward : allocation mode : size of send buffer in bytes : SO_LINGER (l_onoff), SO_BROADCAST, SO_KEEPALIVE, SO_OOBINLINE settings, SO_TIMESTAMPING settings : SO_NO_CHECK setting, wether or not checkup packets : route capabilities (e.g. NETIF_F_TSO) : forbidden route capabilities (e.g NETIF_F_GSO_MASK) : GSO type (e.g. SKB_GSO_TCPV4) : Maximum GSO segment size to build : Maximum number of GSO segments : SO_LINGER l_linger setting : always used with the per-socket spinlock held : used with the callbacks in the end of this struct : rarely used : sk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance) : last error : errors that don't cause failure but are the cause of a persistent failure not just 'timed out' : raw/udp drops counter : current listen backlog : listen backlog set in listen() : SO_PRIORITY setting : socket group's priority map index : socket type (SOCK_STREAM, etc) : which protocol this socket belongs in this network family : &struct pid for this socket's peer : SO_PEERCRED setting : SO_RCVLOWAT setting : SO_RCVTIMEO setting : SO_SNDTIMEO setting : flow hash received from netif layer : socket filtering instructions : private area, net family specific, when not using slab : sock cleanup timer : time stamp of last packet received : Identd and reporting IO signals : RPC layer private data : cached page frag : current peek_offset value : front of stuff to transmit : used by security modules : generic packet mark : this socket's cgroup classid : this socket's cgroup-specific proto data : a write to stream socket waits to start : callback to indicate change in the state of the sock : callback to indicate there is data to be processed : callback to indicate there is bf sending space available : callback to indicate errors (e.g. MSG_ERRQUEUE) : callback to process the backlog : called at sock freeing time, i.e. when all refcnt == 0
Definition at line 265 of file sock.h.