suricata
detect-priority.c File Reference
#include "suricata-common.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-priority.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "util-error.h"
#include "util-debug.h"
#include "util-unittest.h"
Include dependency graph for detect-priority.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "^\\s*(\\d+|\"\\d+\")\\s*$"
 

Functions

void DetectPriorityRegister (void)
 Registers the handler functions for the "priority" keyword. More...
 

Detailed Description

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

Implements the priority keyword

Definition in file detect-priority.c.

Macro Definition Documentation

◆ PARSE_REGEX

#define PARSE_REGEX   "^\\s*(\\d+|\"\\d+\")\\s*$"

Definition at line 38 of file detect-priority.c.

Function Documentation

◆ DetectPriorityRegister()

void DetectPriorityRegister ( void  )

Registers the handler functions for the "priority" keyword.

Definition at line 49 of file detect-priority.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function: