From 6acef7fa16c6bf95efa9e4e4bb7d1a89b7c8bf6e Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 9 Feb 2026 09:47:02 +0100 Subject: [PATCH] flow: move members for more compact layout Closes a hole. --- src/flow.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/flow.h b/src/flow.h index 296f6a1994..08b89487ab 100644 --- a/src/flow.h +++ b/src/flow.h @@ -395,6 +395,12 @@ typedef struct Flow_ uint64_t flags; /**< generic flags */ + uint16_t file_flags; /**< file tracking/extraction flags */ + + /** destination port to be used in protocol detection. This is meant + * for use with STARTTLS and HTTP CONNECT detection */ + uint16_t protodetect_dp; /**< 0 if not used */ + /** timeout in seconds by policy, add to Flow::lastts to get actual time this times out. * Ignored in emergency mode. */ uint32_t timeout_policy; @@ -413,12 +419,6 @@ typedef struct Flow_ uint32_t probing_parser_toserver_alproto_masks; uint32_t probing_parser_toclient_alproto_masks; - uint16_t file_flags; /**< file tracking/extraction flags */ - - /** destination port to be used in protocol detection. This is meant - * 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;