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
Structs
The generic-cong-avoid type which implements
portus::CongAlg
.The generic-cong-avoid type which implements
portus::Flow
.The fixed list of measurements available to generic-cong-avoid algorithms.
Enums
Configuration option: how often reports should be collected?
Configuration option: which implementation of slow start?
Constants
Traits
An generic-cong-avoid algorithm, which contains a configuration
and can instantiate new flows.
An individual generic-cong-avoid flow