Data Structures | |
struct | pcap_file_header |
Header of a libpcap dump file. More... | |
struct | pcap_pkthdr |
Header of a packet in the dump file. More... | |
struct | pcap_stat |
Structure that keeps statistical values on an interface. More... | |
struct | pcap_if |
Item in a list of interfaces, used by pcap_findalldevs(). More... | |
struct | pcap_addr |
Representation of an interface address, used by pcap_findalldevs(). More... | |
Defines | |
#define | PCAP_VERSION_MAJOR 2 |
Major libpcap dump file version. | |
#define | PCAP_VERSION_MINOR 4 |
Minor libpcap dump file version. | |
#define | PCAP_ERRBUF_SIZE 256 |
Size to use when allocating the buffer that contains the libpcap errors. | |
#define | PCAP_IF_LOOPBACK 0x00000001 |
interface is loopback | |
#define | MODE_CAPT 0 |
Capture mode, to be used when calling pcap_setmode(). | |
#define | MODE_STAT 1 |
Statistical mode, to be used when calling pcap_setmode(). | |
Typedefs | |
typedef int | bpf_int32 |
32-bit integer | |
typedef u_int | bpf_u_int32 |
32-bit unsigned integer | |
typedef pcap | pcap_t |
Descriptor of an open capture instance. This structure is opaque to the user, that handles its content through the functions provided by wpcap.dll. | |
typedef pcap_dumper | pcap_dumper_t |
libpcap savefile descriptor. | |
typedef pcap_if | pcap_if_t |
Item in a list of interfaces, see pcap_if. | |
typedef pcap_addr | pcap_addr_t |
Representation of an interface address, see pcap_addr. |
#define MODE_CAPT 0 |
#define MODE_STAT 1 |
Statistical mode, to be used when calling pcap_setmode().
Definition at line 173 of file incs/pcap.h.
#define PCAP_ERRBUF_SIZE 256 |
Size to use when allocating the buffer that contains the libpcap errors.
Definition at line 59 of file incs/pcap.h.
#define PCAP_IF_LOOPBACK 0x00000001 |
#define PCAP_VERSION_MAJOR 2 |
#define PCAP_VERSION_MINOR 4 |
typedef int bpf_int32 |
32-bit integer
Compatibility for systems that have a bpf.h that predates the bpf typedefs for 64-bit support.
Definition at line 66 of file incs/pcap.h.
typedef u_int bpf_u_int32 |
typedef struct pcap_addr pcap_addr_t |
typedef struct pcap_dumper pcap_dumper_t |
typedef struct pcap pcap_t |
Descriptor of an open capture instance. This structure is opaque to the user, that handles its content through the functions provided by wpcap.dll.
Definition at line 70 of file incs/pcap.h.
documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005-2007 CACE Technologies. All rights reserved.