|
suricata
|
#include "suricata-common.h"#include "threads.h"#include "flow-private.h"#include "flow-queue.h"#include "flow-util.h"#include "flow-spare-pool.h"#include "util-error.h"#include "util-debug.h"#include "util-print.h"#include "util-validate.h"
Go to the source code of this file.
Data Structures | |
| struct | FlowSparePool |
Typedefs | |
| typedef struct FlowSparePool | FlowSparePool |
Functions | |
| uint32_t | FlowSpareGetPoolSize (void) |
| void | FlowSparePoolReturnFlow (Flow *f) |
| void | FlowSparePoolReturnFlows (FlowQueuePrivate *fqp) |
| FlowQueuePrivate | FlowSpareGetFromPool (void) |
| void | FlowSparePoolUpdate (uint32_t size) |
| void | FlowSparePoolInit (void) |
| void | FlowSparePoolDestroy (void) |
Flow queue handler functions
Definition in file flow-spare-pool.c.
| typedef struct FlowSparePool FlowSparePool |
| FlowQueuePrivate FlowSpareGetFromPool | ( | void | ) |
Definition at line 173 of file flow-spare-pool.c.
References SCMutexLock.
| uint32_t FlowSpareGetPoolSize | ( | void | ) |
Definition at line 46 of file flow-spare-pool.c.
References SCMutexLock.
| void FlowSparePoolDestroy | ( | void | ) |
Definition at line 310 of file flow-spare-pool.c.
References SCMutexLock.
Referenced by FlowShutdown().

| void FlowSparePoolInit | ( | void | ) |
Definition at line 291 of file flow-spare-pool.c.
References SCMutexLock.
Referenced by FlowInitConfig().

| void FlowSparePoolReturnFlow | ( | Flow * | f | ) |
Definition at line 98 of file flow-spare-pool.c.
References SCMutexLock.
| void FlowSparePoolReturnFlows | ( | FlowQueuePrivate * | fqp | ) |
Definition at line 120 of file flow-spare-pool.c.
| void FlowSparePoolUpdate | ( | uint32_t | size | ) |
Definition at line 217 of file flow-spare-pool.c.
References flow_config, FLOW_SPARE_POOL_BLOCK_SIZE, FlowCnf_::prealloc, and SCMutexLock.