Expand description
RFC 9002-style RTT estimator for QSession (not QUIC wire-compatible).
Integer microseconds only. First sample seeds smoothed RTT and rttvar; later samples use the 7/8 and 3/4 EWMA from RFC 9002 §5.
Structs§
Functions§
- on_
ack_ sample - Absorb one ACK delay-adjusted sample.
sample_us == 0is ignored. - smoothed_
or_ err - Pacing / PTO helper. Zero smoothed RTT is not a usable estimate.