[−][src]Crate libccp
Rust bindings for libccp. This crate is useful for writing CCP datapaths in Rust.
Users need to implement two traits: Datapath
and CongestionOps
.
Datapath
implements not specific to a single connection.
CongestionOps
implements connection-level events.
Structs
Connection | |
FlowInfo | |
Primitives |
Traits
CongestionOps | |
Datapath |
Functions
deinit | Call this function only if you will no longer use libccp. It will de-allocate libccp's internal state. |
init_with_datapath | Initialize libccp and pass it an implementation of |
recv_msg | When the datapath receives an IPC message from the congestion control algorithm, call this function to tell libccp about it. |