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

Gets the currently favored Off-Mesh-Routable (OMR) Prefix.

The favored OMR prefix can be discovered from Network Data or can be this device’s local OMR prefix.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aPrefix A pointer to output the favored OMR 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 running yet. @retval OT_ERROR_NONE Successfully retrieved the favored OMR prefix.