Crate generic_cong_avoid

Source
Expand description

Generic Cong Avoid is a higher-level API for portus which is suitable for traditional “congestion avoidance” algorithms.

These algorithms comprise of an increase rule when new cumulative acknowledgements arrive, and a decrease rule when congestion is detected. This crate provides implementations of Reno and Cubic.

The API retains the same structure as that of portus, but it is not necessary (nor possible) to write custom datapath programs: the generic-cong-avoid layer collects a fixed set of measurements detailed in GenericCongAvoidMeasurements.

Modules§

cubic
reno

Structs§

Alg
The generic-cong-avoid type which implements portus::CongAlg.
Flow
The generic-cong-avoid type which implements portus::Flow.
GenericCongAvoidMeasurements
The fixed list of measurements available to generic-cong-avoid algorithms.

Enums§

GenericCongAvoidConfigReport
Configuration option: how often reports should be collected?
GenericCongAvoidConfigSS
Configuration option: which implementation of slow start?

Constants§

DEFAULT_SS_THRESH

Traits§

GenericCongAvoidAlg
An generic-cong-avoid algorithm, which contains a configuration and can instantiate new flows.
GenericCongAvoidFlow
An individual generic-cong-avoid flow

Functions§

make_args