]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
stream: pack config struct
authorVictor Julien <victor@inliniac.net>
Tue, 7 Mar 2017 21:41:23 +0000 (22:41 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 20 Apr 2017 15:41:11 +0000 (17:41 +0200)
src/stream-tcp.h

index 0f0e301e5081dd3611b8d13e24ca8297abf57623..17ce9c9a01cc84796a8d27ac6299a15db3174850 100644 (file)
@@ -46,6 +46,9 @@ typedef struct TcpStreamCnf_ {
 
     uint16_t stream_init_flags; /**< new stream flags will be initialized to this */
 
+    uint8_t flags;
+    uint8_t max_synack_queued;
+
     uint32_t prealloc_sessions; /**< ssns to prealloc per stream thread */
     uint32_t prealloc_segments; /**< segments to prealloc per stream thread */
     int midstream;
@@ -57,9 +60,6 @@ typedef struct TcpStreamCnf_ {
 
     int bypass;
 
-    uint8_t flags;
-    uint8_t max_synack_queued;
-
     StreamingBufferConfig sbcnf;
 } TcpStreamCnf;