pub unsafe extern "C" fn otBorderRoutingGetFavoredNat64Prefix(
    aInstance: *mut otInstance,
    aPrefix: *mut otIp6Prefix,
    aPreference: *mut otRoutePreference
) -> otError
Expand description

Gets the currently favored NAT64 prefix.

The favored NAT64 prefix can be discovered from infrastructure link or can be this device’s local NAT64 prefix.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aPrefix A pointer to output the favored NAT64 prefix. @param[out] aPreference A pointer to output the preference associated the favored prefix.

@retval OT_ERROR_INVALID_STATE The Border Routing Manager is not initialized yet. @retval OT_ERROR_NONE Successfully retrieved the favored NAT64 prefix.