suricata
detect-classtype.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-classtype.h"
#include "util-classification-config.h"
#include "util-error.h"
#include "util-debug.h"
#include "util-unittest.h"
Include dependency graph for detect-classtype.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "^\\s*([a-zA-Z][a-zA-Z0-9-_]*)\\s*$"
 

Functions

void DetectClasstypeRegister (void)
 Registers the handler functions for the "Classtype" keyword. More...
 

Detailed Description

Author
Anoop Saldanha anoop.nosp@m.sald.nosp@m.anha@.nosp@m.gmai.nosp@m.l.com
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Implements classtype keyword.

Definition in file detect-classtype.c.

Macro Definition Documentation

◆ PARSE_REGEX

#define PARSE_REGEX   "^\\s*([a-zA-Z][a-zA-Z0-9-_]*)\\s*$"

Definition at line 40 of file detect-classtype.c.

Function Documentation

◆ DetectClasstypeRegister()

void DetectClasstypeRegister ( void  )

Registers the handler functions for the "Classtype" keyword.

Definition at line 51 of file detect-classtype.c.

References SigTableElmt_::desc, DETECT_CLASSTYPE, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: