MINOR: quic: Add a counter for reordered packets
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 13 Feb 2024 20:24:40 +0000 (21:24 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 14 Feb 2024 10:32:29 +0000 (11:32 +0100)
commit167e38e0e0296e899aa894d2f3db5ba2a0c68cb5
treed2f13c2536da6cbd97b76e3b1d7fdb6d25fbc47a
parenteeeb81bb499677ccaf83858dbdde21c9f3db4341
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.
include/haproxy/quic_loss-t.h
include/haproxy/quic_loss.h
src/quic_cli.c
src/quic_loss.c