Struct portus::DatapathInfo
source · pub struct DatapathInfo {
pub sock_id: u32,
pub init_cwnd: u32,
pub mss: u32,
pub src_ip: u32,
pub src_port: u32,
pub dst_ip: u32,
pub dst_port: u32,
}
Expand description
The set of information passed by the datapath to CCP
when a connection starts. It includes a unique 5-tuple (CCP socket id + source and destination
IP and port), the initial congestion window (init_cwnd
), and flow MSS.
Fields§
§sock_id: u32
§init_cwnd: u32
§mss: u32
§src_ip: u32
§src_port: u32
§dst_ip: u32
§dst_port: u32
Trait Implementations§
source§impl Clone for DatapathInfo
impl Clone for DatapathInfo
source§fn clone(&self) -> DatapathInfo
fn clone(&self) -> DatapathInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more