suricata
|
#include <tm-modules.h>
Data Fields | |
const char * | name |
TmEcode(* | ThreadInit )(ThreadVars *, const void *, void **) |
void(* | ThreadExitPrintStats )(ThreadVars *, void *) |
TmEcode(* | ThreadDeinit )(ThreadVars *, void *) |
TmEcode(* | Func )(ThreadVars *, Packet *, void *) |
TmEcode(* | PktAcqLoop )(ThreadVars *, void *, void *) |
TmEcode(* | PktAcqBreakLoop )(ThreadVars *, void *) |
bool(* | ThreadBusy )(ThreadVars *tv, void *thread_data) |
TmEcode(* | Management )(ThreadVars *, void *) |
TmEcode(* | Init )(void) |
TmEcode(* | DeInit )(void) |
void(* | RegisterTests )(void) |
uint8_t | cap_flags |
uint8_t | flags |
Definition at line 43 of file tm-modules.h.
uint8_t TmModule_::cap_flags |
Flags to indicate the capability requirement of the given TmModule
Definition at line 73 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleUnixManagerRegister(), and TmSlotSetFuncAppend().
TmEcode(* TmModule_::DeInit) (void) |
Definition at line 69 of file tm-modules.h.
Referenced by TmModuleRunDeInit().
uint8_t TmModule_::flags |
Definition at line 76 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleDecodeWinDivertRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleReceiveWinDivertRegister(), TmModuleUnixManagerRegister(), TmSlotSetFuncAppend(), and TmThreadDisableReceiveThreads().
TmEcode(* TmModule_::Func) (ThreadVars *, Packet *, void *) |
the packet processing function
Definition at line 52 of file tm-modules.h.
Referenced by TmModuleDebugList(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleRespondRejectRegister(), and TmSlotSetFuncAppend().
TmEcode(* TmModule_::Init) (void) |
TmEcode(* TmModule_::Management) (ThreadVars *, void *) |
Definition at line 65 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleUnixManagerRegister(), and TmSlotSetFuncAppend().
const char* TmModule_::name |
Definition at line 44 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleDebugList(), TmModuleDecodeAFPRegister(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeCiCaptureRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleDecodeErfFileRegister(), TmModuleDecodeIPFWRegister(), TmModuleDecodeNetmapRegister(), TmModuleDecodeNFLOGRegister(), TmModuleDecodeNFQRegister(), TmModuleDecodePcapFileRegister(), TmModuleDecodePcapRegister(), TmModuleDecodeWinDivertRegister(), TmModuleDetectLoaderRegister(), TmModuleFlowManagerRegister(), TmModuleFlowRecyclerRegister(), TmModuleFlowWorkerRegister(), TmModuleGetByName(), TmModuleGetIDForTM(), TmModuleReceiveAFPRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveCiCaptureRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleReceiveNetmapRegister(), TmModuleReceiveNFLOGRegister(), TmModuleReceivePcapFileRegister(), TmModuleReceivePcapRegister(), TmModuleReceiveWinDivertRegister(), TmModuleRegisterTests(), TmModuleRespondRejectRegister(), TmModuleRunDeInit(), TmModuleRunInit(), TmModuleStatsLoggerRegister(), TmModuleUnixManagerRegister(), TmModuleVerdictIPFWRegister(), TmModuleVerdictNFQRegister(), and TmModuleVerdictWinDivertRegister().
TmEcode(* TmModule_::PktAcqBreakLoop) (ThreadVars *, void *) |
terminates the capture loop in PktAcqLoop
Definition at line 57 of file tm-modules.h.
Referenced by TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), and TmSlotSetFuncAppend().
TmEcode(* TmModule_::PktAcqLoop) (ThreadVars *, void *, void *) |
Definition at line 54 of file tm-modules.h.
Referenced by TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), and TmSlotSetFuncAppend().
void(* TmModule_::RegisterTests) (void) |
Definition at line 71 of file tm-modules.h.
Referenced by TmModuleRegisterTests().
bool(* TmModule_::ThreadBusy) (ThreadVars *tv, void *thread_data) |
does a thread still have tasks to complete before it can be killed?
bool |
tv | threadvars |
thread_data | thread module thread data (e.g. FlowWorkerThreadData for FlowWorker) |
Definition at line 63 of file tm-modules.h.
TmEcode(* TmModule_::ThreadDeinit) (ThreadVars *, void *) |
Definition at line 49 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleUnixManagerRegister(), and TmSlotSetFuncAppend().
void(* TmModule_::ThreadExitPrintStats) (ThreadVars *, void *) |
Definition at line 48 of file tm-modules.h.
Referenced by TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), and TmSlotSetFuncAppend().
TmEcode(* TmModule_::ThreadInit) (ThreadVars *, const void *, void **) |
thread handling
Definition at line 47 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleDecodeAFPRegister(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeCiCaptureRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleDecodeErfFileRegister(), TmModuleDecodeIPFWRegister(), TmModuleDecodeNetmapRegister(), TmModuleDecodeNFLOGRegister(), TmModuleDecodeNFQRegister(), TmModuleDecodePcapFileRegister(), TmModuleDecodePcapRegister(), TmModuleDecodeWinDivertRegister(), TmModuleDetectLoaderRegister(), TmModuleFlowManagerRegister(), TmModuleFlowRecyclerRegister(), TmModuleFlowWorkerRegister(), TmModuleReceiveAFPRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveCiCaptureRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleReceiveNetmapRegister(), TmModuleReceiveNFLOGRegister(), TmModuleReceivePcapFileRegister(), TmModuleReceivePcapRegister(), TmModuleReceiveWinDivertRegister(), TmModuleRespondRejectRegister(), TmModuleStatsLoggerRegister(), TmModuleUnixManagerRegister(), TmModuleVerdictIPFWRegister(), TmModuleVerdictNFQRegister(), TmModuleVerdictWinDivertRegister(), and TmSlotSetFuncAppend().