Skip to main content

convert_twcc

Function convert_twcc 

Source
pub fn convert_twcc(feedback: &TransportLayerCc) -> Vec<Acknowledgement>
Expand description

Convert a TWCC feedback packet into one acknowledgement per reported packet.

Arrival times are relative to the feedback’s own 24-bit reference time, so they are comparable across successive TWCC reports only until that counter wraps: a connection converts through a FeedbackTimeline, which follows it.