From: Philippe Antoine Date: Sat, 16 May 2020 12:00:06 +0000 (+0200) Subject: detect: generic structures for mpm with lists X-Git-Tag: suricata-6.0.0-beta1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0507d1e8f8bc36e3966ed563725c5efc8f4cc019;p=thirdparty%2Fsuricata.git detect: generic structures for mpm with lists --- 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__ */