1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct sock_common</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Networking and Network Devices APIs"><link rel="up" href="ch01s02.html" title="Socket Buffer Functions"><link rel="prev" href="API-skb-gso-network-seglen.html" title="skb_gso_network_seglen"><link rel="next" href="API-struct-sock.html" title="struct sock"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct sock_common</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-skb-gso-network-seglen.html">Prev</a>&#160;</td><th width="60%" align="center">Socket Buffer Functions</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-sock.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-sock-common"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct sock_common &#8212; 
2  minimal network layer representation of sockets
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct sock_common {
5  union {unnamed_union};
6  int skc_tx_queue_mapping;
7  atomic_t skc_refcnt;
8};  </pre></div><div class="refsect1"><a name="idp1095796076"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">{unnamed_union}</span></dt><dd><p>
9anonymous
10      </p></dd><dt><span class="term">skc_tx_queue_mapping</span></dt><dd><p>
11tx queue number for this connection
12      </p></dd><dt><span class="term">skc_refcnt</span></dt><dd><p>
13reference count
14      </p></dd></dl></div></div><div class="refsect1"><a name="idp1095798620"></a><h2>Description</h2><p>
15   This is the minimal network layer representation of sockets, the header
16   for struct sock and struct inet_timewait_sock.
17</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-skb-gso-network-seglen.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch01s02.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-sock.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">skb_gso_network_seglen</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">struct sock</span></td></tr></table></div></body></html>
18