suricata
detect-template2.c File Reference
#include "suricata-common.h"
#include "util-byte.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine-prefilter-common.h"
#include "detect-engine-uint.h"
#include "detect-template2.h"
Include dependency graph for detect-template2.c:

Go to the source code of this file.

Functions

void DetectTemplate2Free (DetectEngineCtx *de_ctx, void *ptr)
 this function will free memory associated with DetectU8Data More...
 
void DetectTemplate2RegisterTests (void)
 
void DetectTemplate2Register (void)
 Registration function for template2: keyword. More...
 

Detailed Description

Author
XXX

Definition in file detect-template2.c.

Function Documentation

◆ DetectTemplate2Free()

void DetectTemplate2Free ( DetectEngineCtx de_ctx,
void *  ptr 
)

this function will free memory associated with DetectU8Data

Parameters
ptrpointer to DetectU8Data

Definition at line 128 of file detect-template2.c.

◆ DetectTemplate2Register()

void DetectTemplate2Register ( void  )

Registration function for template2: keyword.

Definition at line 51 of file detect-template2.c.

References SigTableElmt_::desc, DETECT_TEMPLATE2, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ DetectTemplate2RegisterTests()

void DetectTemplate2RegisterTests ( void  )