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

TcpStreamCnf_::SC_ATOMIC_DECLARE ( uint64_t  ,
memcap   
)

stream tracking

max stream mem usage

TcpStreamCnf_::SC_ATOMIC_DECLARE ( uint64_t  ,
reassembly_memcap   
)

max memory usage for stream reassembly

Field Documentation

int TcpStreamCnf_::async_oneside

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

Referenced by StreamTcpInitConfig(), and StreamTcpPacket().

uint8_t TcpStreamCnf_::max_synack_queued

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

Referenced by StreamTcpInitConfig().

int TcpStreamCnf_::midstream

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

Referenced by StreamTcpInitConfig(), and StreamTcpPacket().

uint32_t TcpStreamCnf_::prealloc_segments

segments to prealloc per stream thread

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

Referenced by StreamTcpAppLayerIsDisabled(), and StreamTcpReassembleInitThreadCtx().

uint32_t TcpStreamCnf_::prealloc_sessions

ssns to prealloc per stream thread

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

Referenced by StreamTcpInitConfig(), and StreamTcpThreadInit().

uint32_t TcpStreamCnf_::reassembly_depth

Depth until when we reassemble the stream

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

Referenced by AppLayerParserPostStreamSetup(), FileReassemblyDepth(), StreamTcpFreeConfig(), and StreamTcpInitConfig().

uint16_t TcpStreamCnf_::reassembly_toclient_chunk_size
uint16_t TcpStreamCnf_::reassembly_toserver_chunk_size
uint16_t TcpStreamCnf_::stream_init_flags

new stream flags will be initialized to this

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

Referenced by StreamTcpFreeConfig(), and StreamTcpInitConfig().

bool TcpStreamCnf_::streaming_log_api

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

Referenced by OutputRegisterStreamingLogger(), and StreamTcpReassembleInsertSegment().


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