suricata
|
#include "../suricata-common.h"
#include "../stream-tcp-private.h"
#include "../stream-tcp.h"
#include "../stream-tcp-reassemble.h"
#include "../stream-tcp-inline.h"
#include "../stream-tcp-list.h"
#include "../stream-tcp-util.h"
#include "../util-streaming-buffer.h"
#include "../util-print.h"
#include "../util-unittest.h"
Go to the source code of this file.
Macros | |
#define | INLINE_START(isn) |
#define | INLINE_END |
#define | INLINE_ADD_PAYLOAD(rseq, seg, seglen, packet, packetlen) |
#define | INLINE_STEP(rseq, seg, seglen, buf, buflen, packet, packetlen) |
Functions | |
int | UTHCheckGapAtPosition (TcpStream *stream, int pos, uint64_t offset, uint32_t len) |
int | UTHCheckDataAtPosition (TcpStream *stream, int pos, uint64_t offset, const char *data, uint32_t len) |
void | StreamTcpInlineRegisterTests (void) |
#define INLINE_ADD_PAYLOAD | ( | rseq, | |
seg, | |||
seglen, | |||
packet, | |||
packetlen | |||
) |
Definition at line 63 of file stream-tcp-inline.c.
#define INLINE_END |
Definition at line 58 of file stream-tcp-inline.c.
#define INLINE_START | ( | isn | ) |
Definition at line 42 of file stream-tcp-inline.c.
#define INLINE_STEP | ( | rseq, | |
seg, | |||
seglen, | |||
buf, | |||
buflen, | |||
packet, | |||
packetlen | |||
) |
Definition at line 73 of file stream-tcp-inline.c.
void StreamTcpInlineRegisterTests | ( | void | ) |
Definition at line 186 of file stream-tcp-inline.c.
References UtRegisterTest().
int UTHCheckDataAtPosition | ( | TcpStream * | stream, |
int | pos, | ||
uint64_t | offset, | ||
const char * | data, | ||
uint32_t | len | ||
) |
Definition at line 2287 of file stream-tcp-reassemble.c.
References cnt, len, StreamingBufferBlock::len, offset, StreamingBufferBlock::offset, RB_FOREACH, TcpStream_::sb, StreamingBuffer_::sbb_tree, and StreamingBufferSBBGetData().
int UTHCheckGapAtPosition | ( | TcpStream * | stream, |
int | pos, | ||
uint64_t | offset, | ||
uint32_t | len | ||
) |
Definition at line 2264 of file stream-tcp-reassemble.c.
References cnt, len, StreamingBufferBlock::len, offset, StreamingBufferBlock::offset, RB_FOREACH, TcpStream_::sb, and StreamingBuffer_::sbb_tree.