|
|
@ -654,10 +654,13 @@ static uint8_t DetectEngineInspectFiledata(DetectEngineCtx *de_ctx, DetectEngine
|
|
|
|
* \param flags STREAM_* flags including direction
|
|
|
|
* \param flags STREAM_* flags including direction
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static void PrefilterTxFiledata(DetectEngineThreadCtx *det_ctx, const void *pectx, Packet *p,
|
|
|
|
static void PrefilterTxFiledata(DetectEngineThreadCtx *det_ctx, const void *pectx, Packet *p,
|
|
|
|
Flow *f, void *txv, const uint64_t idx, const AppLayerTxData *_txd, const uint8_t flags)
|
|
|
|
Flow *f, void *txv, const uint64_t idx, const AppLayerTxData *txd, const uint8_t flags)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
SCEnter();
|
|
|
|
SCEnter();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!AppLayerParserHasFilesInDir(txd, flags))
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
const PrefilterMpmFiledata *ctx = (const PrefilterMpmFiledata *)pectx;
|
|
|
|
const PrefilterMpmFiledata *ctx = (const PrefilterMpmFiledata *)pectx;
|
|
|
|
const MpmCtx *mpm_ctx = ctx->mpm_ctx;
|
|
|
|
const MpmCtx *mpm_ctx = ctx->mpm_ctx;
|
|
|
|
const int list_id = ctx->list_id;
|
|
|
|
const int list_id = ctx->list_id;
|
|
|
|