1 /* Copyright (C) 2013 Open Information Security Foundation
3 * You can copy, redistribute or modify this Program under the terms of
4 * the GNU General Public License version 2 as published by the Free
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * version 2 along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 * \author Victor Julien <victor@inliniac.net>
23 #ifndef __DETECT_ENGINE_DNS_H__
24 #define __DETECT_ENGINE_DNS_H__
26 int DetectEngineInspectDnsRequest(DetectEngineCtx
*de_ctx
, DetectEngineThreadCtx
*det_ctx
,
27 const struct DetectEngineAppInspectionEngine_
*engine
, const Signature
*s
, Flow
*f
,
28 uint8_t flags
, void *alstate
, void *txv
, uint64_t tx_id
);
29 int DetectEngineInspectDnsResponse(DetectEngineCtx
*de_ctx
, DetectEngineThreadCtx
*det_ctx
,
30 const struct DetectEngineAppInspectionEngine_
*engine
, const Signature
*s
, Flow
*f
,
31 uint8_t flags
, void *alstate
, void *txv
, uint64_t tx_id
);
33 #endif /* __DETECT_ENGINE_DNS_H__ */