ot::NetworkData::RoutePreferenceFromValue() function
Converts a 2-bit unsigned value to a route preference.
Arguments
aValue
The 2-bit unsigned value to convert from. Note that only the first two bits of @p aValue are used and the rest of bits are ignored.
Return value
The route preference corresponding to @p aValue.
ot::NetworkData::RoutePreferenceFromValue() is called by 7 functions and calls 1 function:
![]()
ot::NetworkData::RoutePreferenceFromValue()
ot::NetworkData::RoutePreferenceFromValue():
![]()
ot::NetworkData::RoutePreferenceFromValue()