suricata
flow-bypass.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  flows_stats
 

Typedefs

typedef int(* BypassedCheckFunc) (struct flows_stats *bypassstats, struct timespec *curtime)
 
typedef int(* BypassedUpdateFunc) (Flow *f, Packet *p)
 

Functions

void FlowAddToBypassed (Flow *f)
 
void BypassedFlowManagerThreadSpawn (void)
 spawn the flow manager thread More...
 
void TmModuleBypassedFlowManagerRegister (void)
 
int BypassedFlowManagerRegisterCheckFunc (BypassedCheckFunc CheckFunc)
 
int BypassedFlowManagerRegisterUpdateFunc (BypassedUpdateFunc UpdateFunc)
 
void BypassedFlowUpdate (Flow *f, Packet *p)
 

Detailed Description

Typedef Documentation

typedef int(* BypassedCheckFunc) (struct flows_stats *bypassstats, struct timespec *curtime)

Definition at line 33 of file flow-bypass.h.

typedef int(* BypassedUpdateFunc) (Flow *f, Packet *p)

Definition at line 35 of file flow-bypass.h.

Function Documentation

int BypassedFlowManagerRegisterCheckFunc ( BypassedCheckFunc  CheckFunc)

Definition at line 143 of file flow-bypass.c.

References BypassedFuncList, BYPASSFUNCMAX, and g_bypassed_func_max_index.

Referenced by RunModeIdsAFPRegister().

Here is the caller graph for this function:

int BypassedFlowManagerRegisterUpdateFunc ( BypassedUpdateFunc  UpdateFunc)

Definition at line 157 of file flow-bypass.c.

References BYPASSFUNCMAX, g_bypassed_update_max_index, and UpdateFuncList.

Referenced by RunModeIdsAFPRegister().

Here is the caller graph for this function:

void BypassedFlowManagerThreadSpawn ( void  )

spawn the flow manager thread

Definition at line 122 of file flow-bypass.c.

References BUG_ON, thread_name_flow_bypass, TM_ECODE_OK, TmThreadCreateMgmtThreadByName(), and TmThreadSpawn().

Referenced by RunModeDispatch().

Here is the call graph for this function:

Here is the caller graph for this function:

void BypassedFlowUpdate ( Flow f,
Packet p 
)
void FlowAddToBypassed ( Flow f)
void TmModuleBypassedFlowManagerRegister ( void  )