suricata
TcpSession_ Struct Reference

#include <stream-tcp-private.h>

Collaboration diagram for TcpSession_:

Data Fields

PoolThreadReserved res
 
uint8_t state:4
 
uint8_t pstate:4
 
uint8_t queue_len
 
int8_t data_first_seen_dir
 
uint8_t tcp_packet_flags
 
uint16_t flags
 
uint32_t reassembly_depth
 
TcpStream server
 
TcpStream client
 
TcpStateQueuequeue
 

Detailed Description

Definition at line 260 of file stream-tcp-private.h.

Field Documentation

◆ client

◆ data_first_seen_dir

int8_t TcpSession_::data_first_seen_dir

Definition at line 265 of file stream-tcp-private.h.

Referenced by StreamTcpReassembleHandleSegmentHandleData().

◆ flags

◆ pstate

uint8_t TcpSession_::pstate

previous state

Definition at line 263 of file stream-tcp-private.h.

◆ queue

TcpStateQueue* TcpSession_::queue

list of SYN/ACK candidates

Definition at line 273 of file stream-tcp-private.h.

Referenced by StreamTcpSessionCleanup().

◆ queue_len

uint8_t TcpSession_::queue_len

length of queue list below

Definition at line 264 of file stream-tcp-private.h.

Referenced by StreamTcpSessionCleanup().

◆ reassembly_depth

uint32_t TcpSession_::reassembly_depth

reassembly depth for the stream

Definition at line 270 of file stream-tcp-private.h.

Referenced by TcpSessionSetReassemblyDepth().

◆ res

PoolThreadReserved TcpSession_::res

Definition at line 261 of file stream-tcp-private.h.

Referenced by StreamTcpSessionClear().

◆ server

◆ state

uint8_t TcpSession_::state

tcp state from state enum

Definition at line 262 of file stream-tcp-private.h.

Referenced by FlowForceReassemblyNeedReassembly(), StreamTcpReassembleAppLayer(), and StreamTcpReassembleHandleSegment().

◆ tcp_packet_flags

uint8_t TcpSession_::tcp_packet_flags

track all the tcp flags we've seen

Definition at line 267 of file stream-tcp-private.h.


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