qt/ledset/WpdPack_4_1_2/docs/html/structpcap__stat.html
2022-08-25 18:43:03 +08:00

131 lines
7.5 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: pcap_stat 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&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&nbsp;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&nbsp;Structures</span></a></li>
<li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>pcap_stat Struct Reference<br/>
<small>
[<a class="el" href="group__wpcap__def.html">Definitions</a>]</small>
</h1><!-- doxytag: class="pcap_stat" -->
<p>Structure that keeps statistical values on an interface.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="incs_2pcap_8h_source.html">pcap.h</a>&gt;</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">u_int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__stat.html#a825c8bdb589e7de8e597f6d6f7af8125">ps_recv</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of packets transited on the network <a href="#a825c8bdb589e7de8e597f6d6f7af8125"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">u_int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__stat.html#a2cfc89d84a0ba404cacfa59f6b112bc1">ps_drop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of packets dropped by the driver <a href="#a2cfc89d84a0ba404cacfa59f6b112bc1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">u_int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__stat.html#abc51be1ec5423e462bde5eac5a9b7c56">ps_ifdrop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">drops by interface, not yet supported <a href="#abc51be1ec5423e462bde5eac5a9b7c56"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">u_int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__stat.html#a579778ac11d2b5c142ce8bc7ed37bb08">bs_capt</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><b>Win32 specific.</b> number of packets captured, i.e number of packets that are accepted by the filter, that find place in the kernel buffer and therefore that actually reach the application. For backward compatibility, <a class="el" href="group__wpcapfunc.html#gabbd74d8c3ce1bcbccc76129ac38f4549" title="Return statistics on current capture.">pcap_stats()</a> does not fill this member, so use <a class="el" href="group__wpcapfunc.html#ga8050f7829956aabd243cc32b3cfabbd6" title="Return statistics on current capture.">pcap_stats_ex()</a> to get it. <a href="#a579778ac11d2b5c142ce8bc7ed37bb08"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Structure that keeps statistical values on an interface. </p>
<p>As returned by the <a class="el" href="group__wpcapfunc.html#gabbd74d8c3ce1bcbccc76129ac38f4549" title="Return statistics on current capture.">pcap_stats()</a> </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00136">136</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a579778ac11d2b5c142ce8bc7ed37bb08"></a><!-- doxytag: member="pcap_stat::bs_capt" ref="a579778ac11d2b5c142ce8bc7ed37bb08" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u_int <a class="el" href="structpcap__stat.html#a579778ac11d2b5c142ce8bc7ed37bb08">bs_capt</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><b>Win32 specific.</b> number of packets captured, i.e number of packets that are accepted by the filter, that find place in the kernel buffer and therefore that actually reach the application. For backward compatibility, <a class="el" href="group__wpcapfunc.html#gabbd74d8c3ce1bcbccc76129ac38f4549" title="Return statistics on current capture.">pcap_stats()</a> does not fill this member, so use <a class="el" href="group__wpcapfunc.html#ga8050f7829956aabd243cc32b3cfabbd6" title="Return statistics on current capture.">pcap_stats_ex()</a> to get it. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00141">141</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="a2cfc89d84a0ba404cacfa59f6b112bc1"></a><!-- doxytag: member="pcap_stat::ps_drop" ref="a2cfc89d84a0ba404cacfa59f6b112bc1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u_int <a class="el" href="structpcap__stat.html#a2cfc89d84a0ba404cacfa59f6b112bc1">ps_drop</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>number of packets dropped by the driver </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00138">138</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="abc51be1ec5423e462bde5eac5a9b7c56"></a><!-- doxytag: member="pcap_stat::ps_ifdrop" ref="abc51be1ec5423e462bde5eac5a9b7c56" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u_int <a class="el" href="structpcap__stat.html#abc51be1ec5423e462bde5eac5a9b7c56">ps_ifdrop</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>drops by interface, not yet supported </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00139">139</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="a825c8bdb589e7de8e597f6d6f7af8125"></a><!-- doxytag: member="pcap_stat::ps_recv" ref="a825c8bdb589e7de8e597f6d6f7af8125" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">u_int <a class="el" href="structpcap__stat.html#a825c8bdb589e7de8e597f6d6f7af8125">ps_recv</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>number of packets transited on the network </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00137">137</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="incs_2pcap_8h_source.html">incs/pcap.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>