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-snmp-snmp-gen.h"
#include "rust-snmp-detect-gen.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*$"
 
#define MAX_SUBSTRINGS   30
 

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

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

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

Referenced by DetectSNMPVersionRegister().

Typedef Documentation

Enumeration Type Documentation

Enumerator
PROCEDURE_EQ 
PROCEDURE_LT 
PROCEDURE_LE 
PROCEDURE_GT 
PROCEDURE_GE 

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

Function Documentation