
WinPcap - Home
For many years, WinPcap has been recognized as the industry-standard tool for link-layer network access in Windows environments, allowing applications to capture and transmit network packets …
WinPcap Documentation
Introduction This Manual describes the programming interface and the source code of WinPcap. It provides detailed descriptions of the functions and structures exported to programmers, along with …
WinPcap
Modules WinPcap user's manual Definitions Exported functions Filtering expression syntax Using WinPcap in your programs WinPcap tutorial: a step by step guide to using WinPcap Obtaining the …
WinPcap · Frequently Asked Questions
Oct 19, 2009 · The problem is due to the fact that the standard WinPcap include file "pcap.h" contains only a forward declaration of "struct pcap", but not the actual definition of it.
WinPcap: pcap.h File Reference
Flushes the output buffer to the ``savefile,'' so that any packets written with pcap_dump () but not yet written to the ``savefile'' will be written. -1 is returned on error, 0 on success.
WinPcap · Documentation
Manuals The WinPcap manual and tutorial: inside this manual you will find the documentation of the WinPcap API, a tutorial that will explain how to use the WinPcap functions with several samples, the …
Filtering expression syntax - WinPcap
A filter is an ASCII string containing a filtering expression. pcap_compile () takes the expression and translates it in a program for the kernel-level packet filter.
WinPcap: pcap_if Struct Reference
PCAP_IF_ interface flags. Currently the only possible flag is PCAP_IF_LOOPBACK, that is set if the interface is a loopback interface. Definition at line 153 of file incs/pcap.h.
Obtaining the device list - WinPcap
Both libpcap and WinPcap provide the pcap_findalldevs_ex () function for this purpose: this function returns a linked list of pcap_if structures, each of which contains comprehensive information about …
Filtering the traffic - WinPcap
The functions used to filter packets are pcap_compile () and pcap_setfilter (). pcap_compile () takes a string containing a high-level Boolean (filter) expression and produces a low-level byte code that can …