suricata
PcapThreadVars_ Struct Reference

Structure to hold thread specific variables. More...

Collaboration diagram for PcapThreadVars_:

Data Fields

pcap_t * pcap_handle
 
unsigned char pcap_state
 
struct bpf_program filter
 
const char * bpf_filter
 
time_t last_stats_dump
 
int datalink
 
uint64_t pkts
 
uint64_t bytes
 
uint16_t capture_kernel_packets
 
uint16_t capture_kernel_drops
 
uint16_t capture_kernel_ifdrops
 
ThreadVarstv
 
TmSlotslot
 
int cb_result
 
int pcap_buffer_size
 
int pcap_snaplen
 
int promisc
 
ChecksumValidationMode checksum_mode
 
LiveDevicelivedev
 
PcapStats64 last_stats64
 

Detailed Description

Structure to hold thread specific variables.

Definition at line 72 of file source-pcap.c.

Field Documentation

◆ bpf_filter

const char* PcapThreadVars_::bpf_filter

Definition at line 81 of file source-pcap.c.

◆ bytes

uint64_t PcapThreadVars_::bytes

Definition at line 90 of file source-pcap.c.

◆ capture_kernel_drops

uint16_t PcapThreadVars_::capture_kernel_drops

Definition at line 93 of file source-pcap.c.

◆ capture_kernel_ifdrops

uint16_t PcapThreadVars_::capture_kernel_ifdrops

Definition at line 94 of file source-pcap.c.

◆ capture_kernel_packets

uint16_t PcapThreadVars_::capture_kernel_packets

Definition at line 92 of file source-pcap.c.

◆ cb_result

int PcapThreadVars_::cb_result

callback result – set if one of the thread module failed.

Definition at line 100 of file source-pcap.c.

◆ checksum_mode

ChecksumValidationMode PcapThreadVars_::checksum_mode

Definition at line 107 of file source-pcap.c.

◆ datalink

int PcapThreadVars_::datalink

Definition at line 86 of file source-pcap.c.

◆ filter

struct bpf_program PcapThreadVars_::filter

Definition at line 77 of file source-pcap.c.

◆ last_stats64

PcapStats64 PcapThreadVars_::last_stats64

Definition at line 111 of file source-pcap.c.

◆ last_stats_dump

time_t PcapThreadVars_::last_stats_dump

Definition at line 83 of file source-pcap.c.

◆ livedev

LiveDevice* PcapThreadVars_::livedev

Definition at line 109 of file source-pcap.c.

◆ pcap_buffer_size

int PcapThreadVars_::pcap_buffer_size

Definition at line 103 of file source-pcap.c.

◆ pcap_handle

pcap_t* PcapThreadVars_::pcap_handle

Definition at line 75 of file source-pcap.c.

◆ pcap_snaplen

int PcapThreadVars_::pcap_snaplen

Definition at line 104 of file source-pcap.c.

◆ pcap_state

unsigned char PcapThreadVars_::pcap_state

Definition at line 77 of file source-pcap.c.

◆ pkts

uint64_t PcapThreadVars_::pkts

Definition at line 89 of file source-pcap.c.

◆ promisc

int PcapThreadVars_::promisc

Definition at line 105 of file source-pcap.c.

◆ slot

TmSlot* PcapThreadVars_::slot

Definition at line 97 of file source-pcap.c.

◆ tv

ThreadVars* PcapThreadVars_::tv

Definition at line 96 of file source-pcap.c.


The documentation for this struct was generated from the following file: