suricata
stream-tcp-cache.h File Reference
Include dependency graph for stream-tcp-cache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)
 
TcpSegmentStreamTcpThreadCacheGetSegment (void)
 
TcpSessionStreamTcpThreadCacheGetSession (void)
 

Detailed Description

Function Documentation

◆ StreamTcpThreadCacheCleanup()

void StreamTcpThreadCacheCleanup ( void  )

Definition at line 134 of file stream-tcp-cache.c.

References SCEnter, and SCLogDebug.

Referenced by StreamTcpReassembleFreeThreadCtx().

Here is the caller graph for this function:

◆ StreamTcpThreadCacheEnable()

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().

Here is the caller graph for this function:

◆ StreamTcpThreadCacheGetSegment()

TcpSegment* StreamTcpThreadCacheGetSegment ( void  )

Definition at line 179 of file stream-tcp-cache.c.

Referenced by StreamTcpGetSegment().

Here is the caller graph for this function:

◆ StreamTcpThreadCacheGetSession()

TcpSession* StreamTcpThreadCacheGetSession ( void  )

Definition at line 190 of file stream-tcp-cache.c.

◆ StreamTcpThreadCacheReturnSegment()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StreamTcpThreadCacheReturnSession()

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().

Here is the call graph for this function:
Here is the caller graph for this function: