suricata
|
Go to the source code of this file.
Enumerations | |
enum | { FLOW_PROTO_TCP = 0, FLOW_PROTO_UDP, FLOW_PROTO_ICMP, FLOW_PROTO_SCTP, FLOW_PROTO_DEFAULT, FLOW_PROTO_MAX } |
Functions | |
SC_ATOMIC_DECLARE (uint64_t, flow_memuse) | |
Definition in file flow-private.h.
#define FLOW_BYPASSED_TIMEOUT 6 |
Definition at line 65 of file flow-private.h.
Referenced by FlowDisableFlowManagerThread(), and FlowHandlePacketUpdate().
#define FLOW_DEFAULT_BYPASSED_TIMEOUT 100 |
Definition at line 43 of file flow-private.h.
Referenced by FlowInitFlowProto().
#define FLOW_DEFAULT_CLOSED_TIMEOUT 0 |
Definition at line 42 of file flow-private.h.
Referenced by FlowInitFlowProto().
#define FLOW_DEFAULT_EMERG_BYPASSED_TIMEOUT 50 |
Definition at line 57 of file flow-private.h.
Referenced by FlowInitFlowProto().
#define FLOW_DEFAULT_EMERG_CLOSED_TIMEOUT 0 |
Definition at line 56 of file flow-private.h.
Referenced by FlowInitFlowProto().
#define FLOW_DEFAULT_EMERG_EST_TIMEOUT 100 |
Definition at line 55 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_DEFAULT_EMERG_NEW_TIMEOUT 10 |
Definition at line 54 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_DEFAULT_EST_TIMEOUT 300 |
Definition at line 41 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_DEFAULT_NEW_TIMEOUT 30 |
Definition at line 40 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_EMERGENCY 0x01 |
Flow engine is in emergency mode. This means it doesn't have enough spare flows for new flows and/or it's memcap limit it reached. In this state the flow engine with evaluate flows with lower timeout settings.
Definition at line 37 of file flow-private.h.
Referenced by FlowDisableFlowManagerThread(), FlowGetFlowFromHash(), FlowSetupPacket(), FlowUpdateState(), and TmModuleFlowRecyclerRegister().
#define FLOW_IPPROTO_ICMP_BYPASSED_TIMEOUT 100 |
Definition at line 52 of file flow-private.h.
Referenced by FlowInitFlowProto().
#define FLOW_IPPROTO_ICMP_EMERG_EST_TIMEOUT 100 |
Definition at line 63 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_ICMP_EMERG_NEW_TIMEOUT 10 |
Definition at line 62 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_ICMP_EST_TIMEOUT 300 |
Definition at line 51 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_ICMP_NEW_TIMEOUT 30 |
Definition at line 50 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_TCP_BYPASSED_TIMEOUT 100 |
Definition at line 46 of file flow-private.h.
Referenced by FlowInitFlowProto().
#define FLOW_IPPROTO_TCP_EMERG_EST_TIMEOUT 100 |
Definition at line 59 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_TCP_EMERG_NEW_TIMEOUT 10 |
Definition at line 58 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_TCP_EST_TIMEOUT 300 |
Definition at line 45 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_TCP_NEW_TIMEOUT 30 |
Definition at line 44 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_UDP_BYPASSED_TIMEOUT 100 |
Definition at line 49 of file flow-private.h.
Referenced by FlowInitFlowProto().
#define FLOW_IPPROTO_UDP_EMERG_EST_TIMEOUT 100 |
Definition at line 61 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_UDP_EMERG_NEW_TIMEOUT 10 |
Definition at line 60 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_UDP_EST_TIMEOUT 300 |
Definition at line 48 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_IPPROTO_UDP_NEW_TIMEOUT 30 |
Definition at line 47 of file flow-private.h.
Referenced by FlowInitFlowProto(), and FlowUpdateState().
#define FLOW_PROTO_APPLAYER_MAX FLOW_PROTO_UDP + 1 |
Definition at line 78 of file flow-private.h.
anonymous enum |
Enumerator | |
---|---|
FLOW_PROTO_TCP | |
FLOW_PROTO_UDP | |
FLOW_PROTO_ICMP | |
FLOW_PROTO_SCTP | |
FLOW_PROTO_DEFAULT | |
FLOW_PROTO_MAX |
Definition at line 67 of file flow-private.h.
SC_ATOMIC_DECLARE | ( | uint64_t | , |
flow_memuse | |||
) |
flow memuse counter (atomic), for enforcing memcap limit
FlowConfig flow_config |
Definition at line 97 of file flow-private.h.
Referenced by FlowDisableFlowManagerThread(), FlowForceReassemblyForFlow(), FlowGetFlowFromHash(), FlowGetMemcap(), FlowInitConfig(), FlowSetMemcap(), FlowShutdown(), FlowUpdateSpareFlows(), FlowUpdateState(), and TmModuleFlowRecyclerRegister().
FlowProtoFreeFunc flow_freefuncs[FLOW_PROTO_MAX] |
Definition at line 88 of file flow-private.h.
Referenced by FlowClearMemory(), FlowInitFlowProto(), FlowSetProtoFreeFunc(), and FlowUpdateState().
FlowBucket* flow_hash |
Definition at line 96 of file flow-private.h.
Referenced by FlowDisableFlowManagerThread(), FlowForceReassemblyForFlow(), FlowGetFlowFromHash(), FlowInitConfig(), and FlowShutdown().
FlowQueue flow_recycle_q |
queue to pass flows to cleanup/log thread(s)
Definition at line 94 of file flow-private.h.
Referenced by FlowDisableFlowManagerThread(), FlowInitConfig(), FlowShutdown(), and TmModuleFlowRecyclerRegister().
FlowQueue flow_spare_q |
spare/unused/prealloced flows live here
Definition at line 91 of file flow-private.h.
Referenced by FlowInitConfig(), FlowMoveToSpare(), FlowSetupPacket(), FlowShutdown(), FlowUpdateSpareFlows(), FlowUpdateState(), TmModuleFlowRecyclerRegister(), and UTHParseSignature().
FlowProtoTimeout flow_timeouts_emerg[FLOW_PROTO_MAX] |
Definition at line 87 of file flow-private.h.
Referenced by FlowInitFlowProto(), FlowTimeoutsEmergency(), and FlowUpdateState().
FlowProtoTimeout flow_timeouts_normal[FLOW_PROTO_MAX] |
FlowProto specific timeouts and free/state functions
Definition at line 86 of file flow-private.h.
Referenced by FlowInitFlowProto(), FlowTimeoutsInit(), and FlowUpdateState().