Expand description
ACK ranges, PTO backoff, and sent-packet history (NET-05.08 partial).
At most eight inclusive ACK ranges. Retransmits use fresh packet numbers
(reuse_packet_number_on_retransmit is false). Sent history is 32 in-flight
slots. Independent of packet.rs (plain u64 packet numbers). Packages
remain open.
Structs§
Constants§
- MAX_
ACK_ RANGES - Duplicate of credit.rs — do not import that module from here.
- PTO_
BACKOFF_ CAP pto_countsaturates here:pto_us = rtt_us * 2^min(pto_count, cap).- SENT_
HISTORY - In-flight packet-number slots (sent history bound).
Functions§
- ack_
range_ cap - Maximum ack ranges per frame (
MAX_ACK_RANGES). - pto_us
- PTO microseconds:
rtt_us * 2^pto_countwithpto_countcapped atPTO_BACKOFF_CAP. Overflow orrtt_us == 0→QdnfError::Range. - reuse_
packet_ number_ on_ retransmit - Honest invariant probe:
false— QDNF never reuses packet numbers on retransmit.