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
 
int cluster_id
 
int cluster_type
 
int promisc
 
unsigned int flags
 
int 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 81 of file source-af-packet.h.

Member Function Documentation

AFPIfaceConfig_::SC_ATOMIC_DECLARE ( unsigned  int,
ref   
)

Field Documentation

int AFPIfaceConfig_::block_size

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::block_timeout

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

const char* AFPIfaceConfig_::bpf_filter

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::buffer_size

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

ChecksumValidationMode AFPIfaceConfig_::checksum_mode

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::cluster_id

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::cluster_type

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::copy_mode

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

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

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::ebpf_filter_fd

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

const char* AFPIfaceConfig_::ebpf_filter_file

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

Referenced by RunModeIdsAFPRegister().

int AFPIfaceConfig_::ebpf_lb_fd

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

const char* AFPIfaceConfig_::ebpf_lb_file

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

Referenced by RunModeIdsAFPRegister().

unsigned int AFPIfaceConfig_::flags

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

char AFPIfaceConfig_::iface[AFP_IFACE_NAME_LENGTH]

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

const char* AFPIfaceConfig_::out_iface

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::promisc

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::ring_size

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::threads

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().

int AFPIfaceConfig_::xdp_filter_fd

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

Referenced by RunModeIdsAFPRegister().

const char* AFPIfaceConfig_::xdp_filter_file

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

Referenced by RunModeIdsAFPRegister().

uint8_t AFPIfaceConfig_::xdp_mode

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

Referenced by ReceiveAFPThreadInit(), and RunModeIdsAFPRegister().


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