suricata
detect-smb-version.c File Reference
#include "suricata-common.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "detect-engine-prefilter.h"
#include "detect-engine-content-inspection.h"
#include "detect-smb-version.h"
#include "rust.h"
Include dependency graph for detect-smb-version.c:

Go to the source code of this file.

Macros

#define BUFFER_NAME   "smb_version"
 
#define KEYWORD_NAME   "smb.version"
 

Functions

void DetectSmbVersionRegister (void)
 Registers the keyword handlers for the "smb_version" keyword. More...
 

Detailed Description

Author
Eloy PĂ©rez
Jason Taylor

Implements the smb.version keyword

Definition in file detect-smb-version.c.

Macro Definition Documentation

◆ BUFFER_NAME

#define BUFFER_NAME   "smb_version"

Definition at line 42 of file detect-smb-version.c.

◆ KEYWORD_NAME

#define KEYWORD_NAME   "smb.version"

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

Function Documentation

◆ DetectSmbVersionRegister()

void DetectSmbVersionRegister ( void  )

Registers the keyword handlers for the "smb_version" keyword.

registers the keyword into the engine. Called from detect.c::SigTableSetup()

Definition at line 135 of file detect-smb-version.c.

References DETECT_SMB_VERSION, KEYWORD_NAME, SigTableElmt_::name, SigTableElmt_::Setup, and sigmatch_table.

Referenced by SigTableSetup().

Here is the caller graph for this function: