From 0507d1e8f8bc36e3966ed563725c5efc8f4cc019 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Sat, 16 May 2020 14:00:06 +0200 Subject: [PATCH] detect: generic structures for mpm with lists --- src/detect-engine-mpm.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/detect-engine-mpm.h b/src/detect-engine-mpm.h index 457ab7609d..819b8fca1a 100644 --- a/src/detect-engine-mpm.h +++ b/src/detect-engine-mpm.h @@ -120,5 +120,16 @@ int PrefilterGenericMpmPktRegister(DetectEngineCtx *de_ctx, const DetectBufferMpmRegistery *mpm_reg, int list_id); +typedef struct PrefilterMpmListId { + int list_id; + const MpmCtx *mpm_ctx; + const DetectEngineTransforms *transforms; +} PrefilterMpmListId; + +struct MpmListIdDataArgs { + int local_id; /**< used as index into thread inspect array */ + void *txv; +}; + #endif /* __DETECT_ENGINE_MPM_H__ */ -- 2.47.2