suricata
detect-template.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DetectTemplateData_
 

Typedefs

typedef struct DetectTemplateData_ DetectTemplateData
 

Functions

void DetectTemplateRegister (void)
 registers the keyword into the engine. Called from detect.c::SigTableSetup() More...
 

Detailed Description

Author
XXX Yourname <youremail@yourdomain>

Definition in file detect-template.h.

Typedef Documentation

◆ DetectTemplateData

Per keyword data. This is set up by the DetectTemplateSetup() function. Each signature will have an instance of DetectTemplateData per occurrence of the keyword. The structure should be considered static/readonly after initialization.

Function Documentation

◆ DetectTemplateRegister()

void DetectTemplateRegister ( void  )

registers the keyword into the engine. Called from detect.c::SigTableSetup()

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().

Here is the caller graph for this function: