suricata
|
Go to the source code of this file.
Macros | |
#define | FlowWakeupFlowManagerThread() SCCtrlCondSignal(&flow_manager_ctrl_cond) |
#define | FlowWakeupFlowRecyclerThread() SCCtrlCondSignal(&flow_recycler_ctrl_cond) |
#define | FlowTimeoutsReset() FlowTimeoutsInit() |
Functions | |
void | FlowTimeoutsInit (void) |
void | FlowTimeoutsEmergency (void) |
void | FlowManagerThreadSpawn (void) |
spawn the flow manager thread More... | |
void | FlowDisableFlowManagerThread (void) |
Used to disable flow manager thread(s). More... | |
void | FlowRecyclerThreadSpawn (void) |
spawn the flow recycler thread More... | |
void | FlowDisableFlowRecyclerThread (void) |
Used to disable flow recycler thread(s). More... | |
void | TmModuleFlowManagerRegister (void) |
void | TmModuleFlowRecyclerRegister (void) |
Variables | |
SCCtrlCondT | flow_manager_ctrl_cond |
SCCtrlMutex | flow_manager_ctrl_mutex |
SCCtrlCondT | flow_recycler_ctrl_cond |
SCCtrlMutex | flow_recycler_ctrl_mutex |
Definition in file flow-manager.h.
#define FlowTimeoutsReset | ( | ) | FlowTimeoutsInit() |
Definition at line 36 of file flow-manager.h.
#define FlowWakeupFlowManagerThread | ( | ) | SCCtrlCondSignal(&flow_manager_ctrl_cond) |
Definition at line 31 of file flow-manager.h.
#define FlowWakeupFlowRecyclerThread | ( | ) | SCCtrlCondSignal(&flow_recycler_ctrl_cond) |
Definition at line 34 of file flow-manager.h.
void FlowDisableFlowManagerThread | ( | void | ) |
Used to disable flow manager thread(s).
Definition at line 134 of file flow-manager.c.
References FatalError, ThreadVars_::name, ThreadVars_::next, SC_ATOMIC_SET, SCMutexLock, SCMutexUnlock, SleepMsec, thread_name_flow_mgr, THV_KILL, THV_RUNNING_DONE, TmThreadsCheckFlag(), TmThreadsSetFlag(), tv, tv_root, tv_root_lock, and TVT_MGMT.
Referenced by PostRunDeinit().
void FlowDisableFlowRecyclerThread | ( | void | ) |
Used to disable flow recycler thread(s).
Definition at line 1181 of file flow-manager.c.
void FlowManagerThreadSpawn | ( | void | ) |
spawn the flow manager thread
Definition at line 935 of file flow-manager.c.
References ConfGetInt(), and FatalError.
void FlowRecyclerThreadSpawn | ( | void | ) |
spawn the flow recycler thread
Definition at line 1141 of file flow-manager.c.
References ConfGetInt(), and FatalError.
void FlowTimeoutsEmergency | ( | void | ) |
Definition at line 97 of file flow-manager.c.
References flow_timeouts_emerg, and SC_ATOMIC_SET.
void FlowTimeoutsInit | ( | void | ) |
Definition at line 92 of file flow-manager.c.
References flow_timeouts_normal, and SC_ATOMIC_SET.
Referenced by FlowInitFlowProto().
void TmModuleFlowManagerRegister | ( | void | ) |
Definition at line 1240 of file flow-manager.c.
References TmModule_::name, TmModule_::ThreadInit, TMM_FLOWMANAGER, and tmm_modules.
Referenced by RegisterAllModules().
void TmModuleFlowRecyclerRegister | ( | void | ) |
Definition at line 1254 of file flow-manager.c.
References TmModule_::name, TmModule_::ThreadInit, TMM_FLOWRECYCLER, and tmm_modules.
Referenced by RegisterAllModules().
SCCtrlCondT flow_manager_ctrl_cond |
flow manager scheduling condition
Definition at line 87 of file flow-manager.c.
SCCtrlMutex flow_manager_ctrl_mutex |
Definition at line 88 of file flow-manager.c.
SCCtrlCondT flow_recycler_ctrl_cond |
Definition at line 89 of file flow-manager.c.
SCCtrlMutex flow_recycler_ctrl_mutex |
Definition at line 90 of file flow-manager.c.