1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct skb_shared_hwtstamps</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="ch01s02.html" title="Socket Buffer Functions"><link rel="next" href="API-struct-skb-mstamp.html" title="struct skb_mstamp"></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 skb_shared_hwtstamps</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a> </td><th width="60%" align="center">Socket Buffer Functions</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-skb-mstamp.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-skb-shared-hwtstamps"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct skb_shared_hwtstamps — 2 hardware time stamps 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct skb_shared_hwtstamps { 5 ktime_t hwtstamp; 6}; </pre></div><div class="refsect1"><a name="idp1092829524"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">hwtstamp</span></dt><dd><p> 7hardware time stamp transformed into duration 8since arbitrary point in time 9 </p></dd></dl></div></div><div class="refsect1"><a name="idp1092830860"></a><h2>Description</h2><p> 10 Software time stamps generated by <code class="function">ktime_get_real</code> are stored in 11 skb->tstamp. 12 </p><p> 13 14 hwtstamps can only be compared against other hwtstamps from 15 the same device. 16 </p><p> 17 18 This structure is attached to packets as part of the 19 <span class="structname">skb_shared_info</span>. Use <code class="function">skb_hwtstamps</code> to get a pointer. 20</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-skb-mstamp.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Socket Buffer Functions </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct skb_mstamp</span></td></tr></table></div></body></html> 21