suricata
detect-flowint.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  TargetVar_
 
struct  DetectFlowintData_
 

Typedefs

typedef struct TargetVar_ TargetVar
 
typedef struct DetectFlowintData_ DetectFlowintData
 

Enumerations

enum  {
  FLOWINT_MODIFIER_SET, FLOWINT_MODIFIER_ADD, FLOWINT_MODIFIER_SUB, FLOWINT_MODIFIER_LT,
  FLOWINT_MODIFIER_LE, FLOWINT_MODIFIER_EQ, FLOWINT_MODIFIER_NE, FLOWINT_MODIFIER_GE,
  FLOWINT_MODIFIER_GT, FLOWINT_MODIFIER_ISSET, FLOWINT_MODIFIER_NOTSET, FLOWINT_MODIFIER_UNKNOWN
}
 
enum  { FLOWINT_TARGET_VAL, FLOWINT_TARGET_VAR, FLOWINT_TARGET_SELF }
 

Functions

void DetectFlowintRegister (void)
 

Detailed Description

Typedef Documentation

◆ DetectFlowintData

Context data for flowint vars

◆ TargetVar

typedef struct TargetVar_ TargetVar

If the target is another var, get the name and the idx

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Flowint operations allowed

Enumerator
FLOWINT_MODIFIER_SET 

Changing integer values

FLOWINT_MODIFIER_ADD 
FLOWINT_MODIFIER_SUB 
FLOWINT_MODIFIER_LT 

Comparing integer values

FLOWINT_MODIFIER_LE 
FLOWINT_MODIFIER_EQ 
FLOWINT_MODIFIER_NE 
FLOWINT_MODIFIER_GE 
FLOWINT_MODIFIER_GT 
FLOWINT_MODIFIER_ISSET 

Checking if a var is set (keyword isset/notset)

FLOWINT_MODIFIER_NOTSET 
FLOWINT_MODIFIER_UNKNOWN 

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

◆ anonymous enum

anonymous enum

The target can be a value, or another variable already declared

Enumerator
FLOWINT_TARGET_VAL 
FLOWINT_TARGET_VAR 
FLOWINT_TARGET_SELF 

Definition at line 49 of file detect-flowint.h.

Function Documentation

◆ DetectFlowintRegister()

void DetectFlowintRegister ( void  )

Definition at line 64 of file detect-flowint.c.

References SigTableElmt_::desc, DETECT_FLOWINT, DetectFlowintMatch(), 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: