suricata
detect-datarep.h File Reference
#include "datasets.h"
#include "datasets-reputation.h"
Include dependency graph for detect-datarep.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DetectDatarepData_
 

Typedefs

typedef struct DetectDatarepData_ DetectDatarepData
 

Enumerations

enum  DetectDatarepOp { DATAREP_OP_GT, DATAREP_OP_LT, DATAREP_OP_EQ }
 

Functions

int DetectDatarepBufferMatch (DetectEngineThreadCtx *det_ctx, const DetectDatarepData *sd, const uint8_t *data, const uint32_t data_len)
 
void DetectDatarepRegister (void)
 

Detailed Description

Typedef Documentation

◆ DetectDatarepData

Enumeration Type Documentation

◆ DetectDatarepOp

Enumerator
DATAREP_OP_GT 
DATAREP_OP_LT 
DATAREP_OP_EQ 

Definition at line 30 of file detect-datarep.h.

Function Documentation

◆ DetectDatarepBufferMatch()

int DetectDatarepBufferMatch ( DetectEngineThreadCtx det_ctx,
const DetectDatarepData sd,
const uint8_t *  data,
const uint32_t  data_len 
)

◆ DetectDatarepRegister()

void DetectDatarepRegister ( void  )

Definition at line 52 of file detect-datarep.c.

References SigTableElmt_::desc, DETECT_DATAREP, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: