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

Go to the source code of this file.


void StreamTcpUTInit (TcpReassemblyThreadCtx **)
void StreamTcpUTDeinit (TcpReassemblyThreadCtx *)
void StreamTcpUTInitInline (void)
void StreamTcpUTSetupSession (TcpSession *)
void StreamTcpUTClearSession (TcpSession *)
void StreamTcpUTSetupStream (TcpStream *, uint32_t isn)
void StreamTcpUTClearStream (TcpStream *)
int StreamTcpUTAddSegmentWithByte (ThreadVars *, TcpReassemblyThreadCtx *, TcpStream *, uint32_t, uint8_t, uint16_t)
int StreamTcpUTAddSegmentWithPayload (ThreadVars *, TcpReassemblyThreadCtx *, TcpStream *, uint32_t, uint8_t *, uint16_t)
int StreamTcpUTAddPayload (ThreadVars *tv, TcpReassemblyThreadCtx *ra_ctx, TcpSession *ssn, TcpStream *stream, uint32_t seq, uint8_t *payload, uint16_t len)
 wrapper for StreamTcpReassembleHandleSegmentHandleData More...
void StreamTcpUtilRegisterTests (void)

Detailed Description

Function Documentation

◆ StreamTcpUTAddPayload()

int StreamTcpUTAddPayload ( ThreadVars tv,
TcpReassemblyThreadCtx ra_ctx,
TcpSession ssn,
TcpStream stream,
uint32_t  seq,
uint8_t *  payload,
uint16_t  len 

wrapper for StreamTcpReassembleHandleSegmentHandleData

Definition at line 97 of file stream-tcp-util.c.

References PacketL4::hdrs, Packet_::l4, len, seq, StreamTcpReassembleHandleSegmentHandleData(), PacketL4::L4Hdrs::tcph, TCPHdr_::th_ack, TCPHdr_::th_seq, tv, UTHBuildPacketReal(), and UTHFreePacket().

Here is the call graph for this function:

◆ StreamTcpUTAddSegmentWithByte()

int StreamTcpUTAddSegmentWithByte ( ThreadVars ,
TcpReassemblyThreadCtx ,
TcpStream ,
uint32_t  ,
uint8_t  ,

◆ StreamTcpUTAddSegmentWithPayload()

int StreamTcpUTAddSegmentWithPayload ( ThreadVars ,
TcpReassemblyThreadCtx ,
TcpStream ,
uint32_t  ,
uint8_t *  ,

◆ StreamTcpUTClearSession()

void StreamTcpUTClearSession ( TcpSession )

Definition at line 71 of file stream-tcp-util.c.

References TcpSession_::client, TcpSession_::server, StreamTcpSessionCleanup(), and StreamTcpUTClearStream().

Here is the call graph for this function:

◆ StreamTcpUTClearStream()

void StreamTcpUTClearStream ( TcpStream )

Definition at line 91 of file stream-tcp-util.c.

References StreamTcpStreamCleanup().

Referenced by StreamTcpUTClearSession().

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

◆ StreamTcpUTDeinit()

void StreamTcpUTDeinit ( TcpReassemblyThreadCtx )

Definition at line 51 of file stream-tcp-util.c.

References TcpStreamCnf_::flags, stream_config, STREAMTCP_INIT_FLAG_INLINE, StreamTcpFreeConfig(), and StreamTcpReassembleFreeThreadCtx().

Here is the call graph for this function:

◆ StreamTcpUtilRegisterTests()

void StreamTcpUtilRegisterTests ( void  )

Definition at line 247 of file stream-tcp-util.c.

References UtRegisterTest().

Here is the call graph for this function:

◆ StreamTcpUTInit()

void StreamTcpUTInit ( TcpReassemblyThreadCtx **  )

Definition at line 44 of file stream-tcp-util.c.

References IPPairInitConfig(), StreamTcpInitConfig(), and StreamTcpReassembleInitThreadCtx().

Here is the call graph for this function:

◆ StreamTcpUTInitInline()

void StreamTcpUTInitInline ( void  )

Definition at line 58 of file stream-tcp-util.c.

References TcpStreamCnf_::flags, stream_config, and STREAMTCP_INIT_FLAG_INLINE.

◆ StreamTcpUTSetupSession()

void StreamTcpUTSetupSession ( TcpSession )

◆ StreamTcpUTSetupStream()

void StreamTcpUTSetupStream ( TcpStream ,
uint32_t  isn