Function netsim::node::hops_v4 [] [src]

pub fn hops_v4<N>(num_hops: u32, node: N) -> ImplNode<N> where
    N: Ipv4Node

Add hops between nodes. The will cause the TTL of packets travelling on this connection to decrease by the given amount.