]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: generic structures for mpm with lists
authorPhilippe Antoine <contact@catenacyber.fr>
Sat, 16 May 2020 12:00:06 +0000 (14:00 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 6 Aug 2020 14:31:05 +0000 (16:31 +0200)
src/detect-engine-mpm.h

index 457ab7609d2ad02df5b84c0101262dd277f484dc..819b8fca1ae536bf31a660e183dd462bb029b8b9 100644 (file)
@@ -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__ */