suricata
detect-engine-frame.h
Go to the documentation of this file.
1 /* Copyright (C) 2021 Open Information Security Foundation
2  *
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
5  * Software Foundation.
6  *
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.
11  *
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
15  * 02110-1301, USA.
16  */
17 
18 /**
19  * \file
20  *
21  * \author Victor Julien <victor@inliniac.net>
22  *
23  */
24 
25 #include "app-layer-frames.h"
26 
28  const Frames *frames, const Frame *frame, const AppProto alproto);
30  Flow *f, Packet *p, const Frames *frames, const Frame *frame);
31 
33  const DetectEngineFrameInspectionEngine *engine, const Signature *s, Packet *p,
34  const Frames *frames, const Frame *frame);
SigGroupHead_
Container for matching data for a signature group.
Definition: detect.h:1465
FrameStreamData::frame
const Frame * frame
Definition: detect-engine-frame.c:47
AppProto
uint16_t AppProto
Definition: app-layer-protos.h:81
Frame
Definition: app-layer-frames.h:43
Flow_
Flow data structure.
Definition: flow.h:356
FrameStreamData::det_ctx
DetectEngineThreadCtx * det_ctx
Definition: detect-engine-frame.c:45
Frames
Definition: app-layer-frames.h:58
DetectEngineInspectFrameBufferGeneric
int DetectEngineInspectFrameBufferGeneric(DetectEngineThreadCtx *det_ctx, const DetectEngineFrameInspectionEngine *engine, const Signature *s, Packet *p, const Frames *frames, const Frame *frame)
Do the content inspection & validation for a signature.
Definition: detect-engine-frame.c:556
DetectEngineThreadCtx_
Definition: detect.h:1098
ThreadVars_
Per thread variable structure.
Definition: threadvars.h:58
Packet_
Definition: decode.h:476
DetectEngineFrameInspectionEngine
Definition: detect.h:513
app-layer-frames.h
DetectRunPrefilterFrame
void DetectRunPrefilterFrame(DetectEngineThreadCtx *det_ctx, const SigGroupHead *sgh, Packet *p, const Frames *frames, const Frame *frame, const AppProto alproto)
Definition: detect-engine-frame.c:73
tv
ThreadVars * tv
Definition: fuzz_decodepcapfile.c:32
Signature_
Signature container.
Definition: detect.h:603
FrameStreamData::s
const Signature * s
Definition: detect-engine-frame.c:53
DetectRunFrameInspectRule
bool DetectRunFrameInspectRule(ThreadVars *tv, DetectEngineThreadCtx *det_ctx, const Signature *s, Flow *f, Packet *p, const Frames *frames, const Frame *frame)
Definition: detect-engine-frame.c:227
FrameStreamData::p
Packet * p
Definition: detect-engine-frame.c:55