suricata
|
#include "suricata-common.h"
#include "util-unittest.h"
#include "util-byte.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-template.h"
#include "tests/detect-template.c"
Go to the source code of this file.
Macros | |
#define | PARSE_REGEX "^\\s*([0-9]+)?\\s*,s*([0-9]+)?\\s*$" |
Regex for parsing our keyword options. More... | |
Functions | |
void | DetectTemplateRegister (void) |
Registration function for template: keyword. More... | |
XXX Short description of the purpose of this keyword
Definition in file detect-template.c.
#define PARSE_REGEX "^\\s*([0-9]+)?\\s*,s*([0-9]+)?\\s*$" |
Regex for parsing our keyword options.
Definition at line 39 of file detect-template.c.
void DetectTemplateRegister | ( | void | ) |
Registration function for template: keyword.
registers the keyword into the engine. Called from detect.c::SigTableSetup()
This function is called once in the 'lifetime' of the engine.
Definition at line 55 of file detect-template.c.
References SigTableElmt_::desc, DETECT_TEMPLATE, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().