suricata
TcpStreamCnf_ Struct Reference

#include <stream-tcp.h>

Collaboration diagram for TcpStreamCnf_:

Public Member Functions

 SC_ATOMIC_DECLARE (uint64_t, memcap)
 
 SC_ATOMIC_DECLARE (uint64_t, reassembly_memcap)
 

Data Fields

uint16_t stream_init_flags
 
uint8_t flags
 
uint8_t max_synack_queued
 
uint32_t prealloc_sessions
 
uint32_t prealloc_segments
 
int midstream
 
int async_oneside
 
uint32_t reassembly_depth
 
uint16_t reassembly_toserver_chunk_size
 
uint16_t reassembly_toclient_chunk_size
 
bool streaming_log_api
 
StreamingBufferConfig sbcnf
 

Detailed Description

Definition at line 42 of file stream-tcp.h.

Member Function Documentation

◆ SC_ATOMIC_DECLARE() [1/2]

TcpStreamCnf_::SC_ATOMIC_DECLARE ( uint64_t  ,
memcap   
)

stream tracking

max stream mem usage

◆ SC_ATOMIC_DECLARE() [2/2]

TcpStreamCnf_::SC_ATOMIC_DECLARE ( uint64_t  ,
reassembly_memcap   
)

max memory usage for stream reassembly

Field Documentation

◆ async_oneside

int TcpStreamCnf_::async_oneside

Definition at line 59 of file stream-tcp.h.

Referenced by StreamTcpInitConfig().

◆ flags

◆ max_synack_queued

uint8_t TcpStreamCnf_::max_synack_queued

Definition at line 54 of file stream-tcp.h.

Referenced by StreamTcpInitConfig().

◆ midstream

int TcpStreamCnf_::midstream

Definition at line 58 of file stream-tcp.h.

Referenced by StreamTcpInitConfig().

◆ prealloc_segments

uint32_t TcpStreamCnf_::prealloc_segments

segments to prealloc per stream thread

Definition at line 57 of file stream-tcp.h.

◆ prealloc_sessions

uint32_t TcpStreamCnf_::prealloc_sessions

ssns to prealloc per stream thread

Definition at line 56 of file stream-tcp.h.

Referenced by StreamTcpInitConfig().

◆ reassembly_depth

uint32_t TcpStreamCnf_::reassembly_depth

Depth until when we reassemble the stream

Definition at line 60 of file stream-tcp.h.

Referenced by StreamTcpInitConfig().

◆ reassembly_toclient_chunk_size

uint16_t TcpStreamCnf_::reassembly_toclient_chunk_size

Definition at line 63 of file stream-tcp.h.

◆ reassembly_toserver_chunk_size

uint16_t TcpStreamCnf_::reassembly_toserver_chunk_size

Definition at line 62 of file stream-tcp.h.

Referenced by StreamTcpInitConfig().

◆ sbcnf

StreamingBufferConfig TcpStreamCnf_::sbcnf

◆ stream_init_flags

uint16_t TcpStreamCnf_::stream_init_flags

new stream flags will be initialized to this

Definition at line 50 of file stream-tcp.h.

◆ streaming_log_api

bool TcpStreamCnf_::streaming_log_api

Definition at line 65 of file stream-tcp.h.


The documentation for this struct was generated from the following file: