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 "app-layer-dns-common.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 (ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, const Signature *s, const SigMatchData *smd, Flow *f, uint8_t flags, void *alstate, void *txv, uint64_t tx_id)
 
int DetectEngineInspectDnsResponse (ThreadVars *tv, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, const Signature *s, const SigMatchData *smd, 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

int DetectEngineInspectDnsRequest ( ThreadVars tv,
DetectEngineCtx de_ctx,
DetectEngineThreadCtx det_ctx,
const Signature s,
const SigMatchData smd,
Flow f,
uint8_t  flags,
void *  alstate,
void *  txv,
uint64_t  tx_id 
)

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

References DetectEngineInspectGenericList().

Referenced by DetectDnsQueryRegister().

Here is the call graph for this function:

Here is the caller graph for this function:

int DetectEngineInspectDnsResponse ( ThreadVars tv,
DetectEngineCtx de_ctx,
DetectEngineThreadCtx det_ctx,
const Signature s,
const SigMatchData smd,
Flow f,
uint8_t  flags,
void *  alstate,
void *  txv,
uint64_t  tx_id 
)

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

References DetectEngineInspectGenericList().

Referenced by DetectDnsQueryRegister().

Here is the call graph for this function:

Here is the caller graph for this function: