suricata
|
#include "stream-tcp-private.h"
Go to the source code of this file.
Functions | |
void | FlowSendToLocalThread (Flow *f) |
bool | FlowNeedsReassembly (Flow *f) |
Check if a flow needs forced reassembly, or any other processing. More... | |
void | FlowWorkToDoCleanup (void) |
Clean up all the flows that have unprocessed segments and have some work to do in the detection engine. More... | |
Packet * | FlowPseudoPacketGet (int direction, Flow *f, const TcpSession *ssn) |
Definition in file flow-timeout.h.
bool FlowNeedsReassembly | ( | Flow * | f | ) |
Check if a flow needs forced reassembly, or any other processing.
f | LOCKED flow |
false | no |
true | yes |
Definition at line 289 of file flow-timeout.c.
References Flow_::alparser, Flow_::alproto, ALPROTO_UNKNOWN, Flow_::alstate, AppLayerFramesGetContainer(), AppLayerParserGetTransactionActive(), AppLayerParserGetTxCnt(), Frames::cnt, Flow_::ffr_tc, Flow_::ffr_ts, Flow_::protoctx, TcpSession_::state, STREAM_HAS_UNPROCESSED_SEGMENTS_NEED_ONLY_DETECTION, STREAM_HAS_UNPROCESSED_SEGMENTS_NONE, StreamNeedsReassembly(), TCP_CLOSED, TCP_ESTABLISHED, FramesContainer::toclient, and FramesContainer::toserver.
Packet* FlowPseudoPacketGet | ( | int | direction, |
Flow * | f, | ||
const TcpSession * | ssn | ||
) |
Definition at line 268 of file flow-timeout.c.
References PACKET_PROFILING_START, PacketPoolGetPacket(), and PacketPoolWait().
void FlowSendToLocalThread | ( | Flow * | f | ) |
Definition at line 353 of file flow-timeout.c.
References Flow_::flags, FLOW_DIR_REVERSED, Flow_::thread_id, and TmThreadsInjectFlowById().
void FlowWorkToDoCleanup | ( | void | ) |
Clean up all the flows that have unprocessed segments and have some work to do in the detection engine.
Definition at line 425 of file flow-timeout.c.
Referenced by PostRunDeinit().