ot::Ip4::Address::ExtractFromIp6Address() method
Sets the IPv4 address by performing NAT64 address translation from a given IPv6 address as specified in RFC 6052. The NAT64 @p aPrefixLength MUST be one of the following values: 32, 40, 48, 56, 64, or 96, otherwise the behavior of this method is undefined.
Arguments
aPrefixLength
The prefix length to use for IPv4/IPv6 translation.
aIp6Address
The IPv6 address to translate to IPv4.
ot::Ip4::Address::ExtractFromIp6Address() calls 3 functions:
![]()
ot::Ip4::Address::ExtractFromIp6Address()
ot::Ip4::Address::ExtractFromIp6Address() reads 3 variables:
![]()
ot::Ip4::Address::ExtractFromIp6Address()