forked from nmap/npcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wpcap.htm
43 lines (40 loc) · 1.91 KB
/
wpcap.htm
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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>
<body>
<p>This section contains the user manual of <code>wpcap.dll</code>, the
dynamic library that contains the public Npcap API.
Wpcap.dll exports a set of
system-independent functions for packet capture and network analysis. These
functions can be used to:</p>
<ul>
<li>obtain the list of the available network adapters
<li>retrieve various information about an adapter, like the description and the list of addresses</li>
<li>sniff the packets using one of the network interface cards of the PC</li>
<li>send packets to the network
<li>efficiently save packets to disk and load them with an interface similar to the one of
live capture</li>
<li>create packet filters using a high level language and apply them to the captured
packets</li>
</ul>
<p>wpcap.dll is compatible with libpcap, the well known packet capture library
for Unix. This compatibility means that one can develop portable network tools
that will run on the Win32 OS family and on all of the major Unix flavors.</p>
<p>Several portions of the manual present in this section derive directly from the man pages of tcpdump and libpcap, maintained by the tcpdump.org developers. Therefore, if you
are looking for updated docs, you can consult the web site <a href="https://www.tcpdump.org">www.tcpdump.org</a>.</p>
<h2>Note</h2>
<p>Some functions are marked <i>deprecated</i>
or <i>discouraged</i>. The meanings of these labels are:</p>
<ul>
<li><i>discouraged</i>: the use of another function with similar purpose is
suggested, however this one is still valid.</li>
<li><i>deprecated</i>: the function is present only for portability and
backward compatibility. It should be avoided, and it is strongly suggested
to use another equivalent function instead.<br>
</li>
</ul>
<p>
</body>
</html>