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) (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 FlowAddToBypassed (Flow *f)
 
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)
 

Detailed Description

Typedef Documentation

typedef int(* BypassedCheckFunc) (ThreadVars *th_v, struct flows_stats *bypassstats, struct timespec *curtime, void *data)

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

typedef int(* BypassedCheckFuncInit) (ThreadVars *th_v, struct timespec *curtime, void *data)

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

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

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

Function Documentation

int BypassedFlowManagerRegisterCheckFunc ( BypassedCheckFunc  CheckFunc,
BypassedCheckFuncInit  CheckFuncInit,
void *  data 
)

Referenced by RunModeIdsAFPRegister().

Here is the caller graph for this function:

int BypassedFlowManagerRegisterUpdateFunc ( BypassedUpdateFunc  UpdateFunc,
void *  data 
)

Referenced by RunModeIdsAFPRegister().

Here is the caller graph for this function:

void BypassedFlowManagerThreadSpawn ( void  )

spawn the flow bypass manager thread

Definition at line 183 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 
)

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

Referenced by FlowHandlePacketUpdate().

Here is the caller graph for this function:

void FlowAddToBypassed ( Flow f)
void TmModuleBypassedFlowManagerRegister ( void  )