suricata
detect-engine-prefilter-common.c File Reference
Include dependency graph for detect-engine-prefilter-common.c:

Go to the source code of this file.

Data Structures

struct  PrefilterPacketHeaderHashCtx_
 

Typedefs

typedef struct PrefilterPacketHeaderHashCtx_ PrefilterPacketHeaderHashCtx
 

Functions

int PrefilterSetupPacketHeaderU8Hash (DetectEngineCtx *de_ctx, SigGroupHead *sgh, int sm_type, void(*Set)(PrefilterPacketHeaderValue *v, void *), _Bool(*Compare)(PrefilterPacketHeaderValue v, void *), void(*Match)(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx))
 
int PrefilterSetupPacketHeader (DetectEngineCtx *de_ctx, SigGroupHead *sgh, int sm_type, void(*Set)(PrefilterPacketHeaderValue *v, void *), _Bool(*Compare)(PrefilterPacketHeaderValue v, void *), void(*Match)(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx))
 

Typedef Documentation

Function Documentation

int PrefilterSetupPacketHeader ( DetectEngineCtx de_ctx,
SigGroupHead sgh,
int  sm_type,
void(*)(PrefilterPacketHeaderValue *v, void *)  Set,
_Bool(*)(PrefilterPacketHeaderValue v, void *)  Compare,
void(*)(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx)  Match 
)
int PrefilterSetupPacketHeaderU8Hash ( DetectEngineCtx de_ctx,
SigGroupHead sgh,
int  sm_type,
void(*)(PrefilterPacketHeaderValue *v, void *)  Set,
_Bool(*)(PrefilterPacketHeaderValue v, void *)  Compare,
void(*)(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx)  Match 
)

Definition at line 395 of file detect-engine-prefilter-common.c.

References TRUE.

Referenced by DetectICodeFree(), and DetectITypeFree().

Here is the caller graph for this function: