tracedump
single application IP packet sniffer
Data Fields

pcap Struct Reference

Represents internal data. More...

#include <pcap.h>

Data Fields

int fd
 sniffing socket
pthread_t reader
 reader thread
FILE * fp
 PCAP file.

Detailed Description

Represents internal data.

Definition at line 13 of file pcap.h.


Field Documentation

int pcap::fd

sniffing socket

Definition at line 14 of file pcap.h.

Referenced by pcap_deinit(), pcap_init(), pcap_update(), and sniffer_thread().

FILE* pcap::fp

PCAP file.

Definition at line 16 of file pcap.h.

Referenced by pcap_deinit(), pcap_init(), and sniffer_thread().

pthread_t pcap::reader

reader thread

Definition at line 15 of file pcap.h.

Referenced by pcap_deinit(), and pcap_init().


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Enumerations Enumerator Defines