pub struct PathFrame {
pub ttl: u8,
pub ecn: u8,
pub hop_count: u8,
pub ce_count: u64,
pub ect_count: u64,
}Expand description
The peer’s view of THIS endpoint’s packets: the TTL it saw, the ECN bits,
and the hop count it derived from the TTL. A change in hop_count is a
router-level path shift, often visible before throughput moves.
AccECN (item 15): ce_count / ect_count are the peer’s CUMULATIVE counts of
our CE-marked and ECN-capable packets, so the sender derives a graded
ce_rate = delta_CE / delta_ECT between frames instead of reading a single
CE bit. An AQM marks CE before it tail-drops, so a rising rate leads loss.
Fields§
§ttl: u8§ecn: u8§hop_count: u8§ce_count: u64§ect_count: u64Trait Implementations§
impl Copy for PathFrame
impl Eq for PathFrame
impl StructuralPartialEq for PathFrame
Auto Trait Implementations§
impl Freeze for PathFrame
impl RefUnwindSafe for PathFrame
impl Send for PathFrame
impl Sync for PathFrame
impl Unpin for PathFrame
impl UnsafeUnpin for PathFrame
impl UnwindSafe for PathFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more