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, SignatureMask mask, 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, SignatureMask mask, void(*Set)(PrefilterPacketHeaderValue *v, void *), bool(*Compare)(PrefilterPacketHeaderValue v, void *), void(*Match)(DetectEngineThreadCtx *det_ctx, Packet *p, const void *pectx))
 

Typedef Documentation

◆ PrefilterPacketHeaderHashCtx

Function Documentation

◆ PrefilterSetupPacketHeader()

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

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

◆ PrefilterSetupPacketHeaderU8Hash()

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

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