calculate_slaac_addr_sub

Function calculate_slaac_addr_sub 

Source
pub fn calculate_slaac_addr_sub(
    subnet: Subnet<Ipv6Addr>,
    iid: [u8; 8],
) -> AddrSubnet<Ipv6Addr, Ipv6DeviceAddr>
Expand description

Returns the address and subnet used by SLAAC on subnet with interface identifier iid.

ยงPanics

Panics if the prefix length of the provided subnet is not 64.