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

Go to the source code of this file.

Data Structures

struct  DetectDatasetData_
 

Macros

#define DETECT_DATASET_CMD_SET   0
 
#define DETECT_DATASET_CMD_UNSET   1
 
#define DETECT_DATASET_CMD_ISNOTSET   2
 
#define DETECT_DATASET_CMD_ISSET   3
 
#define DETECT_DATASET_CMD_MAX   4
 

Typedefs

typedef struct DetectDatasetData_ DetectDatasetData
 

Functions

int DetectDatasetBufferMatch (DetectEngineThreadCtx *det_ctx, const DetectDatasetData *sd, const uint8_t *data, const uint32_t data_len)
 
void DetectDatasetRegister (void)
 

Detailed Description

Macro Definition Documentation

◆ DETECT_DATASET_CMD_ISNOTSET

#define DETECT_DATASET_CMD_ISNOTSET   2

Definition at line 31 of file detect-dataset.h.

◆ DETECT_DATASET_CMD_ISSET

#define DETECT_DATASET_CMD_ISSET   3

Definition at line 32 of file detect-dataset.h.

◆ DETECT_DATASET_CMD_MAX

#define DETECT_DATASET_CMD_MAX   4

Definition at line 34 of file detect-dataset.h.

◆ DETECT_DATASET_CMD_SET

#define DETECT_DATASET_CMD_SET   0

Definition at line 29 of file detect-dataset.h.

◆ DETECT_DATASET_CMD_UNSET

#define DETECT_DATASET_CMD_UNSET   1

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

Typedef Documentation

◆ DetectDatasetData

Function Documentation

◆ DetectDatasetBufferMatch()

int DetectDatasetBufferMatch ( DetectEngineThreadCtx det_ctx,
const DetectDatasetData sd,
const uint8_t *  data,
const uint32_t  data_len 
)

◆ DetectDatasetRegister()

void DetectDatasetRegister ( void  )

Definition at line 49 of file detect-dataset.c.

References SigTableElmt_::desc, DETECT_DATASET, DOC_URL, DOC_VERSION, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: