suricata
detect-entropy.c File Reference
#include "suricata-common.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-entropy.h"
#include "rust.h"
Include dependency graph for detect-entropy.c:

Go to the source code of this file.

Functions

bool DetectEntropyDoMatch (DetectEngineThreadCtx *det_ctx, const Signature *s, const SigMatchCtx *ctx, const uint8_t *buffer, const uint32_t buffer_len)
 
void DetectEntropyRegister (void)
 

Function Documentation

◆ DetectEntropyDoMatch()

bool DetectEntropyDoMatch ( DetectEngineThreadCtx det_ctx,
const Signature s,
const SigMatchCtx ctx,
const uint8_t *  buffer,
const uint32_t  buffer_len 
)

Definition at line 62 of file detect-entropy.c.

References ctx.

◆ DetectEntropyRegister()

void DetectEntropyRegister ( void  )

Definition at line 68 of file detect-entropy.c.

References SigTableElmt_::desc, DETECT_BYTE_EXTRACT, DETECT_ENTROPY, SigTableElmt_::Free, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: