diff options
author | Eugene Adell <eugene.adell@gmail.com> | 2021-01-24 13:56:19 +0100 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2021-01-26 08:20:43 +0000 |
commit | f255f6c683a1f3b895f3adf692505a79baddae34 (patch) | |
tree | 0fea04ce5a33af6938cdeb79fc933980012d739a /epan/dissectors/packet-tcp.h | |
parent | 32cadbacb15ee54a4c5896322d9cf7f7fa5dd80b (diff) |
TCP: Taking SACK's into account for in flight calculation
TCP in flight calculation was based on Sequence analysis only.
We now also look at the SACK blocks and give a more accurate
view of the in flight reality. Closes #6683.
Diffstat (limited to 'epan/dissectors/packet-tcp.h')
-rw-r--r-- | epan/dissectors/packet-tcp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-tcp.h b/epan/dissectors/packet-tcp.h index 512896bc95..900e7292ca 100644 --- a/epan/dissectors/packet-tcp.h +++ b/epan/dissectors/packet-tcp.h @@ -312,6 +312,14 @@ typedef struct tcp_analyze_seq_flow_info_t { * fast retransmissions and outoforder */ + /* + * Handling of SACK blocks + * Copied from tcpheader + */ + guint8 num_sack_ranges; + guint32 sack_left_edge[MAX_TCP_SACK_RANGES]; + guint32 sack_right_edge[MAX_TCP_SACK_RANGES]; + } tcp_analyze_seq_flow_info_t; /* Process info, currently discovered via IPFIX */ |