From: Victor Julien Date: Sat, 11 Feb 2023 13:27:00 +0000 (+0100) Subject: stream/config: optimize stream config structure layout X-Git-Tag: suricata-7.0.0-rc2~572 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd8e8fd7c3e09b94078b0a3bc7b546d39b35d060;p=thirdparty%2Fsuricata.git stream/config: optimize stream config structure layout --- diff --git a/src/stream-tcp.h b/src/stream-tcp.h index f6951406f8..f83d266738 100644 --- a/src/stream-tcp.h +++ b/src/stream-tcp.h @@ -58,13 +58,13 @@ typedef struct TcpStreamCnf_ { uint32_t prealloc_segments; /**< segments to prealloc per stream thread */ bool midstream; bool async_oneside; + bool streaming_log_api; + uint32_t reassembly_depth; /**< Depth until when we reassemble the stream */ uint16_t reassembly_toserver_chunk_size; uint16_t reassembly_toclient_chunk_size; - bool streaming_log_api; - enum ExceptionPolicy ssn_memcap_policy; enum ExceptionPolicy reassembly_memcap_policy; enum ExceptionPolicy midstream_policy;