Home
last modified time | relevance | path

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

/openthread-latest/src/core/thread/
Dmle_types.hpp85 constexpr uint8_t kRouterIdOffset = 10; ///< Bit offset of router… variable
611 inline uint8_t RouterIdFromRloc16(uint16_t aRloc16) { return aRloc16 >> kRouterIdOffset; } in RouterIdFromRloc16()
682 …oc16FromRouterId(uint8_t aRouterId) { return static_cast<uint16_t>(aRouterId << kRouterIdOffset); } in Rloc16FromRouterId()
Dneighbor.hpp493 uint8_t GetRouterId(void) const { return mRloc16 >> Mle::kRouterIdOffset; } in GetRouterId()
/openthread-latest/src/cli/
Dcli_history.cpp509 constexpr uint8_t kRouterIdOffset = 10; // Bit offset of Router ID in RLOC16 in Process() local
551 static_cast<uint16_t>(info->mRouterId) << kRouterIdOffset); in Process()
556 static_cast<uint16_t>(info->mNextHop) << kRouterIdOffset); in Process()
Dcli.cpp4869 constexpr uint8_t kRouterIdOffset = 10; // Bit offset of Router ID in RLOC16 in Process() local
4921 destRloc16 <<= kRouterIdOffset; in Process()
4929 OutputLine("%4u | %4u |", nextHopRloc16 >> kRouterIdOffset, pathCost); in Process()
/openthread-latest/src/posix/platform/
Drcp_caps_diag.cpp637 constexpr uint8_t kRouterIdOffset = 10; in OutputShortSrcMatchTableSize() local
647 shortAddress = num | (kRouterId << kRouterIdOffset); in OutputShortSrcMatchTableSize()