suricata
|
Go to the source code of this file.
Data Structures | |
struct | DetectFlowData_ |
Macros | |
#define | DETECT_FLOW_FLAG_TOSERVER BIT_U16(0) |
#define | DETECT_FLOW_FLAG_TOCLIENT BIT_U16(1) |
#define | DETECT_FLOW_FLAG_ESTABLISHED BIT_U16(2) |
#define | DETECT_FLOW_FLAG_NOT_ESTABLISHED BIT_U16(3) |
#define | DETECT_FLOW_FLAG_STATELESS BIT_U16(4) |
#define | DETECT_FLOW_FLAG_ONLYSTREAM BIT_U16(5) |
#define | DETECT_FLOW_FLAG_NOSTREAM BIT_U16(6) |
#define | DETECT_FLOW_FLAG_NO_FRAG BIT_U16(7) |
#define | DETECT_FLOW_FLAG_ONLY_FRAG BIT_U16(8) |
Typedefs | |
typedef struct DetectFlowData_ | DetectFlowData |
Functions | |
int | DetectFlowSetupImplicit (Signature *s, uint32_t flags) |
void | DetectFlowRegister (void) |
Registration function for flow: keyword. More... | |
Definition in file detect-flow.h.
#define DETECT_FLOW_FLAG_ESTABLISHED BIT_U16(2) |
Definition at line 30 of file detect-flow.h.
#define DETECT_FLOW_FLAG_NO_FRAG BIT_U16(7) |
Definition at line 35 of file detect-flow.h.
#define DETECT_FLOW_FLAG_NOSTREAM BIT_U16(6) |
Definition at line 34 of file detect-flow.h.
#define DETECT_FLOW_FLAG_NOT_ESTABLISHED BIT_U16(3) |
Definition at line 31 of file detect-flow.h.
#define DETECT_FLOW_FLAG_ONLY_FRAG BIT_U16(8) |
Definition at line 36 of file detect-flow.h.
#define DETECT_FLOW_FLAG_ONLYSTREAM BIT_U16(5) |
Definition at line 33 of file detect-flow.h.
#define DETECT_FLOW_FLAG_STATELESS BIT_U16(4) |
Definition at line 32 of file detect-flow.h.
#define DETECT_FLOW_FLAG_TOCLIENT BIT_U16(1) |
Definition at line 29 of file detect-flow.h.
#define DETECT_FLOW_FLAG_TOSERVER BIT_U16(0) |
Definition at line 28 of file detect-flow.h.
typedef struct DetectFlowData_ DetectFlowData |
void DetectFlowRegister | ( | void | ) |
Registration function for flow: keyword.
Definition at line 65 of file detect-flow.c.
References SigTableElmt_::desc, DETECT_FLOW, DetectFlowMatch(), SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().
int DetectFlowSetupImplicit | ( | Signature * | s, |
uint32_t | flags | ||
) |
Definition at line 336 of file detect-flow.c.
References BUG_ON, flags, Signature_::flags, SCLogDebug, SIG_FLAG_BOTH, SIG_FLAG_TOCLIENT, and SIG_FLAG_TOSERVER.