detect-dataset.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "detect.h"
#include "threads.h"
#include "datasets.h"
#include "detect-dataset.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "util-debug.h"
#include "util-print.h"
#include "util-misc.h"
Include dependency graph for detect-dataset.c:

Go to the source code of this file.


int DetectDatasetMatch (ThreadVars *, DetectEngineThreadCtx *, Packet *, const Signature *, const SigMatchCtx *)
void DetectDatasetFree (DetectEngineCtx *, void *)
void DetectDatasetRegister (void)
int DetectDatasetBufferMatch (DetectEngineThreadCtx *det_ctx, const DetectDatasetData *sd, const uint8_t *data, const uint32_t data_len)

Detailed Description

Victor Julien

Implements the dataset keyword

Definition in file detect-dataset.c.

Function Documentation

◆ DetectDatasetBufferMatch()

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

◆ DetectDatasetFree()

void DetectDatasetFree ( DetectEngineCtx de_ctx,
void *  ptr 

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

References SCFree.

◆ DetectDatasetMatch()

int DetectDatasetMatch ( ThreadVars ,
DetectEngineThreadCtx ,
Packet ,
const Signature ,
const SigMatchCtx  

◆ DetectDatasetRegister()

void DetectDatasetRegister ( void  )

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

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

Referenced by SigTableSetup().

Here is the caller graph for this function: