From: Victor Julien Date: Thu, 9 Aug 2018 09:14:33 +0000 (+0200) Subject: flow: reduce structure size by removing gap X-Git-Tag: suricata-4.1.0-rc2~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=adfcb1071bcf0da2bbf8114844bbc0df9feecf29;p=thirdparty%2Fsuricata.git flow: reduce structure size by removing gap --- diff --git a/src/flow.h b/src/flow.h index 570911d62b..008ee01ad7 100644 --- a/src/flow.h +++ b/src/flow.h @@ -374,9 +374,6 @@ typedef struct Flow_ uint32_t flags; /**< generic flags */ - /* Parent flow id for protocol like ftp */ - int64_t parent_id; - uint16_t file_flags; /**< file tracking/extraction flags */ /* coccinelle: Flow:file_flags:FLOWFILE_ */ @@ -384,6 +381,9 @@ typedef struct Flow_ * for use with STARTTLS and HTTP CONNECT detection */ uint16_t protodetect_dp; /**< 0 if not used */ + /* Parent flow id for protocol like ftp */ + int64_t parent_id; + #ifdef FLOWLOCK_RWLOCK SCRWLock r; #elif defined FLOWLOCK_MUTEX