suricata
|
Go to the source code of this file.
Typedefs | |
typedef FlowProtoTimeout * | FlowProtoTimeoutPtr |
Enumerations | |
enum | { FLOW_PROTO_TCP = 0, FLOW_PROTO_UDP, FLOW_PROTO_ICMP, FLOW_PROTO_DEFAULT, FLOW_PROTO_MAX } |
Functions | |
SC_ATOMIC_EXTERN (uint64_t, flow_memuse) | |
SC_ATOMIC_EXTERN (FlowProtoTimeoutPtr, flow_timeouts) | |
Definition in file flow-private.h.
#define FLOW_BYPASSED_TIMEOUT 100 |
Definition at line 66 of file flow-private.h.
#define FLOW_DEFAULT_BYPASSED_TIMEOUT 100 |
Definition at line 43 of file flow-private.h.
#define FLOW_DEFAULT_EMERG_BYPASSED_TIMEOUT 50 |
Definition at line 57 of file flow-private.h.
#define FLOW_DEFAULT_EMERG_EST_TIMEOUT 100 |
Definition at line 56 of file flow-private.h.
#define FLOW_DEFAULT_EMERG_NEW_TIMEOUT 10 |
Definition at line 55 of file flow-private.h.
#define FLOW_DEFAULT_EST_TIMEOUT 300 |
Definition at line 42 of file flow-private.h.
#define FLOW_DEFAULT_NEW_TIMEOUT 30 |
Definition at line 41 of file flow-private.h.
#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 38 of file flow-private.h.
#define FLOW_IPPROTO_ICMP_BYPASSED_TIMEOUT 100 |
Definition at line 53 of file flow-private.h.
#define FLOW_IPPROTO_ICMP_EMERG_EST_TIMEOUT 100 |
Definition at line 64 of file flow-private.h.
#define FLOW_IPPROTO_ICMP_EMERG_NEW_TIMEOUT 10 |
Definition at line 63 of file flow-private.h.
#define FLOW_IPPROTO_ICMP_EST_TIMEOUT 300 |
Definition at line 52 of file flow-private.h.
#define FLOW_IPPROTO_ICMP_NEW_TIMEOUT 30 |
Definition at line 51 of file flow-private.h.
#define FLOW_IPPROTO_TCP_BYPASSED_TIMEOUT 100 |
Definition at line 47 of file flow-private.h.
#define FLOW_IPPROTO_TCP_CLOSED_TIMEOUT 10 |
Definition at line 46 of file flow-private.h.
#define FLOW_IPPROTO_TCP_EMERG_CLOSED_TIMEOUT 5 |
Definition at line 60 of file flow-private.h.
#define FLOW_IPPROTO_TCP_EMERG_EST_TIMEOUT 100 |
Definition at line 59 of file flow-private.h.
#define FLOW_IPPROTO_TCP_EMERG_NEW_TIMEOUT 10 |
Definition at line 58 of file flow-private.h.
#define FLOW_IPPROTO_TCP_EST_TIMEOUT 300 |
Definition at line 45 of file flow-private.h.
#define FLOW_IPPROTO_TCP_NEW_TIMEOUT 30 |
Definition at line 44 of file flow-private.h.
#define FLOW_IPPROTO_UDP_BYPASSED_TIMEOUT 100 |
Definition at line 50 of file flow-private.h.
#define FLOW_IPPROTO_UDP_EMERG_EST_TIMEOUT 100 |
Definition at line 62 of file flow-private.h.
#define FLOW_IPPROTO_UDP_EMERG_NEW_TIMEOUT 10 |
Definition at line 61 of file flow-private.h.
#define FLOW_IPPROTO_UDP_EST_TIMEOUT 300 |
Definition at line 49 of file flow-private.h.
#define FLOW_IPPROTO_UDP_NEW_TIMEOUT 30 |
Definition at line 48 of file flow-private.h.
#define FLOW_PROTO_APPLAYER_MAX FLOW_PROTO_UDP + 1 |
Definition at line 78 of file flow-private.h.
typedef FlowProtoTimeout* FlowProtoTimeoutPtr |
Definition at line 101 of file flow-private.h.
anonymous enum |
Enumerator | |
---|---|
FLOW_PROTO_TCP | |
FLOW_PROTO_UDP | |
FLOW_PROTO_ICMP | |
FLOW_PROTO_DEFAULT | |
FLOW_PROTO_MAX |
Definition at line 67 of file flow-private.h.
SC_ATOMIC_EXTERN | ( | FlowProtoTimeoutPtr | , |
flow_timeouts | |||
) |
SC_ATOMIC_EXTERN | ( | uint64_t | , |
flow_memuse | |||
) |
flow memuse counter (atomic), for enforcing memcap limit
FlowConfig flow_config |
Definition at line 91 of file flow.c.
Referenced by FlowGetExistingFlowFromFlowId(), FlowGetFlowFromHash(), FlowGetMemcap(), FlowInitConfig(), FlowKeyGetHash(), FlowReset(), FlowSetMemcap(), FlowShutdown(), and FlowSparePoolUpdate().
FlowProtoFreeFunc flow_freefuncs[FLOW_PROTO_MAX] |
Definition at line 89 of file flow.c.
Referenced by FlowClearMemory(), FlowInitFlowProto(), and FlowSetProtoFreeFunc().
FlowBucket* flow_hash |
Definition at line 59 of file flow-hash.c.
Referenced by FlowGetExistingFlowFromFlowId(), FlowGetFlowFromHash(), FlowInitConfig(), FlowReset(), and FlowShutdown().
FlowQueue flow_recycle_q |
spare/unused/prealloced flows live here queue to pass flows to cleanup/log thread(s)
queue to pass flows to cleanup/log thread(s)
Definition at line 65 of file flow-manager.c.
Referenced by FlowInitConfig(), and FlowShutdown().
FlowProtoTimeout flow_timeouts_emerg[FLOW_PROTO_MAX] |
Definition at line 87 of file flow.c.
Referenced by FlowInitFlowProto(), and FlowTimeoutsEmergency().
FlowProtoTimeout flow_timeouts_normal[FLOW_PROTO_MAX] |
FlowProto specific timeouts and free/state functions
Definition at line 86 of file flow.c.
Referenced by FlowInitFlowProto(), and FlowTimeoutsInit().