suricata
|
#include "suricata-common.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-prefilter-common.h"
#include "detect-id.h"
#include "flow.h"
#include "flow-var.h"
#include "util-debug.h"
#include "util-byte.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
Go to the source code of this file.
Macros | |
#define | PARSE_REGEX "^\\s*([0-9]{1,5}|\"[0-9]{1,5}\")\\s*$" |
Regex for parsing "id" option, matching number or "number". More... | |
Functions | |
void | DetectIdFree (DetectEngineCtx *de_ctx, void *ptr) |
this function will free memory associated with DetectIdData More... | |
void | DetectIdRegister (void) |
Registration function for keyword: id. More... | |
Implements the id keyword
Definition in file detect-id.c.
#define PARSE_REGEX "^\\s*([0-9]{1,5}|\"[0-9]{1,5}\")\\s*$" |
Regex for parsing "id" option, matching number or "number".
Definition at line 48 of file detect-id.c.
void DetectIdFree | ( | DetectEngineCtx * | de_ctx, |
void * | ptr | ||
) |
this function will free memory associated with DetectIdData
id_d | pointer to DetectIdData |
Definition at line 217 of file detect-id.c.
References SCFree.
void DetectIdRegister | ( | void | ) |
Registration function for keyword: id.
Definition at line 65 of file detect-id.c.
References SigTableElmt_::desc, DETECT_ID, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().