suricata
|
#include "flow.h"
Go to the source code of this file.
Data Structures | |
struct | flows_stats |
Typedefs | |
typedef int(* | BypassedCheckFunc) (ThreadVars *th_v, struct flows_stats *bypassstats, struct timespec *curtime, void *data) |
typedef int(* | BypassedCheckFuncInit) (ThreadVars *th_v, struct timespec *curtime, void *data) |
typedef int(* | BypassedUpdateFunc) (Flow *f, Packet *p, void *data) |
Functions | |
void | BypassedFlowManagerThreadSpawn (void) |
spawn the flow bypass manager thread More... | |
void | TmModuleBypassedFlowManagerRegister (void) |
int | BypassedFlowManagerRegisterCheckFunc (BypassedCheckFunc CheckFunc, BypassedCheckFuncInit CheckFuncInit, void *data) |
int | BypassedFlowManagerRegisterUpdateFunc (BypassedUpdateFunc UpdateFunc, void *data) |
void | BypassedFlowUpdate (Flow *f, Packet *p) |
Definition in file flow-bypass.h.
typedef int(* BypassedCheckFunc) (ThreadVars *th_v, struct flows_stats *bypassstats, struct timespec *curtime, void *data) |
Definition at line 35 of file flow-bypass.h.
typedef int(* BypassedCheckFuncInit) (ThreadVars *th_v, struct timespec *curtime, void *data) |
Definition at line 38 of file flow-bypass.h.
Definition at line 40 of file flow-bypass.h.
int BypassedFlowManagerRegisterCheckFunc | ( | BypassedCheckFunc | CheckFunc, |
BypassedCheckFuncInit | CheckFuncInit, | ||
void * | data | ||
) |
int BypassedFlowManagerRegisterUpdateFunc | ( | BypassedUpdateFunc | UpdateFunc, |
void * | data | ||
) |
void BypassedFlowManagerThreadSpawn | ( | void | ) |
spawn the flow bypass manager thread
Definition at line 187 of file flow-bypass.c.
References BUG_ON, thread_name_flow_bypass, TM_ECODE_OK, TmThreadCreateMgmtThreadByName(), and TmThreadSpawn().
Definition at line 207 of file flow-bypass.c.
Referenced by FlowHandlePacketUpdate().
void TmModuleBypassedFlowManagerRegister | ( | void | ) |
Definition at line 218 of file flow-bypass.c.
References TmModule_::cap_flags, TmModule_::flags, TmModule_::Management, TmModule_::name, SCLogDebug, TmModule_::ThreadDeinit, TmModule_::ThreadInit, TM_FLAG_MANAGEMENT_TM, TMM_BYPASSEDFLOWMANAGER, and tmm_modules.
Referenced by RegisterAllModules().