pub async fn wait_for_v4_and_v6_ll(
interfaces_state: &StateProxy,
id: u64,
) -> Result<(Ipv4Addr, Ipv6Addr)>
Expand description
Wait until there is an IPv4 and an IPv6 link-local address assigned to the
interface identified by id
.
If there are multiple IPv4 or multiple IPv6 link-local addresses assigned, the choice of which particular address to return is arbitrary and should not be relied upon.
Note that if a netemul::TestInterface
is available, helpers on said type
should be preferred over using this function.