<!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: WinPcap user's manual</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>WinPcap user's manual</h1><table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Modules</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcap__def.html">Definitions</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcapfunc.html">Exported functions</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__language.html">Filtering expression syntax</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__wpcapsamps.html">Using WinPcap in your programs</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 6.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title></title> </head> <body> <p>This section contains the user manual of <code><font face="Courier New">wpcap.dll</font></code>, the dynamic library that contains the public WinPcap API. <font face="Times New Roman">wpcap.dll </font>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="http://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> </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>