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.