MINOR: quic: Add a counter for reordered packets
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 13 Feb 2024 20:24:40 +0000 (21:24 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 14 Feb 2024 15:39:46 +0000 (16:39 +0100)
commit3f8794d043c45e9ce624e8d9cf6c22c7bbbead1b
tree2113ee44b9716ac967ac48876757022821f562c1
parentfd3c81068353eb844354b5e5250747d117219b7c
MINOR: quic: Add a counter for reordered packets

A packet is considered as reordered when it is detected as lost because its packet
number is above the largest acknowledeged packet number by at least the
packet reordering threshold value.

Add ->nb_reordered_pkt new quic_loss struct member at the same location that
the number of lost packets to count such packets.

Should be backported to 2.6.

(cherry picked from commit 167e38e0e0296e899aa894d2f3db5ba2a0c68cb5)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/quic_loss-t.h
include/haproxy/quic_loss.h
src/quic_cli.c
src/quic_loss.c