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

#define DETECT_DATASET_CMD_ISNOTSET   2

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

Referenced by DetectDatasetBufferMatch().

#define DETECT_DATASET_CMD_ISSET   3

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

Referenced by DetectDatasetBufferMatch().

#define DETECT_DATASET_CMD_MAX   4

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

#define DETECT_DATASET_CMD_SET   0

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

Referenced by DetectDatasetBufferMatch().

#define DETECT_DATASET_CMD_UNSET   1

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

Referenced by DetectDatasetBufferMatch().

Typedef Documentation

Function Documentation

void DetectDatasetRegister ( void  )

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

References SigTableElmt_::desc, DETECT_DATASET, DetectDatasetFree(), DetectSetupParseRegexes(), DOC_URL, DOC_VERSION, SigTableElmt_::Free, SigTableElmt_::name, PARSE_REGEX, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the call graph for this function:

Here is the caller graph for this function: