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

Go to the source code of this file.

Functions

int DetectHelperBufferRegister (const char *name, AppProto alproto, bool toclient, bool toserver)
 
InspectionBufferDetectHelperGetData (struct DetectEngineThreadCtx_ *det_ctx, const DetectEngineTransforms *transforms, Flow *f, const uint8_t flow_flags, void *txv, const int list_id, bool(*GetBuf)(void *txv, const uint8_t flow_flags, const uint8_t **buf, uint32_t *buf_len))
 
int DetectHelperBufferMpmRegister (const char *name, const char *desc, AppProto alproto, bool toclient, bool toserver, InspectionBufferGetDataPtr GetData)
 
int DetectHelperMultiBufferMpmRegister (const char *name, const char *desc, AppProto alproto, bool toclient, bool toserver, InspectionMultiBufferGetDataPtr GetData)
 
int DetectHelperKeywordRegister (const SCSigTableElmt *kw)
 
InspectionBufferDetectHelperGetMultiData (struct DetectEngineThreadCtx_ *det_ctx, const DetectEngineTransforms *transforms, Flow *f, const uint8_t flow_flags, void *txv, const int list_id, uint32_t index, MultiGetTxBuffer GetBuf)
 

Detailed Description

Function Documentation

◆ DetectHelperBufferMpmRegister()

int DetectHelperBufferMpmRegister ( const char *  name,
const char *  desc,
AppProto  alproto,
bool  toclient,
bool  toserver,
InspectionBufferGetDataPtr  GetData 
)

Definition at line 65 of file detect-engine-helper.c.

◆ DetectHelperBufferRegister()

int DetectHelperBufferRegister ( const char *  name,
AppProto  alproto,
bool  toclient,
bool  toserver 
)

◆ DetectHelperGetData()

InspectionBuffer* DetectHelperGetData ( struct DetectEngineThreadCtx_ det_ctx,
const DetectEngineTransforms transforms,
Flow f,
const uint8_t  flow_flags,
void *  txv,
const int  list_id,
bool(*)(void *txv, const uint8_t flow_flags, const uint8_t **buf, uint32_t *buf_len)  GetBuf 
)

◆ DetectHelperGetMultiData()

InspectionBuffer* DetectHelperGetMultiData ( struct DetectEngineThreadCtx_ det_ctx,
const DetectEngineTransforms transforms,
Flow f,
const uint8_t  flow_flags,
void *  txv,
const int  list_id,
uint32_t  index,
MultiGetTxBuffer  GetBuf 
)

◆ DetectHelperKeywordRegister()

◆ DetectHelperMultiBufferMpmRegister()

int DetectHelperMultiBufferMpmRegister ( const char *  name,
const char *  desc,
AppProto  alproto,
bool  toclient,
bool  toserver,
InspectionMultiBufferGetDataPtr  GetData 
)

Definition at line 84 of file detect-engine-helper.c.