Scroll to navigation

STRUCT SOCK_COMMON(9) Linux Networking STRUCT SOCK_COMMON(9)

NAME

struct_sock_common - minimal network layer representation of sockets

SYNOPSIS

struct sock_common {
  __be32 skc_daddr;
  __be32 skc_rcv_saddr;
  union {unnamed_union};
  int skc_tx_queue_mapping;
  atomic_t skc_refcnt;
};  

MEMBERS

skc_daddr
Foreign IPv4 addr
skc_rcv_saddr
Bound local IPv4 addr
{unnamed_union}
anonymous
skc_tx_queue_mapping
tx queue number for this connection
skc_refcnt
reference count

DESCRIPTION

This is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.

COPYRIGHT

March 2016 Kernel Hackers Manual 3.2.