From: Victor Julien Date: Wed, 21 Oct 2015 06:35:24 +0000 (+0200) Subject: detect: optimize sgh layout X-Git-Tag: suricata-3.1RC1~320 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af3bf3dc7a6580b6cdca273201eb82998715d94f;p=thirdparty%2Fsuricata.git detect: optimize sgh layout --- diff --git a/src/detect.h b/src/detect.h index 721cd8a29a..808fd69820 100644 --- a/src/detect.h +++ b/src/detect.h @@ -967,10 +967,10 @@ typedef struct SigGroupHead_ { /* non mpm list excluding SYN rules */ uint32_t non_mpm_other_store_cnt; + uint32_t non_mpm_syn_store_cnt; SignatureNonMpmStore *non_mpm_other_store_array; // size is non_mpm_store_cnt * sizeof(SignatureNonMpmStore) /* non mpm list including SYN rules */ SignatureNonMpmStore *non_mpm_syn_store_array; // size is non_mpm_syn_store_cnt * sizeof(SignatureNonMpmStore) - uint32_t non_mpm_syn_store_cnt; /** the number of signatures in this sgh that have the filestore keyword * set. */