Home
last modified time | relevance | path

Searched refs:kOddEntryOffset (Results 1 – 1 of 1) sorted by relevance

/openthread-3.5.0/src/core/thread/
Dmle_tlvs.hpp532 << kOddEntryOffset) | in GetRouteCost()
534 static_cast<uint8_t>(kRouteCostMask << kOddEntryOffset)) >> in GetRouteCost()
535 kOddEntryOffset); in GetRouteCost()
549 int offset = ((aRouterIndex & 1) ? kOddEntryOffset : 0); in GetLinkQualityIn()
565 int offset = ((aRouterIndex & 1) ? kOddEntryOffset : 0); in GetLinkQualityOut()
594 static constexpr uint8_t kOddEntryOffset = 4; member in ot::Mle::RouteTlv
606 ((aRouteCost >> kOddEntryOffset) & kRouteCostMask); in SetRouteCost()
608 … (mRouteData[aRouterIndex + aRouterIndex / 2 + 1] & ~(kRouteCostMask << kOddEntryOffset)) | in SetRouteCost()
609 ((aRouteCost & kRouteCostMask) << kOddEntryOffset)); in SetRouteCost()
615 int offset = ((aRouterIndex & 1) ? kOddEntryOffset : 0); in SetLinkQualityIn()
[all …]