suricata
|
#include "suricata-common.h"
#include "stream-tcp.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine-prefilter-common.h"
#include "detect-engine-uint.h"
#include "detect-ttl.h"
#include "util-debug.h"
#include "util-byte.h"
#include "tests/detect-ttl.c"
Go to the source code of this file.
Functions | |
void | DetectTtlFree (DetectEngineCtx *de_ctx, void *ptr) |
this function will free memory associated with DetectU8Data | |
void | DetectTtlRegisterTests (void) |
this function registers unit tests for DetectTtl | |
void | DetectTtlRegister (void) |
Registration function for ttl: keyword. | |
Implements the ttl keyword including prefilter support.
Definition in file detect-ttl.c.
void DetectTtlFree | ( | DetectEngineCtx * | de_ctx, |
void * | ptr | ||
) |
this function will free memory associated with DetectU8Data
ptr | pointer to DetectU8Data |
Definition at line 132 of file detect-ttl.c.
Referenced by DetectTtlRegister().
void DetectTtlRegister | ( | void | ) |
Registration function for ttl: keyword.
Definition at line 54 of file detect-ttl.c.
References SigTableElmt_::desc, DETECT_TTL, DetectTtlFree(), DetectTtlRegisterTests(), SigTableElmt_::Free, SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::RegisterTests, SigTableElmt_::Setup, SigTableElmt_::SetupPrefilter, sigmatch_table, SigTableElmt_::SupportsPrefilter, and SigTableElmt_::url.
Referenced by SigTableSetup().
void DetectTtlRegisterTests | ( | void | ) |
this function registers unit tests for DetectTtl
Definition at line 212 of file detect-ttl.c.
References UtRegisterTest().
Referenced by DetectTtlRegister().