Skip to main content

machine_tc_script

Function machine_tc_script 

Source
pub fn machine_tc_script(
    spec: &Spec,
    m: &Machine,
    addr: impl Fn(&str, u8) -> Ipv4Addr,
) -> Option<String>
Expand description

The same on a machine’s own interfaces (addr: its address on a network), so traffic between machines of one network (a direct cable, a LAN) is impaired too, not only what the router forwards into it: each end delays what it sends, delay is one-way.