suricata
util-flow-rate.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  FlowRateConfig_
 
struct  FlowRateDirStore_
 
struct  FlowRateStore_
 

Typedefs

typedef struct FlowRateConfig_ FlowRateConfig
 
typedef struct FlowRateDirStore_ FlowRateDirStore
 
typedef struct FlowRateStore_ FlowRateStore
 

Functions

bool FlowRateStorageEnabled (void)
 
void FlowRateRegisterFlowStorage (void)
 
FlowRateStoreFlowRateStoreInit (void)
 
FlowStorageId FlowRateGetStorageID (void)
 
void FlowRateStoreUpdate (FlowRateStore *, SCTime_t, uint32_t, int)
 
bool FlowRateIsExceeding (FlowRateStore *, int)
 
void FlowRateRegisterTests (void)
 

Variables

FlowRateConfig flow_rate_config
 

Detailed Description

Author
Shivani Bhardwaj shiva.nosp@m.ni@o.nosp@m.isf.n.nosp@m.et

Definition in file util-flow-rate.h.

Typedef Documentation

◆ FlowRateConfig

◆ FlowRateDirStore

◆ FlowRateStore

typedef struct FlowRateStore_ FlowRateStore

Function Documentation

◆ FlowRateGetStorageID()

FlowStorageId FlowRateGetStorageID ( void  )

Definition at line 134 of file util-flow-rate.c.

References g_flowrate_storage_id.

◆ FlowRateIsExceeding()

bool FlowRateIsExceeding ( FlowRateStore ,
int   
)

◆ FlowRateRegisterFlowStorage()

void FlowRateRegisterFlowStorage ( void  )

Definition at line 60 of file util-flow-rate.c.

Referenced by PostConfLoadedSetup().

Here is the caller graph for this function:

◆ FlowRateRegisterTests()

void FlowRateRegisterTests ( void  )

Definition at line 619 of file util-flow-rate.c.

References UtRegisterTest().

Here is the call graph for this function:

◆ FlowRateStorageEnabled()

bool FlowRateStorageEnabled ( void  )

Definition at line 97 of file util-flow-rate.c.

References g_flowrate_storage_id, and FlowStorageId::id.

◆ FlowRateStoreInit()

◆ FlowRateStoreUpdate()

Variable Documentation

◆ flow_rate_config

FlowRateConfig flow_rate_config

Definition at line 39 of file util-flow-rate.c.

Referenced by FlowRateIsExceeding(), and FlowRateStoreInit().