
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 …
Opening an adapter and capturing the packets - WinPcap
pcap_loop() is enough for the purpose of this sample, while pcap_dispatch() is normally used in a more complex program. Both of these functions have a callback parameter, packet_handler, …
WinPcap: pcap.h File Reference
pcap_get_airpcap_handle (pcap_t *p) Returns the AirPcap handler associated with an adapter. This handler can be used to change the wireless-related settings of the CACE Technologies …
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, …
Capturing the packets without the callback - WinPcap
The callback-based capture mechanism of pcap_loop() is elegant and it could be a good choice in some situations. However, handling a callback is sometimes not practical -- it often makes the …
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 …
Exported functions - WinPcap
Create a pcap_t structure without starting a capture. pcap_open_dead() is used for creating a pcap_t structure to use when calling the other functions in libpcap. It is typically used when just …
Obtaining advanced information about installed devices - WinPcap
Additionally, pcap_findalldevs_ex() can also return remote adapters and a list of pcap files that are located in a given local folder. The following sample provides an ifprint() function that prints the …
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 …
WinPcap tutorial: a step by step guide to using WinPcap
This section shows how to use the features of the WinPcap API. It is organized as a tutorial, subdivided into a set of lessons that will introduce the reader, in a step-by-step fashion, to …