suricata
detect-nfs-version.c File Reference
#include "suricata-common.h"
#include "threads.h"
#include "debug.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-content.h"
#include "detect-pcre.h"
#include "detect-nfs-version.h"
#include "app-layer-parser.h"
#include "flow.h"
#include "flow-util.h"
#include "flow-var.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-byte.h"
#include "app-layer-nfs-tcp.h"
#include "rust.h"
Include dependency graph for detect-nfs-version.c:

Go to the source code of this file.

Data Structures

struct  DetectNfsVersionData_
 

Macros

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

Typedefs

typedef struct DetectNfsVersionData_ DetectNfsVersionData
 

Enumerations

enum  DetectNfsVersionMode {
  PROCEDURE_EQ = 1, PROCEDURE_LT, PROCEDURE_LE, PROCEDURE_GT,
  PROCEDURE_GE, PROCEDURE_RA
}
 

Functions

void DetectNfsVersionRegister (void)
 Registration function for nfs_procedure keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ PARSE_REGEX

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

Definition at line 54 of file detect-nfs-version.c.

Typedef Documentation

◆ DetectNfsVersionData

Enumeration Type Documentation

◆ DetectNfsVersionMode

Enumerator
PROCEDURE_EQ 
PROCEDURE_LT 
PROCEDURE_LE 
PROCEDURE_GT 
PROCEDURE_GE 
PROCEDURE_RA 

Definition at line 56 of file detect-nfs-version.c.

Function Documentation

◆ DetectNfsVersionRegister()

void DetectNfsVersionRegister ( void  )

Registration function for nfs_procedure keyword.

Definition at line 90 of file detect-nfs-version.c.

References SigTableElmt_::alias, SigTableElmt_::AppLayerTxMatch, SigTableElmt_::desc, DETECT_AL_NFS_VERSION, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: