suricata
|
#include "suricata-common.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-tag.h"
#include "detect-engine-tag.h"
#include "detect-engine.h"
#include "detect-engine-state.h"
#include "app-layer-parser.h"
#include "decode.h"
#include "flow.h"
#include "flow-var.h"
#include "flow-util.h"
#include "stream-tcp-private.h"
#include "util-time.h"
#include "util-byte.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-debug.h"
#include "threads.h"
Go to the source code of this file.
Macros | |
#define | PARSE_REGEX "^\\s*(host|session)\\s*(,\\s*(\\d+)\\s*,\\s*(packets|bytes|seconds)\\s*(,\\s*(src|dst))?\\s*)?$" |
Functions | |
SC_ATOMIC_EXTERN (unsigned int, num_tags) | |
void | DetectTagDataFree (DetectEngineCtx *de_ctx, void *ptr) |
this function will free memory associated with DetectTagData More... | |
void | DetectTagRegister (void) |
Registration function for keyword tag. More... | |
void | DetectTagDataListFree (void *ptr) |
this function will free all the entries of a list DetectTagDataEntry More... | |
Implements the tag keyword
Definition in file detect-tag.c.
#define PARSE_REGEX "^\\s*(host|session)\\s*(,\\s*(\\d+)\\s*,\\s*(packets|bytes|seconds)\\s*(,\\s*(src|dst))?\\s*)?$" |
Definition at line 55 of file detect-tag.c.
void DetectTagDataFree | ( | DetectEngineCtx * | de_ctx, |
void * | ptr | ||
) |
this function will free memory associated with DetectTagData
td | pointer to DetectTagData |
Definition at line 355 of file detect-tag.c.
References SCFree.
void DetectTagDataListFree | ( | void * | ptr | ) |
this function will free all the entries of a list DetectTagDataEntry
td | pointer to DetectTagDataEntryList |
Definition at line 336 of file detect-tag.c.
References DetectTagDataEntry_::next.
void DetectTagRegister | ( | void | ) |
Registration function for keyword tag.
Definition at line 69 of file detect-tag.c.
References DETECT_TAG, SigTableElmt_::Match, SigTableElmt_::name, and sigmatch_table.
Referenced by SigTableSetup().
SC_ATOMIC_EXTERN | ( | unsigned int | , |
num_tags | |||
) |