pub unsafe extern "C" fn otBorderRoutingSetRouteInfoOptionPreference(
aInstance: *mut otInstance,
aPreference: otRoutePreference,
)
Expand description
Explicitly sets the preference to use when advertising Route Info Options (RIO) in Router Advertisement messages sent over the infrastructure link.
After a call to this function, BR will use the given preference for all its advertised RIOs. The preference can be
cleared by calling otBorderRoutingClearRouteInfoOptionPreference()
.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aPreference The route preference to use.