with_assigned_ipv6_addr_subnets

Function with_assigned_ipv6_addr_subnets 

Source
pub fn with_assigned_ipv6_addr_subnets<BC: IpDeviceBindingsContext<Ipv6, CC::DeviceId>, CC: Ipv6DeviceContext<BC>, O, F: FnOnce(Box<dyn Iterator<Item = AddrSubnet<Ipv6Addr, Ipv6DeviceAddr>> + '_>) -> O>(
    core_ctx: &mut CC,
    device_id: &CC::DeviceId,
    cb: F,
) -> O
Expand description

Gets the IPv6 address and subnet pairs associated with this device which are in the assigned state.

Tentative IP addresses (addresses which are not yet fully bound to a device) and deprecated IP addresses (addresses which have been assigned but should no longer be used for new connections) will not be returned by get_assigned_ipv6_addr_subnets.

Returns an Iterator of AddrSubnet.

See [Tentative] and AddrSubnet for more information.