suricata
detect-flow.h File Reference
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Macro Definition Documentation

◆ DETECT_FLOW_FLAG_ESTABLISHED

#define DETECT_FLOW_FLAG_ESTABLISHED   BIT_U16(2)

Definition at line 30 of file detect-flow.h.

◆ DETECT_FLOW_FLAG_NO_FRAG

#define DETECT_FLOW_FLAG_NO_FRAG   BIT_U16(7)

Definition at line 35 of file detect-flow.h.

◆ DETECT_FLOW_FLAG_NOSTREAM

#define DETECT_FLOW_FLAG_NOSTREAM   BIT_U16(6)

Definition at line 34 of file detect-flow.h.

◆ DETECT_FLOW_FLAG_NOT_ESTABLISHED

#define DETECT_FLOW_FLAG_NOT_ESTABLISHED   BIT_U16(3)

Definition at line 31 of file detect-flow.h.

◆ DETECT_FLOW_FLAG_ONLY_FRAG

#define DETECT_FLOW_FLAG_ONLY_FRAG   BIT_U16(8)

Definition at line 36 of file detect-flow.h.

◆ DETECT_FLOW_FLAG_ONLYSTREAM

#define DETECT_FLOW_FLAG_ONLYSTREAM   BIT_U16(5)

Definition at line 33 of file detect-flow.h.

◆ DETECT_FLOW_FLAG_STATELESS

#define DETECT_FLOW_FLAG_STATELESS   BIT_U16(4)

Definition at line 32 of file detect-flow.h.

◆ DETECT_FLOW_FLAG_TOCLIENT

#define DETECT_FLOW_FLAG_TOCLIENT   BIT_U16(1)

Definition at line 29 of file detect-flow.h.

◆ DETECT_FLOW_FLAG_TOSERVER

#define DETECT_FLOW_FLAG_TOSERVER   BIT_U16(0)

Definition at line 28 of file detect-flow.h.

Typedef Documentation

◆ DetectFlowData

Function Documentation

◆ DetectFlowRegister()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DetectFlowSetupImplicit()

int DetectFlowSetupImplicit ( Signature s,
uint32_t  flags 
)