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
 
uint8_t afp_state
 
uint8_t copy_mode
 
unsigned int flags
 
AFPPeermpeer
 
uint8_t * data
 
int datalen
 
int cooked
 
int socket
 
int ring_size
 
int block_size
 
int block_timeout
 
int buffer_size
 
const char * bpf_filter
 
int ebpf_lb_fd
 
int ebpf_filter_fd
 
int promisc
 
int down_count
 
int 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
 
uint8_t xdp_mode
 

Detailed Description

Structure to hold thread specific variables.

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

Field Documentation

◆ afp_state

uint8_t AFPThreadVars_::afp_state

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

◆ block_size

int AFPThreadVars_::block_size

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

◆ block_timeout

int AFPThreadVars_::block_timeout

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

◆ bpf_filter

const char* AFPThreadVars_::bpf_filter

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

◆ buffer_size

int AFPThreadVars_::buffer_size

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

◆ capture_errors

uint16_t AFPThreadVars_::capture_errors

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

◆ capture_kernel_drops

uint16_t AFPThreadVars_::capture_kernel_drops

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

◆ capture_kernel_packets

uint16_t AFPThreadVars_::capture_kernel_packets

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

◆ checksum_mode

ChecksumValidationMode AFPThreadVars_::checksum_mode

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

◆ cluster_id

int AFPThreadVars_::cluster_id

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

◆ cluster_type

int AFPThreadVars_::cluster_type

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

◆ cooked

int AFPThreadVars_::cooked

Length of per function and thread data

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

◆ copy_mode

uint8_t AFPThreadVars_::copy_mode

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

◆ data

uint8_t* AFPThreadVars_::data

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

◆ datalen

int AFPThreadVars_::datalen

Per function and thread data

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

◆ datalink

uint32_t AFPThreadVars_::datalink

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

◆ down_count

int AFPThreadVars_::down_count

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

◆ ebpf_filter_fd

int AFPThreadVars_::ebpf_filter_fd

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

◆ ebpf_lb_fd

int AFPThreadVars_::ebpf_lb_fd

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

◆ flags

unsigned int AFPThreadVars_::flags

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

◆ frame_offset

unsigned int AFPThreadVars_::frame_offset

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

◆ iface

char AFPThreadVars_::iface[AFP_IFACE_NAME_LENGTH]

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

◆ livedev

LiveDevice* AFPThreadVars_::livedev

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

◆ mpeer

AFPPeer* AFPThreadVars_::mpeer

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

◆ out_iface

char AFPThreadVars_::out_iface[AFP_IFACE_NAME_LENGTH]

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

◆ pkts

uint64_t AFPThreadVars_::pkts

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

◆ promisc

int AFPThreadVars_::promisc

Definition at line 271 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 293 of file source-af-packet.c.

◆ ring_buflen

unsigned int AFPThreadVars_::ring_buflen

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

◆ ring_size

int AFPThreadVars_::ring_size

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

◆ slot

TmSlot* AFPThreadVars_::slot

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

◆ socket

int AFPThreadVars_::socket

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

◆ threads

int AFPThreadVars_::threads

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

◆ tv

ThreadVars* AFPThreadVars_::tv

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

◆ xdp_mode

uint8_t AFPThreadVars_::xdp_mode

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


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