]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
flow: reduce structure size by removing gap
authorVictor Julien <victor@inliniac.net>
Thu, 9 Aug 2018 09:14:33 +0000 (11:14 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 9 Aug 2018 15:37:10 +0000 (17:37 +0200)
src/flow.h

index 570911d62b403e6bc7410f4daea7b0c1b5d96f18..008ee01ad70c987c56b8b3d18b5578799fa9dda6 100644 (file)
@@ -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