blob: efa58254a068adc5ae58da597bb8d0be343d9aeb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
<!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 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>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 <<a class="el" href="incs_2pcap_8h_source.html">pcap.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">u_int </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__stat.html#a825c8bdb589e7de8e597f6d6f7af8125">ps_recv</a></td></tr>
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__stat.html#a2cfc89d84a0ba404cacfa59f6b112bc1">ps_drop</a></td></tr>
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__stat.html#abc51be1ec5423e462bde5eac5a9b7c56">ps_ifdrop</a></td></tr>
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__stat.html#a579778ac11d2b5c142ce8bc7ed37bb08">bs_capt</a></td></tr>
<tr><td class="mdescLeft"> </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>
|