Packet Capture Library Header Files

This section describes the library header files for the packets that should be captured.

The /usr/include/pcap.h file is the header file that should be included in all applications using libpcap.a. This file contains data definitions, structures, constants, and macros used by the packet capture library subroutines.