|
suricata
|
#include "suricata-common.h"#include "decode.h"#include "threads.h"#include "stream.h"#include "util-pool.h"#include "util-debug.h"#include "stream-tcp.h"#include "flow-util.h"
Go to the source code of this file.
Functions | |
| int | StreamSegmentForEach (const Packet *p, uint8_t flag, StreamSegmentCallback CallbackFunc, void *data) |
| int | StreamSegmentForSession (const Packet *p, uint8_t flag, StreamSegmentCallback CallbackFunc, void *data) |
| Run callback for all segments on both directions of the session. More... | |
Definition in file stream.c.
| int StreamSegmentForEach | ( | const Packet * | p, |
| uint8_t | flag, | ||
| StreamSegmentCallback | CallbackFunc, | ||
| void * | data | ||
| ) |
Definition at line 40 of file stream.c.
References Packet_::proto, SCLogWarning, and StreamTcpSegmentForEach().

| int StreamSegmentForSession | ( | const Packet * | p, |
| uint8_t | flag, | ||
| StreamSegmentCallback | CallbackFunc, | ||
| void * | data | ||
| ) |
Run callback for all segments on both directions of the session.
Must be called under flow lock.
Definition at line 64 of file stream.c.
References Packet_::proto, SCLogWarning, and StreamTcpSegmentForSession().
