Go to the documentation of this file.
30 DetectEntropyData *ded = SCDetectEntropyParse(arg);
52 SCDetectEntropyFree(ded);
59 SCDetectEntropyFree(ptr);
63 const SigMatchCtx *
ctx,
const uint8_t *buffer,
const uint32_t buffer_len)
65 return SCDetectEntropyMatch(buffer, buffer_len, (
const DetectEntropyData *)
ctx);
SigTableElmt * sigmatch_table
void(* Free)(DetectEngineCtx *, void *)
bool DetectEntropyDoMatch(DetectEngineThreadCtx *det_ctx, const Signature *s, const SigMatchCtx *ctx, const uint8_t *buffer, const uint32_t buffer_len)
main detection engine ctx
int DetectBufferGetActiveList(DetectEngineCtx *de_ctx, Signature *s)
int(* Setup)(DetectEngineCtx *, Signature *, const char *)
SignatureInitData * init_data
Used to start a pointer to SigMatch context Should never be dereferenced without casting to something...
#define DETECT_SM_LIST_NOTSET
void DetectEntropyRegister(void)
SigMatch * SigMatchAppendSMToList(DetectEngineCtx *de_ctx, Signature *s, uint16_t type, SigMatchCtx *ctx, const int list)
Append a SigMatch to the list type.