suricata
AFPThreadVars_ Struct Reference

Structure to hold thread specific variables. More...

Collaboration diagram for AFPThreadVars_:

Data Structures

union  AFPRing
 
union  AFPTpacketReq
 

Data Fields

union AFPThreadVars_::AFPRing ring
 
uint64_t pkts
 
ThreadVarstv
 
TmSlotslot
 
LiveDevicelivedev
 
uint32_t datalink
 
unsigned int frame_offset
 
ChecksumValidationMode checksum_mode
 
uint16_t capture_kernel_packets
 
uint16_t capture_kernel_drops
 
uint16_t capture_errors
 
uint16_t afpacket_spin
 
uint16_t capture_afp_poll
 
uint16_t capture_afp_poll_signal
 
uint16_t capture_afp_poll_timeout
 
uint16_t capture_afp_poll_data
 
uint16_t capture_afp_poll_err
 
uint16_t capture_afp_send_err
 
uint64_t send_errors_logged
 
uint8_t afp_state
 
uint8_t copy_mode
 
unsigned int flags
 
AFPPeermpeer
 
int socket
 
int ring_size
 
int block_size
 
int block_timeout
 
int buffer_size
 
const char * bpf_filter
 
int promisc
 
uint32_t pkttype_filter_mask
 
int down_count
 
uint16_t cluster_id
 
int cluster_type
 
int threads
 
union AFPThreadVars_::AFPTpacketReq req
 
char iface [AFP_IFACE_NAME_LENGTH]
 
char out_iface [AFP_IFACE_NAME_LENGTH]
 
unsigned int ring_buflen
 
uint8_t * ring_buf
 

Detailed Description

Structure to hold thread specific variables.

Definition at line 263 of file source-af-packet.c.

Field Documentation

◆ afp_state

uint8_t AFPThreadVars_::afp_state

Definition at line 305 of file source-af-packet.c.

◆ afpacket_spin

uint16_t AFPThreadVars_::afpacket_spin

Definition at line 294 of file source-af-packet.c.

◆ block_size

int AFPThreadVars_::block_size

Definition at line 320 of file source-af-packet.c.

◆ block_timeout

int AFPThreadVars_::block_timeout

Definition at line 321 of file source-af-packet.c.

◆ bpf_filter

const char* AFPThreadVars_::bpf_filter

Definition at line 325 of file source-af-packet.c.

◆ buffer_size

int AFPThreadVars_::buffer_size

Definition at line 323 of file source-af-packet.c.

◆ capture_afp_poll

uint16_t AFPThreadVars_::capture_afp_poll

Definition at line 295 of file source-af-packet.c.

◆ capture_afp_poll_data

uint16_t AFPThreadVars_::capture_afp_poll_data

Definition at line 298 of file source-af-packet.c.

◆ capture_afp_poll_err

uint16_t AFPThreadVars_::capture_afp_poll_err

Definition at line 299 of file source-af-packet.c.

◆ capture_afp_poll_signal

uint16_t AFPThreadVars_::capture_afp_poll_signal

Definition at line 296 of file source-af-packet.c.

◆ capture_afp_poll_timeout

uint16_t AFPThreadVars_::capture_afp_poll_timeout

Definition at line 297 of file source-af-packet.c.

◆ capture_afp_send_err

uint16_t AFPThreadVars_::capture_afp_send_err

Definition at line 300 of file source-af-packet.c.

◆ capture_errors

uint16_t AFPThreadVars_::capture_errors

Definition at line 293 of file source-af-packet.c.

◆ capture_kernel_drops

uint16_t AFPThreadVars_::capture_kernel_drops

Definition at line 292 of file source-af-packet.c.

◆ capture_kernel_packets

uint16_t AFPThreadVars_::capture_kernel_packets

Definition at line 291 of file source-af-packet.c.

◆ checksum_mode

ChecksumValidationMode AFPThreadVars_::checksum_mode

Definition at line 288 of file source-af-packet.c.

◆ cluster_id

uint16_t AFPThreadVars_::cluster_id

Definition at line 334 of file source-af-packet.c.

◆ cluster_type

int AFPThreadVars_::cluster_type

Definition at line 335 of file source-af-packet.c.

◆ copy_mode

uint8_t AFPThreadVars_::copy_mode

Definition at line 306 of file source-af-packet.c.

◆ datalink

uint32_t AFPThreadVars_::datalink

Definition at line 277 of file source-af-packet.c.

◆ down_count

int AFPThreadVars_::down_count

Definition at line 332 of file source-af-packet.c.

◆ flags

unsigned int AFPThreadVars_::flags

Definition at line 307 of file source-af-packet.c.

◆ frame_offset

unsigned int AFPThreadVars_::frame_offset

Definition at line 286 of file source-af-packet.c.

◆ iface

char AFPThreadVars_::iface[AFP_IFACE_NAME_LENGTH]

Definition at line 346 of file source-af-packet.c.

◆ livedev

LiveDevice* AFPThreadVars_::livedev

Definition at line 275 of file source-af-packet.c.

◆ mpeer

AFPPeer* AFPThreadVars_::mpeer

Definition at line 310 of file source-af-packet.c.

◆ out_iface

char AFPThreadVars_::out_iface[AFP_IFACE_NAME_LENGTH]

Definition at line 348 of file source-af-packet.c.

◆ pkts

uint64_t AFPThreadVars_::pkts

Definition at line 271 of file source-af-packet.c.

◆ pkttype_filter_mask

uint32_t AFPThreadVars_::pkttype_filter_mask

Definition at line 330 of file source-af-packet.c.

◆ promisc

int AFPThreadVars_::promisc

Definition at line 327 of file source-af-packet.c.

◆ req

union AFPThreadVars_::AFPTpacketReq AFPThreadVars_::req

◆ ring

union AFPThreadVars_::AFPRing AFPThreadVars_::ring

◆ ring_buf

uint8_t* AFPThreadVars_::ring_buf

Definition at line 352 of file source-af-packet.c.

◆ ring_buflen

unsigned int AFPThreadVars_::ring_buflen

Definition at line 351 of file source-af-packet.c.

◆ ring_size

int AFPThreadVars_::ring_size

Definition at line 319 of file source-af-packet.c.

◆ send_errors_logged

uint64_t AFPThreadVars_::send_errors_logged

snapshot of send errors logged.

Definition at line 302 of file source-af-packet.c.

◆ slot

TmSlot* AFPThreadVars_::slot

Definition at line 274 of file source-af-packet.c.

◆ socket

int AFPThreadVars_::socket

Definition at line 317 of file source-af-packet.c.

◆ threads

int AFPThreadVars_::threads

Definition at line 337 of file source-af-packet.c.

◆ tv

ThreadVars* AFPThreadVars_::tv

Definition at line 273 of file source-af-packet.c.


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