diff --git a/src/detect-engine-frame.c b/src/detect-engine-frame.c index 1046aede45..33d78ced7a 100644 --- a/src/detect-engine-frame.c +++ b/src/detect-engine-frame.c @@ -40,6 +40,10 @@ #include "util-validate.h" #include "util-print.h" +static InspectionBuffer *DetectFrame2InspectBuffer(DetectEngineThreadCtx *det_ctx, + const DetectEngineTransforms *transforms, Packet *p, const Frames *frames, + const Frame *frame, const int list_id, const uint32_t idx, const bool first); + void DetectRunPrefilterFrame(DetectEngineThreadCtx *det_ctx, const SigGroupHead *sgh, Packet *p, const Frames *frames, const Frame *frame, const AppProto alproto, const uint32_t idx) { @@ -300,7 +304,7 @@ static int FrameStreamDataFunc( return 1; // for now only the first chunk } -InspectionBuffer *DetectFrame2InspectBuffer(DetectEngineThreadCtx *det_ctx, +static InspectionBuffer *DetectFrame2InspectBuffer(DetectEngineThreadCtx *det_ctx, const DetectEngineTransforms *transforms, Packet *p, const Frames *frames, const Frame *frame, const int list_id, const uint32_t idx, const bool first) { diff --git a/src/detect-engine-frame.h b/src/detect-engine-frame.h index 82dc144ff2..9fe2385b15 100644 --- a/src/detect-engine-frame.h +++ b/src/detect-engine-frame.h @@ -31,9 +31,6 @@ int DetectRunFrameInspectRule(ThreadVars *tv, DetectEngineThreadCtx *det_ctx, co int PrefilterGenericMpmFrameRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, MpmCtx *mpm_ctx, const DetectBufferMpmRegistery *mpm_reg, int list_id); -InspectionBuffer *DetectFrame2InspectBuffer(DetectEngineThreadCtx *det_ctx, - const DetectEngineTransforms *transforms, Packet *p, const Frames *frames, - const Frame *frame, const int list_id, const uint32_t idx, const bool first); int DetectEngineInspectFrameBufferGeneric(DetectEngineThreadCtx *det_ctx, const DetectEngineFrameInspectionEngine *engine, const Signature *s, Packet *p, const Frames *frames, const Frame *frame, const uint32_t idx);