pub unsafe extern "C" fn otBorderRoutingGetOmrConfig(
aInstance: *mut otInstance,
aOmrPrefix: *mut otIp6Prefix,
aPreference: *mut otRoutePreference,
) -> otBorderRoutingOmrConfig
Expand description
Gets the current OMR prefix configuration mode.
This function retrieves the current OMR configuration and, if a custom OMR prefix is configured, the custom prefix and its associated preference.
If the caller does not require the custom OMR prefix and preference, the @p aOmrPrefix and @p aPreference parameters
can be set to NULL
.
@param[in] aInstance A pointer to the OpenThread instance.
@param[out] aOmrPrefix A pointer to an otIp6Prefix
to return the custom OMR prefix, if the configuration is
OT_BORDER_ROUTING_OMR_CONFIG_CUSTOM
.
@param[out] aPreference A pointer to return the preference associated with the custom OMR prefix.
@return The current OMR prefix configuration mode.