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
 
bool midstream
 
bool async_oneside
 
bool streaming_log_api
 
uint8_t max_syn_queued
 
uint32_t reassembly_depth
 
uint16_t reassembly_toserver_chunk_size
 
uint16_t reassembly_toclient_chunk_size
 
enum ExceptionPolicy ssn_memcap_policy
 
enum ExceptionPolicy reassembly_memcap_policy
 
enum ExceptionPolicy midstream_policy
 
enum TcpStreamUrgentHandling urgent_policy
 
enum TcpStreamUrgentHandling urgent_oob_limit_policy
 
bool liberal_timestamps
 
StreamingBufferConfig sbcnf
 

Detailed Description

Definition at line 54 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

bool TcpStreamCnf_::async_oneside

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

Referenced by StreamTcpInitConfig().

◆ flags

◆ liberal_timestamps

bool TcpStreamCnf_::liberal_timestamps

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

◆ max_syn_queued

uint8_t TcpStreamCnf_::max_syn_queued

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

◆ max_synack_queued

uint8_t TcpStreamCnf_::max_synack_queued

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

◆ midstream

bool TcpStreamCnf_::midstream

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

Referenced by StreamTcpInitConfig().

◆ midstream_policy

enum ExceptionPolicy TcpStreamCnf_::midstream_policy

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

Referenced by StreamTcpInitConfig().

◆ prealloc_segments

uint32_t TcpStreamCnf_::prealloc_segments

segments to prealloc per stream thread

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

◆ prealloc_sessions

uint32_t TcpStreamCnf_::prealloc_sessions

ssns to prealloc per stream thread

Definition at line 68 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 75 of file stream-tcp.h.

◆ reassembly_memcap_policy

enum ExceptionPolicy TcpStreamCnf_::reassembly_memcap_policy

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

Referenced by StreamTcpInitConfig().

◆ reassembly_toclient_chunk_size

uint16_t TcpStreamCnf_::reassembly_toclient_chunk_size

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

◆ reassembly_toserver_chunk_size

uint16_t TcpStreamCnf_::reassembly_toserver_chunk_size

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

◆ sbcnf

StreamingBufferConfig TcpStreamCnf_::sbcnf

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

Referenced by StreamTcpPruneSession(), StreamTcpStreamCleanup(), and UTHAddStreamToFlow().

◆ ssn_memcap_policy

enum ExceptionPolicy TcpStreamCnf_::ssn_memcap_policy

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

Referenced by StreamTcpInitConfig(), and StreamTcpThreadInit().

◆ stream_init_flags

uint16_t TcpStreamCnf_::stream_init_flags

new stream flags will be initialized to this

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

◆ streaming_log_api

bool TcpStreamCnf_::streaming_log_api

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

◆ urgent_oob_limit_policy

enum TcpStreamUrgentHandling TcpStreamCnf_::urgent_oob_limit_policy

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

◆ urgent_policy

enum TcpStreamUrgentHandling TcpStreamCnf_::urgent_policy

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

Referenced by StreamTcpInitConfig().


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