suricata
detect-engine-dns.c File Reference
#include "suricata-common.h"
#include "suricata.h"
#include "decode.h"
#include "detect.h"
#include "detect-engine.h"
#include "detect-parse.h"
#include "detect-engine-state.h"
#include "detect-engine-content-inspection.h"
#include "detect-engine-prefilter.h"
#include "flow-util.h"
#include "util-debug.h"
#include "util-print.h"
#include "flow.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-protos.h"
#include "detect-engine-dns.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-validate.h"
Include dependency graph for detect-engine-dns.c:

Go to the source code of this file.

Functions

int DetectEngineInspectDnsRequest (DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, const struct DetectEngineAppInspectionEngine_ *engine, const Signature *s, Flow *f, uint8_t flags, void *alstate, void *txv, uint64_t tx_id)
 
int DetectEngineInspectDnsResponse (DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, const struct DetectEngineAppInspectionEngine_ *engine, const Signature *s, Flow *f, uint8_t flags, void *alstate, void *txv, uint64_t tx_id)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Based on detect-engine-uri.c

Definition in file detect-engine-dns.c.

Function Documentation

◆ DetectEngineInspectDnsRequest()

int DetectEngineInspectDnsRequest ( DetectEngineCtx de_ctx,
DetectEngineThreadCtx det_ctx,
const struct DetectEngineAppInspectionEngine_ engine,
const Signature s,
Flow f,
uint8_t  flags,
void *  alstate,
void *  txv,
uint64_t  tx_id 
)

Definition at line 50 of file detect-engine-dns.c.

References de_ctx, DetectEngineInspectGenericList(), flags, and DetectEngineAppInspectionEngine_::smd.

Here is the call graph for this function:

◆ DetectEngineInspectDnsResponse()

int DetectEngineInspectDnsResponse ( DetectEngineCtx de_ctx,
DetectEngineThreadCtx det_ctx,
const struct DetectEngineAppInspectionEngine_ engine,
const Signature s,
Flow f,
uint8_t  flags,
void *  alstate,
void *  txv,
uint64_t  tx_id 
)

Definition at line 58 of file detect-engine-dns.c.

References de_ctx, DetectEngineInspectGenericList(), flags, and DetectEngineAppInspectionEngine_::smd.

Here is the call graph for this function: