suricata
detect-igmp-type.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine-prefilter-common.h"
#include "detect-engine-build.h"
#include "detect-igmp-type.h"
#include "detect-engine-uint.h"
#include "util-byte.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-debug.h"
Include dependency graph for detect-igmp-type.c:

Go to the source code of this file.

Functions

void DetectIGMPTypeFree (DetectEngineCtx *de_ctx, void *ptr)
 this function will free memory associated with DetectU8Data More...
 
void DetectIGMPTypeRegister (void)
 Registration function for igmp.type keyword. More...
 

Detailed Description

Implements igmp.type keyword support

Definition in file detect-igmp-type.c.

Function Documentation

◆ DetectIGMPTypeFree()

void DetectIGMPTypeFree ( DetectEngineCtx de_ctx,
void *  ptr 
)

this function will free memory associated with DetectU8Data

Parameters
ptrpointer to DetectU8Data

Definition at line 126 of file detect-igmp-type.c.

◆ DetectIGMPTypeRegister()

void DetectIGMPTypeRegister ( void  )

Registration function for igmp.type keyword.

Definition at line 51 of file detect-igmp-type.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function: