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*$"
 
#define MAX_SUBSTRINGS   30
 

Functions

void SCPriorityRegisterTests (void)
 This function registers unit tests for Classification Config API. More...
 
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

#define MAX_SUBSTRINGS   30

Referenced by DetectPriorityRegister().

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

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

Referenced by DetectPriorityRegister().

Function Documentation

void SCPriorityRegisterTests ( void  )

This function registers unit tests for Classification Config API.

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

References UtRegisterTest().

Referenced by DetectPriorityRegister().

Here is the call graph for this function:

Here is the caller graph for this function: