suricata
detect-flowbits.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  FBAnalyzer
 
struct  SigIdentifier_
 
struct  FBAnalyze
 
struct  DetectFlowbitsData_
 

Macros

#define DETECT_FLOWBITS_CMD_SET   0
 
#define DETECT_FLOWBITS_CMD_UNSET   1
 
#define DETECT_FLOWBITS_CMD_ISNOTSET   2
 
#define DETECT_FLOWBITS_CMD_ISSET   3
 
#define DETECT_FLOWBITS_CMD_MAX   4
 

Typedefs

typedef struct SigIdentifier_ SigIdentifier
 
typedef struct DetectFlowbitsData_ DetectFlowbitsData
 

Functions

void DetectFlowbitsRegister (void)
 
int DetectFlowbitsAnalyzeSignature (const Signature *, struct FBAnalyzer *)
 
void FBAnalyzerFree (struct FBAnalyzer *)
 

Detailed Description

Macro Definition Documentation

◆ DETECT_FLOWBITS_CMD_ISNOTSET

#define DETECT_FLOWBITS_CMD_ISNOTSET   2

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

◆ DETECT_FLOWBITS_CMD_ISSET

#define DETECT_FLOWBITS_CMD_ISSET   3

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

◆ DETECT_FLOWBITS_CMD_MAX

#define DETECT_FLOWBITS_CMD_MAX   4

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

◆ DETECT_FLOWBITS_CMD_SET

#define DETECT_FLOWBITS_CMD_SET   0

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

◆ DETECT_FLOWBITS_CMD_UNSET

#define DETECT_FLOWBITS_CMD_UNSET   1

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

Typedef Documentation

◆ DetectFlowbitsData

◆ SigIdentifier

typedef struct SigIdentifier_ SigIdentifier

Function Documentation

◆ DetectFlowbitsAnalyzeSignature()

◆ DetectFlowbitsRegister()

void DetectFlowbitsRegister ( void  )

Definition at line 72 of file detect-flowbits.c.

References SigTableElmt_::desc, DETECT_FLOWBITS, DetectFlowbitMatch(), 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:

◆ FBAnalyzerFree()

void FBAnalyzerFree ( struct FBAnalyzer )

Definition at line 512 of file detect-flowbits.c.

References FBAnalyzer::array.

Referenced by DetectFlowbitsAnalyze().

Here is the caller graph for this function: