suricata
flow-spare-pool.h File Reference
#include "suricata-common.h"
#include "flow.h"
Include dependency graph for flow-spare-pool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void FlowSparePoolInit (void)
 
void FlowSparePoolDestroy (void)
 
void FlowSparePoolUpdate (uint32_t size)
 
uint32_t FlowSpareGetPoolSize (void)
 
FlowQueuePrivate FlowSpareGetFromPool (void)
 
void FlowSparePoolReturnFlow (Flow *f)
 
void FlowSparePoolReturnFlows (FlowQueuePrivate *fqp)
 

Detailed Description

Function Documentation

◆ FlowSpareGetFromPool()

FlowQueuePrivate FlowSpareGetFromPool ( void  )

Definition at line 128 of file flow-spare-pool.c.

References SCMutexLock.

◆ FlowSpareGetPoolSize()

uint32_t FlowSpareGetPoolSize ( void  )

Definition at line 48 of file flow-spare-pool.c.

References SCMutexLock.

◆ FlowSparePoolDestroy()

void FlowSparePoolDestroy ( void  )

Definition at line 264 of file flow-spare-pool.c.

References SCMutexLock.

Referenced by FlowShutdown().

Here is the caller graph for this function:

◆ FlowSparePoolInit()

void FlowSparePoolInit ( void  )

Definition at line 245 of file flow-spare-pool.c.

References SCMutexLock.

Referenced by FlowInitConfig().

Here is the caller graph for this function:

◆ FlowSparePoolReturnFlow()

void FlowSparePoolReturnFlow ( Flow f)

Definition at line 101 of file flow-spare-pool.c.

References SCMutexLock.

◆ FlowSparePoolReturnFlows()

void FlowSparePoolReturnFlows ( FlowQueuePrivate fqp)

Definition at line 123 of file flow-spare-pool.c.

◆ FlowSparePoolUpdate()

void FlowSparePoolUpdate ( uint32_t  size)

Definition at line 172 of file flow-spare-pool.c.

References flow_config, and FlowCnf_::prealloc.