From 901e99fa951c9735b4d5b256f7a2d47727177226 Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Thu, 2 Mar 2023 12:58:17 +0530 Subject: [PATCH] detect: add comments for DETECT_SM_LIST_* types --- src/detect.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/detect.h b/src/detect.h index 5f6d90242b..2a1b7c6d2f 100644 --- a/src/detect.h +++ b/src/detect.h @@ -75,7 +75,9 @@ struct SCSigSignatureWrapper_; * These codes are access points to particular lists in the array * Signature->sm_lists[DETECT_SM_LIST_MAX]. */ enum DetectSigmatchListEnum { + /* list for non-payload per packet matches, e.g. ttl, flow keyword */ DETECT_SM_LIST_MATCH = 0, + /* list for payload and stream match */ DETECT_SM_LIST_PMATCH, /* base64_data keyword uses some hardcoded logic so consider