pub unsafe extern "C" fn otNat64GetIp6Prefix(
aInstance: *mut otInstance,
aPrefix: *mut otIp6Prefix,
) -> otErrorExpand description
Gets the IPv6 prefix configured in the NAT64 translator.
Available when OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE is enabled.
@param[in] aInstance A pointer to an OpenThread instance.
@param[out] aPrefix A pointer to an otIp6Prefix to output the prefix.
@retval OT_ERROR_NONE The prefix was successfully filled. @retval OT_ERROR_NOT_FOUND The translator is not configured with an IPv6 prefix.