From: Victor Julien Date: Tue, 7 Mar 2017 21:41:23 +0000 (+0100) Subject: stream: pack config struct X-Git-Tag: suricata-4.0.0-beta1~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b433fab53298e2e4d652ecc991863cefd1a9aef;p=thirdparty%2Fsuricata.git stream: pack config struct --- diff --git a/src/stream-tcp.h b/src/stream-tcp.h index 0f0e301e50..17ce9c9a01 100644 --- a/src/stream-tcp.h +++ b/src/stream-tcp.h @@ -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;