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 44 of file tm-modules.h.
uint8_t TmModule_::cap_flags |
Flags to indicate the capability requirement of the given TmModule
Definition at line 74 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleNapatechDecodeRegister(), TmModuleNapatechStreamRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleUnixManagerRegister(), and TmSlotSetFuncAppend().
TmEcode(* TmModule_::DeInit) (void) |
Definition at line 70 of file tm-modules.h.
Referenced by TmModuleRunDeInit().
uint8_t TmModule_::flags |
Definition at line 77 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleDecodeWinDivertRegister(), TmModuleNapatechDecodeRegister(), TmModuleNapatechStreamRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleReceiveWinDivertRegister(), TmModuleUnixManagerRegister(), TmSlotSetFuncAppend(), and TmThreadDisableReceiveThreads().
TmEcode(* TmModule_::Func) (ThreadVars *, Packet *, void *) |
the packet processing function
Definition at line 53 of file tm-modules.h.
Referenced by TmModuleDebugList(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleNapatechDecodeRegister(), TmModuleNapatechStreamRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleRespondRejectRegister(), and TmSlotSetFuncAppend().
TmEcode(* TmModule_::Init) (void) |
global Init/DeInit
Definition at line 69 of file tm-modules.h.
Referenced by TmModuleNapatechStreamRegister(), and TmModuleRunInit().
TmEcode(* TmModule_::Management) (ThreadVars *, void *) |
Definition at line 66 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleUnixManagerRegister(), and TmSlotSetFuncAppend().
const char* TmModule_::name |
Definition at line 45 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(), TmModuleNapatechDecodeRegister(), TmModuleNapatechStreamRegister(), 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 58 of file tm-modules.h.
Referenced by TmModuleNapatechStreamRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), and TmSlotSetFuncAppend().
TmEcode(* TmModule_::PktAcqLoop) (ThreadVars *, void *, void *) |
Definition at line 55 of file tm-modules.h.
Referenced by TmModuleNapatechStreamRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), and TmSlotSetFuncAppend().
void(* TmModule_::RegisterTests) (void) |
Definition at line 72 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 64 of file tm-modules.h.
TmEcode(* TmModule_::ThreadDeinit) (ThreadVars *, void *) |
Definition at line 50 of file tm-modules.h.
Referenced by TmModuleBypassedFlowManagerRegister(), TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleNapatechDecodeRegister(), TmModuleNapatechStreamRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleUnixManagerRegister(), and TmSlotSetFuncAppend().
void(* TmModule_::ThreadExitPrintStats) (ThreadVars *, void *) |
Definition at line 49 of file tm-modules.h.
Referenced by TmModuleDecodeAFXDPRegister(), TmModuleDecodeDPDKRegister(), TmModuleDecodeErfDagRegister(), TmModuleNapatechDecodeRegister(), TmModuleNapatechStreamRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), and TmSlotSetFuncAppend().
TmEcode(* TmModule_::ThreadInit) (ThreadVars *, const void *, void **) |
thread handling
Definition at line 48 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(), TmModuleNapatechDecodeRegister(), TmModuleNapatechStreamRegister(), TmModuleReceiveAFPRegister(), TmModuleReceiveAFXDPRegister(), TmModuleReceiveCiCaptureRegister(), TmModuleReceiveDPDKRegister(), TmModuleReceiveErfDagRegister(), TmModuleReceiveErfFileRegister(), TmModuleReceiveNetmapRegister(), TmModuleReceiveNFLOGRegister(), TmModuleReceivePcapFileRegister(), TmModuleReceivePcapRegister(), TmModuleReceiveWinDivertRegister(), TmModuleRespondRejectRegister(), TmModuleStatsLoggerRegister(), TmModuleUnixManagerRegister(), TmModuleVerdictIPFWRegister(), TmModuleVerdictNFQRegister(), TmModuleVerdictWinDivertRegister(), and TmSlotSetFuncAppend().