suricata
AFPIfaceConfig_ Struct Reference

#include <source-af-packet.h>

Public Member Functions

 SC_ATOMIC_DECLARE (unsigned int, ref)
 

Data Fields

char iface [AFP_IFACE_NAME_LENGTH]
 
int threads
 
int buffer_size
 
int ring_size
 
int block_size
 
int block_timeout
 
uint16_t cluster_id
 
int cluster_type
 
int promisc
 
unsigned int flags
 
uint8_t copy_mode
 
ChecksumValidationMode checksum_mode
 
const char * bpf_filter
 
const char * ebpf_lb_file
 
int ebpf_lb_fd
 
const char * ebpf_filter_file
 
int ebpf_filter_fd
 
const char * xdp_filter_file
 
int xdp_filter_fd
 
uint8_t xdp_mode
 
const char * out_iface
 
void(* DerefFunc )(void *)
 

Detailed Description

Definition at line 80 of file source-af-packet.h.

Member Function Documentation

◆ SC_ATOMIC_DECLARE()

AFPIfaceConfig_::SC_ATOMIC_DECLARE ( unsigned int  ,
ref   
)

Field Documentation

◆ block_size

int AFPIfaceConfig_::block_size

Definition at line 90 of file source-af-packet.h.

◆ block_timeout

int AFPIfaceConfig_::block_timeout

Definition at line 92 of file source-af-packet.h.

◆ bpf_filter

const char* AFPIfaceConfig_::bpf_filter

Definition at line 102 of file source-af-packet.h.

◆ buffer_size

int AFPIfaceConfig_::buffer_size

Definition at line 86 of file source-af-packet.h.

◆ checksum_mode

ChecksumValidationMode AFPIfaceConfig_::checksum_mode

Definition at line 101 of file source-af-packet.h.

◆ cluster_id

uint16_t AFPIfaceConfig_::cluster_id

Definition at line 94 of file source-af-packet.h.

◆ cluster_type

int AFPIfaceConfig_::cluster_type

Definition at line 95 of file source-af-packet.h.

◆ copy_mode

uint8_t AFPIfaceConfig_::copy_mode

Definition at line 100 of file source-af-packet.h.

◆ DerefFunc

void(* AFPIfaceConfig_::DerefFunc) (void *)

Definition at line 115 of file source-af-packet.h.

◆ ebpf_filter_fd

int AFPIfaceConfig_::ebpf_filter_fd

Definition at line 106 of file source-af-packet.h.

◆ ebpf_filter_file

const char* AFPIfaceConfig_::ebpf_filter_file

Definition at line 105 of file source-af-packet.h.

◆ ebpf_lb_fd

int AFPIfaceConfig_::ebpf_lb_fd

Definition at line 104 of file source-af-packet.h.

◆ ebpf_lb_file

const char* AFPIfaceConfig_::ebpf_lb_file

Definition at line 103 of file source-af-packet.h.

◆ flags

unsigned int AFPIfaceConfig_::flags

Definition at line 99 of file source-af-packet.h.

◆ iface

char AFPIfaceConfig_::iface[AFP_IFACE_NAME_LENGTH]

Definition at line 82 of file source-af-packet.h.

◆ out_iface

const char* AFPIfaceConfig_::out_iface

Definition at line 110 of file source-af-packet.h.

◆ promisc

int AFPIfaceConfig_::promisc

Definition at line 97 of file source-af-packet.h.

◆ ring_size

int AFPIfaceConfig_::ring_size

Definition at line 88 of file source-af-packet.h.

◆ threads

int AFPIfaceConfig_::threads

Definition at line 84 of file source-af-packet.h.

◆ xdp_filter_fd

int AFPIfaceConfig_::xdp_filter_fd

Definition at line 108 of file source-af-packet.h.

◆ xdp_filter_file

const char* AFPIfaceConfig_::xdp_filter_file

Definition at line 107 of file source-af-packet.h.

◆ xdp_mode

uint8_t AFPIfaceConfig_::xdp_mode

Definition at line 109 of file source-af-packet.h.


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