suricata
|
Files | |
file | runmode-af-xdp.c |
file | source-af-xdp.c |
Macros | |
#define | SC_PCAP_DONT_INCLUDE_PCAP_H 1 |
Functions | |
TmEcode | NoAFXDPSupportExit (ThreadVars *tv, const void *initdata, void **data) |
this function prints an error message and exits. More... | |
void | TmModuleReceiveAFXDPRegister (void) |
void | TmModuleDecodeAFXDPRegister (void) |
Registration Function for DecodeAFXDP. More... | |
#define SC_PCAP_DONT_INCLUDE_PCAP_H 1 |
Definition at line 33 of file source-af-xdp.c.
TmEcode NoAFXDPSupportExit | ( | ThreadVars * | tv, |
const void * | initdata, | ||
void ** | data | ||
) |
this function prints an error message and exits.
Definition at line 105 of file source-af-xdp.c.
References ThreadVars_::name, SCLogError, and tv.
Referenced by TmModuleDecodeAFXDPRegister(), and TmModuleReceiveAFXDPRegister().
void TmModuleDecodeAFXDPRegister | ( | void | ) |
Registration Function for DecodeAFXDP.
Definition at line 91 of file source-af-xdp.c.
References TmModule_::cap_flags, TmModule_::flags, TmModule_::Func, TmModule_::name, NoAFXDPSupportExit(), TmModule_::ThreadDeinit, TmModule_::ThreadExitPrintStats, TmModule_::ThreadInit, TM_FLAG_DECODE_TM, TMM_DECODEAFXDP, and tmm_modules.
Referenced by RegisterAllModules().
void TmModuleReceiveAFXDPRegister | ( | void | ) |
Definition at line 77 of file source-af-xdp.c.
References TmModule_::cap_flags, TmModule_::flags, TmModule_::Func, TmModule_::name, NoAFXDPSupportExit(), TmModule_::ThreadDeinit, TmModule_::ThreadExitPrintStats, TmModule_::ThreadInit, TM_FLAG_RECEIVE_TM, tmm_modules, and TMM_RECEIVEAFXDP.
Referenced by RegisterAllModules().