109 lines
5.3 KiB
HTML
109 lines
5.3 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>WinPcap: sf_pkthdr Struct Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="style.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.6.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>sf_pkthdr Struct Reference<br/>
|
|
<small>
|
|
[<a class="el" href="group__NPF__include.html">NPF structures and definitions</a>]</small>
|
|
</h1><!-- doxytag: class="sf_pkthdr" -->
|
|
<p>Header associated to a packet in the driver's buffer when the driver is in dump mode. Similar to the bpf_hdr structure, but simpler.
|
|
<a href="#_details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="Packet_8h_source.html">Packet.h</a>></code></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">struct timeval </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf__pkthdr.html#a21be78b2818c91cb205885b8a6f5aed8">ts</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">time stamp <a href="#a21be78b2818c91cb205885b8a6f5aed8"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">UINT </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf__pkthdr.html#addde4bcd837b0ac2f4ab6472162c8ec2">caplen</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">UINT </td><td class="memItemRight" valign="bottom"><a class="el" href="structsf__pkthdr.html#aacda8195c98d3cc32ebece7b17dac774">len</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the original packet (off wire). <a href="#aacda8195c98d3cc32ebece7b17dac774"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>Header associated to a packet in the driver's buffer when the driver is in dump mode. Similar to the bpf_hdr structure, but simpler. </p>
|
|
|
|
<p>Definition at line <a class="el" href="Packet_8h_source.html#l00121">121</a> of file <a class="el" href="Packet_8h_source.html">Packet.h</a>.</p>
|
|
<hr/><h2>Field Documentation</h2>
|
|
<a class="anchor" id="addde4bcd837b0ac2f4ab6472162c8ec2"></a><!-- doxytag: member="sf_pkthdr::caplen" ref="addde4bcd837b0ac2f4ab6472162c8ec2" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">UINT <a class="el" href="structsf__pkthdr.html#addde4bcd837b0ac2f4ab6472162c8ec2">caplen</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Length of captured portion. The captured portion can be different from the original packet, because it is possible (with a proper filter) to instruct the driver to capture only a portion of the packets. </p>
|
|
|
|
<p>Definition at line <a class="el" href="Packet_8h_source.html#l00123">123</a> of file <a class="el" href="Packet_8h_source.html">Packet.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aacda8195c98d3cc32ebece7b17dac774"></a><!-- doxytag: member="sf_pkthdr::len" ref="aacda8195c98d3cc32ebece7b17dac774" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">UINT <a class="el" href="structsf__pkthdr.html#aacda8195c98d3cc32ebece7b17dac774">len</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Length of the original packet (off wire). </p>
|
|
|
|
<p>Definition at line <a class="el" href="Packet_8h_source.html#l00126">126</a> of file <a class="el" href="Packet_8h_source.html">Packet.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a21be78b2818c91cb205885b8a6f5aed8"></a><!-- doxytag: member="sf_pkthdr::ts" ref="a21be78b2818c91cb205885b8a6f5aed8" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct timeval <a class="el" href="structsf__pkthdr.html#a21be78b2818c91cb205885b8a6f5aed8">ts</a><code> [read]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>time stamp </p>
|
|
|
|
<p>Definition at line <a class="el" href="Packet_8h_source.html#l00122">122</a> of file <a class="el" href="Packet_8h_source.html">Packet.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
|
<li><a class="el" href="Packet_8h_source.html">Packet.h</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<hr>
|
|
<p align="right"><img border="0" src="winpcap_small.gif" align="absbottom" width="91" height="27">
|
|
documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005-2009
|
|
CACE Technologies. All rights reserved.</p>
|