|
suricata
|
#include "suricata-common.h"#include "suricata.h"#include "stream-tcp-private.h"#include "stream-tcp-cache.h"#include "util-debug.h"
Go to the source code of this file.
Data Structures | |
| struct | TcpPoolCache |
Typedefs | |
| typedef struct TcpPoolCache | TcpPoolCache |
Functions | |
| void | StreamTcpThreadCacheEnable (void) |
| enable segment cache. Should only be done for worker threads More... | |
| void | StreamTcpThreadCacheReturnSegment (TcpSegment *seg) |
| void | StreamTcpThreadCacheReturnSession (TcpSession *ssn) |
| void | StreamTcpThreadCacheCleanup (void) |
| TcpSegment * | StreamTcpThreadCacheGetSegment (void) |
| TcpSession * | StreamTcpThreadCacheGetSession (void) |
Variables | |
| PoolThread * | ssn_pool |
| PoolThread * | segment_thread_pool |
Definition in file stream-tcp-cache.c.
| typedef struct TcpPoolCache TcpPoolCache |
| void StreamTcpThreadCacheCleanup | ( | void | ) |
Definition at line 134 of file stream-tcp-cache.c.
References SCEnter, and SCLogDebug.
Referenced by StreamTcpReassembleFreeThreadCtx().

| void StreamTcpThreadCacheEnable | ( | void | ) |
enable segment cache. Should only be done for worker threads
Definition at line 48 of file stream-tcp-cache.c.
Referenced by StreamTcpThreadInit().

| TcpSegment* StreamTcpThreadCacheGetSegment | ( | void | ) |
Definition at line 179 of file stream-tcp-cache.c.
Referenced by StreamTcpGetSegment().

| TcpSession* StreamTcpThreadCacheGetSession | ( | void | ) |
Definition at line 190 of file stream-tcp-cache.c.
| void StreamTcpThreadCacheReturnSegment | ( | TcpSegment * | seg | ) |
Definition at line 53 of file stream-tcp-cache.c.
References PoolThreadReturn(), RunmodeIsUnittests(), SCEnter, SCReturn, and segment_thread_pool.
Referenced by StreamTcpSegmentReturntoPool().


| void StreamTcpThreadCacheReturnSession | ( | TcpSession * | ssn | ) |
Definition at line 93 of file stream-tcp-cache.c.
References PoolThreadReturn(), RunmodeIsUnittests(), SCEnter, SCReturn, and ssn_pool.
Referenced by StreamTcpSessionClear().


| PoolThread* segment_thread_pool |
Definition at line 82 of file stream-tcp-reassemble.c.
Referenced by StreamTcpGetSegment(), and StreamTcpThreadCacheReturnSegment().
| PoolThread* ssn_pool |
Definition at line 213 of file stream-tcp.c.
Referenced by StreamTcpThreadCacheReturnSession().