pub trait GenericCongAvoidFlow {
    fn curr_cwnd(&self) -> u32;
    fn set_cwnd(&mut self, cwnd: u32);
    fn increase(&mut self, m: &GenericCongAvoidMeasurements);
    fn reduction(&mut self, m: &GenericCongAvoidMeasurements);

    fn reset(&mut self) { ... }
}
Expand description

An individual generic-cong-avoid flow

Required Methods

Return the current cwnd.

If the cwnd has been overridden, this method will be called to tell the implementation about it.

An congestion increase event occurred: bytes were acked without an indication of loss.

An congestion reduction event occurred: an indication of loss was present.

Provided Methods

A timeout occurred. The implementation should reset its state.

Implementors