zebra_network::protocol::external::addr::v1

Function ipv6_mapped_ip_addr

source
pub(in protocol::external) fn ipv6_mapped_ip_addr(
    ip_addr: IpAddr,
) -> Ipv6Addr
Expand description

Transform an IpAddr into an IPv6-mapped IPv4 addresses.

See canonical_ip_addr for detailed info on IPv6-mapped IPv4 addresses.