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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
|
<!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: Definitions</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><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Definitions<br/>
<small>
[<a class="el" href="group__wpcap.html">WinPcap user's manual</a>]</small>
</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__file__header.html">pcap_file_header</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Header of a libpcap dump file. <a href="structpcap__file__header.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__pkthdr.html">pcap_pkthdr</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Header of a packet in the dump file. <a href="structpcap__pkthdr.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__stat.html">pcap_stat</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Structure that keeps statistical values on an interface. <a href="structpcap__stat.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__if.html">pcap_if</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Item in a list of interfaces, used by <a class="el" href="group__wpcapfunc.html#ga7b128eaeef627b408f6a6e2a2f5eb45d" title="Construct a list of network devices that can be opened with pcap_open_live().">pcap_findalldevs()</a>. <a href="structpcap__if.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structpcap__addr.html">pcap_addr</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Representation of an interface address, used by <a class="el" href="group__wpcapfunc.html#ga7b128eaeef627b408f6a6e2a2f5eb45d" title="Construct a list of network devices that can be opened with pcap_open_live().">pcap_findalldevs()</a>. <a href="structpcap__addr.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#gaac031371d41e21ff96e80409e05a7ddb">PCAP_VERSION_MAJOR</a> 2</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Major libpcap dump file version. <a href="#gaac031371d41e21ff96e80409e05a7ddb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#ga9c200b070c9f626d38184588b16849c2">PCAP_VERSION_MINOR</a> 4</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Minor libpcap dump file version. <a href="#ga9c200b070c9f626d38184588b16849c2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#gacd448353957d92c98fccc29e1fc8d927">PCAP_ERRBUF_SIZE</a> 256</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Size to use when allocating the buffer that contains the libpcap errors. <a href="#gacd448353957d92c98fccc29e1fc8d927"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#ga43a6601bfd438efc02b0ba71c5439647">PCAP_IF_LOOPBACK</a> 0x00000001</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">interface is loopback <a href="#ga43a6601bfd438efc02b0ba71c5439647"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#gac93c0a6ad1d2a3143b1115bdab3ac04d">MODE_CAPT</a> 0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Capture mode, to be used when calling <a class="el" href="group__wpcapfunc.html#gaef07ef49d3c75644f3fd34518e2fe720" title="Set the working mode of the interface p to mode.">pcap_setmode()</a>. <a href="#gac93c0a6ad1d2a3143b1115bdab3ac04d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#ga503326906a62e96c147ae6af31fb5659">MODE_STAT</a> 1</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Statistical mode, to be used when calling <a class="el" href="group__wpcapfunc.html#gaef07ef49d3c75644f3fd34518e2fe720" title="Set the working mode of the interface p to mode.">pcap_setmode()</a>. <a href="#ga503326906a62e96c147ae6af31fb5659"></a><br/></td></tr>
<tr><td colspan="2"><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#ga759c6336c1d9abb462d9248c5ca5c437">bpf_int32</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">32-bit integer <a href="#ga759c6336c1d9abb462d9248c5ca5c437"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef u_int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#ga37fdbc8313e90fb2041203a2e40cd482">bpf_u_int32</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">32-bit unsigned integer <a href="#ga37fdbc8313e90fb2041203a2e40cd482"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct pcap </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#ga4711d025f83503ce692efa5e45ec60a7">pcap_t</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Descriptor of an open capture instance. This structure is <b>opaque</b> to the user, that handles its content through the functions provided by wpcap.dll. <a href="#ga4711d025f83503ce692efa5e45ec60a7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct pcap_dumper </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#gab8c7858aa3a7e3158d9d58cb113a2ae8">pcap_dumper_t</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">libpcap savefile descriptor. <a href="#gab8c7858aa3a7e3158d9d58cb113a2ae8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structpcap__if.html">pcap_if</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#ga3a6e7cbf8d9752da3add4676c7cd4c58">pcap_if_t</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Item in a list of interfaces, see <a class="el" href="structpcap__if.html" title="Item in a list of interfaces, used by pcap_findalldevs().">pcap_if</a>. <a href="#ga3a6e7cbf8d9752da3add4676c7cd4c58"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structpcap__addr.html">pcap_addr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html#gad5c2e491e2ca9d8eefe4217021c99bdc">pcap_addr_t</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Representation of an interface address, see <a class="el" href="structpcap__addr.html" title="Representation of an interface address, used by pcap_findalldevs().">pcap_addr</a>. <a href="#gad5c2e491e2ca9d8eefe4217021c99bdc"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definitions for wpcap.dll </p>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="gac93c0a6ad1d2a3143b1115bdab3ac04d"></a><!-- doxytag: member="incs/pcap.h::MODE_CAPT" ref="gac93c0a6ad1d2a3143b1115bdab3ac04d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MODE_CAPT 0</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Capture mode, to be used when calling <a class="el" href="group__wpcapfunc.html#gaef07ef49d3c75644f3fd34518e2fe720" title="Set the working mode of the interface p to mode.">pcap_setmode()</a>. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00172">172</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga503326906a62e96c147ae6af31fb5659"></a><!-- doxytag: member="incs/pcap.h::MODE_STAT" ref="ga503326906a62e96c147ae6af31fb5659" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MODE_STAT 1</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Statistical mode, to be used when calling <a class="el" href="group__wpcapfunc.html#gaef07ef49d3c75644f3fd34518e2fe720" title="Set the working mode of the interface p to mode.">pcap_setmode()</a>. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00173">173</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="gacd448353957d92c98fccc29e1fc8d927"></a><!-- doxytag: member="incs/pcap.h::PCAP_ERRBUF_SIZE" ref="gacd448353957d92c98fccc29e1fc8d927" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PCAP_ERRBUF_SIZE 256</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Size to use when allocating the buffer that contains the libpcap errors. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00059">59</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga43a6601bfd438efc02b0ba71c5439647"></a><!-- doxytag: member="incs/pcap.h::PCAP_IF_LOOPBACK" ref="ga43a6601bfd438efc02b0ba71c5439647" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PCAP_IF_LOOPBACK 0x00000001</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>interface is loopback </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00156">156</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="gaac031371d41e21ff96e80409e05a7ddb"></a><!-- doxytag: member="incs/pcap.h::PCAP_VERSION_MAJOR" ref="gaac031371d41e21ff96e80409e05a7ddb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PCAP_VERSION_MAJOR 2</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Major libpcap dump file version. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00056">56</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga9c200b070c9f626d38184588b16849c2"></a><!-- doxytag: member="incs/pcap.h::PCAP_VERSION_MINOR" ref="ga9c200b070c9f626d38184588b16849c2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define PCAP_VERSION_MINOR 4</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Minor libpcap dump file version. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00057">57</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="ga759c6336c1d9abb462d9248c5ca5c437"></a><!-- doxytag: member="incs/pcap.h::bpf_int32" ref="ga759c6336c1d9abb462d9248c5ca5c437" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int <a class="el" href="group__wpcap__def.html#ga759c6336c1d9abb462d9248c5ca5c437">bpf_int32</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>32-bit integer </p>
<p>Compatibility for systems that have a bpf.h that predates the bpf typedefs for 64-bit support. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00066">66</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga37fdbc8313e90fb2041203a2e40cd482"></a><!-- doxytag: member="incs/pcap.h::bpf_u_int32" ref="ga37fdbc8313e90fb2041203a2e40cd482" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef u_int <a class="el" href="group__wpcap__def.html#ga37fdbc8313e90fb2041203a2e40cd482">bpf_u_int32</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>32-bit unsigned integer </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00067">67</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="gad5c2e491e2ca9d8eefe4217021c99bdc"></a><!-- doxytag: member="incs/pcap.h::pcap_addr_t" ref="gad5c2e491e2ca9d8eefe4217021c99bdc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structpcap__addr.html">pcap_addr</a> <a class="el" href="structpcap__addr.html">pcap_addr_t</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Representation of an interface address, see <a class="el" href="structpcap__addr.html" title="Representation of an interface address, used by pcap_findalldevs().">pcap_addr</a>. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00073">73</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="gab8c7858aa3a7e3158d9d58cb113a2ae8"></a><!-- doxytag: member="incs/pcap.h::pcap_dumper_t" ref="gab8c7858aa3a7e3158d9d58cb113a2ae8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct pcap_dumper <a class="el" href="group__wpcap__def.html#gab8c7858aa3a7e3158d9d58cb113a2ae8">pcap_dumper_t</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>libpcap savefile descriptor. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00071">71</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga3a6e7cbf8d9752da3add4676c7cd4c58"></a><!-- doxytag: member="incs/pcap.h::pcap_if_t" ref="ga3a6e7cbf8d9752da3add4676c7cd4c58" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structpcap__if.html">pcap_if</a> <a class="el" href="structpcap__if.html">pcap_if_t</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Item in a list of interfaces, see <a class="el" href="structpcap__if.html" title="Item in a list of interfaces, used by pcap_findalldevs().">pcap_if</a>. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00072">72</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga4711d025f83503ce692efa5e45ec60a7"></a><!-- doxytag: member="incs/pcap.h::pcap_t" ref="ga4711d025f83503ce692efa5e45ec60a7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct pcap <a class="el" href="group__wpcap__def.html#ga4711d025f83503ce692efa5e45ec60a7">pcap_t</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Descriptor of an open capture instance. This structure is <b>opaque</b> to the user, that handles its content through the functions provided by wpcap.dll. </p>
<p>Definition at line <a class="el" href="incs_2pcap_8h_source.html#l00070">70</a> of file <a class="el" href="incs_2pcap_8h_source.html">incs/pcap.h</a>.</p>
</div>
</div>
</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>
|