diff options
author | 2021-04-22 16:58:23 -0700 | |
---|---|---|
committer | 2021-04-23 15:00:50 +0000 | |
commit | 646984080358df8091c4fb10890a033777d90e4c (patch) | |
tree | c3342de480457fb1124702cf3b1873ceea5561b8 /src/vnet/tcp/tcp_packet.h | |
parent | e5f18337f1f5d8b8578b6305b7c11276cc5a18a0 (diff) |
tcp: reorganize connection members
Optimize connection size and move timestamp_delta closer to other
timestamp related members.
Type: refactor
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Iec42efb46482ebfdf234518a4e91af836e4f4c07
Diffstat (limited to 'src/vnet/tcp/tcp_packet.h')
-rw-r--r-- | src/vnet/tcp/tcp_packet.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/tcp/tcp_packet.h b/src/vnet/tcp/tcp_packet.h index f9c6db4f8c4..b0636d871d5 100644 --- a/src/vnet/tcp/tcp_packet.h +++ b/src/vnet/tcp/tcp_packet.h @@ -142,12 +142,12 @@ typedef struct _sack_block typedef struct { - u8 flags; /** Option flags, see above */ - u8 wscale; /**< Window scale advertised */ - u16 mss; /**< Maximum segment size advertised */ + sack_block_t *sacks; /**< SACK blocks */ u32 tsval; /**< Timestamp value */ u32 tsecr; /**< Echoed/reflected time stamp */ - sack_block_t *sacks; /**< SACK blocks */ + u16 mss; /**< Maximum segment size advertised */ + u8 flags; /**< Option flags, see above */ + u8 wscale; /**< Window scale advertised */ u8 n_sack_blocks; /**< Number of SACKs blocks */ } tcp_options_t; |