suricata
detect-snmp-version.c File Reference
#include "suricata-common.h"
#include "conf.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-content-inspection.h"
#include "detect-snmp-version.h"
#include "app-layer-parser.h"
#include "rust.h"
#include "tests/detect-snmp-version.c"
Include dependency graph for detect-snmp-version.c:

Go to the source code of this file.

Data Structures

struct  DetectSNMPVersionData_
 

Macros

#define PARSE_REGEX   "^\\s*(<=|>=|<|>)?\\s*([0-9]+)\\s*$"
 

Typedefs

typedef struct DetectSNMPVersionData_ DetectSNMPVersionData
 

Enumerations

enum  DetectSNMPVersionMode {
  PROCEDURE_EQ = 1, PROCEDURE_LT, PROCEDURE_LE, PROCEDURE_GT,
  PROCEDURE_GE
}
 

Functions

void DetectSNMPVersionRegister (void)
 Registration function for snmp.procedure keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ PARSE_REGEX

#define PARSE_REGEX   "^\\s*(<=|>=|<|>)?\\s*([0-9]+)\\s*$"

Definition at line 38 of file detect-snmp-version.c.

Typedef Documentation

◆ DetectSNMPVersionData

Enumeration Type Documentation

◆ DetectSNMPVersionMode

Enumerator
PROCEDURE_EQ 
PROCEDURE_LT 
PROCEDURE_LE 
PROCEDURE_GT 
PROCEDURE_GE 

Definition at line 40 of file detect-snmp-version.c.

Function Documentation

◆ DetectSNMPVersionRegister()

void DetectSNMPVersionRegister ( void  )

Registration function for snmp.procedure keyword.

Definition at line 74 of file detect-snmp-version.c.

References SigTableElmt_::AppLayerTxMatch, SigTableElmt_::desc, DETECT_AL_SNMP_VERSION, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: