| /openthread-latest/tests/nexus/ |
| D | test_form_join.cpp | 65 VerifyOrQuit(leader.Get<Mle::Mle>().IsLeader()); in TestFormJoin() 72 VerifyOrQuit(fed.Get<Mle::Mle>().IsChild()); in TestFormJoin() 79 VerifyOrQuit(sed.Get<Mle::Mle>().IsChild()); in TestFormJoin() 86 VerifyOrQuit(med.Get<Mle::Mle>().IsChild()); in TestFormJoin() 99 VerifyOrQuit(leader.Get<Mle::Mle>().IsLeader()); in TestFormJoin() 100 VerifyOrQuit(fed.Get<Mle::Mle>().IsChild()); in TestFormJoin() 101 VerifyOrQuit(sed.Get<Mle::Mle>().IsChild()); in TestFormJoin() 102 VerifyOrQuit(router1.Get<Mle::Mle>().IsRouter()); in TestFormJoin() 103 VerifyOrQuit(router2.Get<Mle::Mle>().IsRouter()); in TestFormJoin() 105 VerifyOrQuit(fed.Get<Mle::Mle>().IsRxOnWhenIdle()); in TestFormJoin() [all …]
|
| D | test_large_network.cpp | 39 static constexpr uint16_t kNumberOfRoles = (Mle::kRoleLeader + 1); 49 aRoleStats[node.Get<Mle::Mle>().GetRole()]++; in CaculateRoleStats() 55 return (aRoleStats[Mle::kRoleLeader] == 1) && (aRoleStats[Mle::kRoleDetached] == 0) && in CheckRoleStats() 56 (aRoleStats[Mle::kRoleDisabled] == 0); in CheckRoleStats() 105 … Log("| %8u | %8u | %8u | %8u | %8u |", roleStats[Mle::kRoleLeader], roleStats[Mle::kRoleRouter], in Test() 106 … roleStats[Mle::kRoleChild], roleStats[Mle::kRoleDetached], roleStats[Mle::kRoleDisabled]); in Test() 135 … Log("| %8u | %8u | %8u | %8u | %8u |", roleStats[Mle::kRoleLeader], roleStats[Mle::kRoleRouter], in Test() 136 … roleStats[Mle::kRoleChild], roleStats[Mle::kRoleDetached], roleStats[Mle::kRoleDisabled]); in Test()
|
| D | test_dtls.cpp | 248 VerifyOrQuit(node0.Get<Mle::Mle>().IsLeader()); in TestDtlsSingleSession() 250 SuccessOrQuit(node1.Get<Mle::MleRouter>().SetRouterEligible(false)); in TestDtlsSingleSession() 253 VerifyOrQuit(node1.Get<Mle::Mle>().IsChild()); in TestDtlsSingleSession() 255 SuccessOrQuit(node2.Get<Mle::MleRouter>().SetRouterEligible(false)); in TestDtlsSingleSession() 258 VerifyOrQuit(node2.Get<Mle::Mle>().IsChild()); in TestDtlsSingleSession() 280 sockAddr.SetAddress(node0.Get<Mle::Mle>().GetMeshLocalRloc()); in TestDtlsSingleSession() 490 VerifyOrQuit(node0.Get<Mle::Mle>().IsLeader()); in TestDtlsMultiSession() 492 SuccessOrQuit(node1.Get<Mle::MleRouter>().SetRouterEligible(false)); in TestDtlsMultiSession() 495 VerifyOrQuit(node1.Get<Mle::Mle>().IsChild()); in TestDtlsMultiSession() 497 SuccessOrQuit(node2.Get<Mle::MleRouter>().SetRouterEligible(false)); in TestDtlsMultiSession() [all …]
|
| /openthread-latest/src/core/thread/ |
| D | router_table.cpp | 47 , mMaxRouterId(Mle::kMaxRouterId) in RouterTable() 61 bool RouterTable::IsRouteTlvIdSequenceMoreRecent(const Mle::RouteTlv &aRouteTlv) const in IsRouteTlvIdSequenceMoreRecent() 91 router->SetRloc16(Mle::Rloc16FromRouterId(aRouterId)); in AddRouter() 130 uint8_t selectedRouterId = Mle::kInvalidRouterId; in Allocate() 137 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in Allocate() 156 VerifyOrExit(selectedRouterId != Mle::kInvalidRouterId); in Allocate() 169 VerifyOrExit(aRouterId <= Mle::kMaxRouterId && mRouterIdMap.CanAllocate(aRouterId)); in Allocate() 178 Get<Mle::MleRouter>().ResetAdvertiseInterval(); in Allocate() 191 OT_ASSERT(aRouterId <= Mle::kMaxRouterId); in Release() 193 VerifyOrExit(Get<Mle::MleRouter>().IsLeader(), error = kErrorInvalidState); in Release() [all …]
|
| D | network_data_notifier.cpp | 53 , mOldRloc(Mle::kInvalidRloc16) in Notifier() 77 VerifyOrExit(Get<Mle::MleRouter>().IsAttached() && !mWaitingForResponse); in SynchronizeServerData() 104 mTimer.Start(Time::SecToMsec(Get<Mle::MleRouter>().GetRouterRoleTransitionTimeout() + 1)); in SynchronizeServerData() 128 VerifyOrExit(Get<Mle::MleRouter>().IsRouterOrLeader()); in RemoveStaleChildEntries() 134 if (Mle::IsChildRloc16(rloc16) && Get<Mle::Mle>().HasMatchingRouterIdWith(rloc16) && in RemoveStaleChildEntries() 151 uint16_t deviceRloc = Get<Mle::MleRouter>().GetRloc16(); in UpdateInconsistentData() 157 if (Get<Mle::MleRouter>().IsExpectedToBecomeRouterSoon()) in UpdateInconsistentData() 173 mOldRloc = Mle::kInvalidRloc16; in UpdateInconsistentData() 207 if (aOldRloc16 != Mle::kInvalidRloc16) in SendServerDataNotification() 294 uint16_t rloc16 = Get<Mle::Mle>().GetRloc16(); in IsEligibleForRouterRoleUpgradeAsBorderRouter() [all …]
|
| D | mle.cpp | 41 namespace Mle { namespace 45 const otMeshLocalPrefix Mle::kMeshLocalPrefixInit = { 49 Mle::Mle(Instance &aInstance) in Mle() function in ot::Mle::Mle 126 Error Mle::Enable(void) in Enable() 141 void Mle::ScheduleChildUpdateRequest(void) in ScheduleChildUpdateRequest() 146 Error Mle::Disable(void) in Disable() 158 Error Mle::Start(StartMode aMode) in Start() 212 void Mle::Stop(StopMode aMode) in Stop() 244 const Counters &Mle::GetCounters(void) in GetCounters() 253 void Mle::ResetCounters(void) in ResetCounters() [all …]
|
| D | time_sync_service.cpp | 89 else if (Get<Mle::MleRouter>().IsLeader() && timeSyncSeqDelta > 0) in HandleTimeSyncMessage() 100 else if (!Get<Mle::MleRouter>().IsLeader()) in HandleTimeSyncMessage() 106 …if (mTimeSyncSeq == OT_TIME_SYNC_INVALID_SEQ || timeSyncSeqDelta > 0 || Get<Mle::MleRouter>().IsDe… in HandleTimeSyncMessage() 140 if (Get<Mle::MleRouter>().IsLeader() && in ProcessTimeSync() 151 VerifyOrExit(Get<Mle::MleRouter>().SendTimeSync() == kErrorNone); in ProcessTimeSync() 171 if (aEvents.Contains(kEventThreadPartitionIdChanged) && !Get<Mle::MleRouter>().IsLeader()) in HandleNotifierEvents() 203 switch (Get<Mle::MleRouter>().GetRole()) in CheckAndHandleChanges() 205 case Mle::kRoleDisabled: in CheckAndHandleChanges() 206 case Mle::kRoleDetached: in CheckAndHandleChanges() 211 case Mle::kRoleChild: in CheckAndHandleChanges() [all …]
|
| D | child_supervision.cpp | 115 …bool shouldRun = (!Get<Mle::Mle>().IsDisabled() && Get<ChildTable>().HasChildren(Child::kInStateVa… in CheckState() 161 if (Get<Mle::Mle>().IsChild()) in SetInterval() 163 IgnoreError(Get<Mle::Mle>().SendChildUpdateRequestToParent()); in SetInterval() 185 VerifyOrExit(mTimer.IsRunning() && aIsSecure && Get<Mle::MleRouter>().IsChild() && in UpdateOnReceive() 186 … (Get<NeighborTable>().FindNeighbor(aSourceAddress) == &Get<Mle::MleRouter>().GetParent())); in UpdateOnReceive() 196 …if ((mTimeout != 0) && !Get<Mle::MleRouter>().IsDisabled() && !Get<MeshForwarder>().GetRxOnWhenIdl… in RestartTimer() 208 VerifyOrExit(Get<Mle::MleRouter>().IsChild() && !Get<MeshForwarder>().GetRxOnWhenIdle()); in HandleTimer() 213 IgnoreError(Get<Mle::Mle>().SendChildUpdateRequestToParent()); in HandleTimer()
|
| D | announce_sender.cpp | 119 Get<Mle::MleRouter>().SendAnnounce(mChannel); in HandleTimer() 201 switch (Get<Mle::Mle>().GetRole()) in HandleRoleChanged() 203 case Mle::kRoleLeader: in HandleRoleChanged() 204 case Mle::kRoleRouter: in HandleRoleChanged() 207 case Mle::kRoleChild: in HandleRoleChanged() 209 if (Get<Mle::MleRouter>().IsRouterEligible() && Get<Mle::Mle>().IsRxOnWhenIdle()) in HandleRoleChanged() 217 case Mle::kRoleDisabled: in HandleRoleChanged() 218 case Mle::kRoleDetached: in HandleRoleChanged()
|
| D | neighbor_table.cpp | 49 Mle::Mle &mle = Get<Mle::Mle>(); in FindParent() 83 if (Get<Mle::Mle>().IsRouterOrLeader()) in FindNeighbor() 144 if (Get<Mle::Mle>().IsRoutingLocator(aIp6Address)) in FindNeighbor() 180 VerifyOrExit(Get<Mle::Mle>().IsChild()); in FindRxOnlyNeighborRouter() 220 for (index = -aIterator; index <= Mle::kMaxRouterId; index++) in GetNextNeighborInfo() 252 VerifyOrExit(Get<Mle::Mle>().GetParent().IsStateValid()); in GetNextNeighborInfo() 254 aNeighInfo.SetFrom(Get<Mle::Mle>().GetParent()); in GetNextNeighborInfo()
|
| D | discover_scanner.cpp | 39 namespace Mle { namespace 63 Mle::TxMessage *message = nullptr; in Discover() 100 …VerifyOrExit((message = Get<Mle>().NewMleMessage(kCommandDiscoveryRequest)) != nullptr, error = kE… in Discover() 149 if (!Get<Mle>().IsDisabled() && !Get<Mle>().IsRxOnWhenIdle()) in Discover() 154 Mle::Log(Mle::kMessageSend, Mle::kTypeDiscoveryRequest, destination); in Discover() 241 if (!Get<Mle>().IsDisabled() && !Get<Mle>().IsRxOnWhenIdle()) in HandleDiscoverComplete() 302 void DiscoverScanner::HandleDiscoveryResponse(Mle::RxInfo &aRxInfo) const in HandleDiscoveryResponse() 311 Mle::Log(Mle::kMessageReceive, Mle::kTypeDiscoveryResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDiscoveryResponse() 389 Mle::LogProcessError(Mle::kTypeDiscoveryResponse, error); in HandleDiscoveryResponse()
|
| D | anycast_locator.cpp | 54 VerifyOrExit((aCallback != nullptr) && Get<Mle::Mle>().IsAnycastLocator(aAnycastAddress), in Locate() 89 uint16_t rloc16 = Mle::kInvalidRloc16; in HandleResponse() 96 meshLocalAddress.SetPrefix(Get<Mle::Mle>().GetMeshLocalPrefix()); in HandleResponse() 122 …SuccessOrExit(Tlv::Append<ThreadMeshLocalEidTlv>(*message, Get<Mle::Mle>().GetMeshLocalEid().GetIi… in HandleTmf() 123 SuccessOrExit(Tlv::Append<ThreadRloc16Tlv>(*message, Get<Mle::Mle>().GetRloc16())); in HandleTmf()
|
| D | mesh_forwarder_ftd.cpp | 80 … bool destinedForAll = ((destination == Get<Mle::Mle>().GetLinkLocalAllThreadNodesAddress()) || in SendMessage() 81 … (destination == Get<Mle::Mle>().GetRealmLocalAllThreadNodesAddress())); in SendMessage() 172 Get<Mle::Mle>().HasRloc16(Get<AddressResolver>().LookUp(ip6Dst))) in HandleResolved() 320 if (message.IsMleCommand(Mle::kCommandDataResponse)) in RemoveDataResponseMessages() 358 if (nextHop != Mle::kInvalidRloc16) in UpdateMeshRoute() 373 mMacAddrs.mSource.SetShort(Get<Mle::Mle>().GetRloc16()); in UpdateMeshRoute() 392 Mle::MleRouter &mle = Get<Mle::MleRouter>(); in UpdateIp6RouteFtd() 403 VerifyOrExit(Mle::IsRouterIdValid(Mle::RouterIdFromRloc16(rloc16)), error = kErrorDrop); in UpdateIp6RouteFtd() 416 …if (mle.IsRouterOrLeader() && Mle::IsChildRloc16(mMeshDest) && mle.HasMatchingRouterIdWith(mMeshDe… in UpdateIp6RouteFtd() 443 VerifyOrExit(mMeshDest != Mle::kInvalidRloc16, error = kErrorDrop); in UpdateIp6RouteFtd() [all …]
|
| D | router_table.hpp | 300 bool IsRouteTlvIdSequenceMoreRecent(const Mle::RouteTlv &aRouteTlv) const; 327 void UpdateRouterIdSet(uint8_t aRouterIdSequence, const Mle::RouterIdSet &aRouterIdSet); 335 void UpdateRoutes(const Mle::RouteTlv &aRouteTlv, uint8_t aNeighborId); 345 void UpdateRouterOnFtdChild(const Mle::RouteTlv &aRouteTlv, uint8_t aParentId); 352 …void GetRouterIdSet(Mle::RouterIdSet &aRouterIdSet) const { return mRouterIdMap.GetAsRouterIdSet(a… in GetRouterIdSet() 364 void FillRouteTlv(Mle::RouteTlv &aRouteTlv, const Neighbor *aNeighbor = nullptr) const; 443 void GetAsRouterIdSet(Mle::RouterIdSet &aRouterIdSet) const; 457 uint8_t mIndexes[Mle::kMaxRouterId + 1]; 462 Array<Router, Mle::kMaxRouters> mRouters;
|
| D | tmf.cpp | 44 void MessageInfo::SetSockAddrToRloc(void) { SetSockAddr(Get<Mle::MleRouter>().GetMeshLocalRloc()); } in SetSockAddrToRloc() 49 Get<Mle::MleRouter>().GetLeaderAloc(GetPeerAddr()); in SetSockAddrToRlocPeerAddrToLeaderAloc() 55 Get<Mle::MleRouter>().GetLeaderRloc(GetPeerAddr()); in SetSockAddrToRlocPeerAddrToLeaderRloc() 67 GetPeerAddr().SetToRoutingLocator(Get<Mle::Mle>().GetMeshLocalPrefix(), aRloc16); in SetSockAddrToRlocPeerAddrTo() 130 Case(kUriAddressSolicit, Mle::MleRouter); in HandleResource() 131 Case(kUriAddressRelease, Mle::MleRouter); in HandleResource() 216 VerifyOrExit(Get<Mle::Mle>().IsMeshLocalAddress(aSourceAddress)); in IsTmfMessage() 217 …VerifyOrExit(Get<Mle::Mle>().IsMeshLocalAddress(aDestAddress) || aDestAddress.IsLinkLocalMulticast… in IsTmfMessage()
|
| D | network_data_leader_ftd.cpp | 45 void Leader::Start(Mle::LeaderStartMode aStartMode) in Start() 51 mWaitingForNetDataSync = (aStartMode == Mle::kRestoringLeaderRoleAfterReset); in Start() 61 if (Get<Mle::MleRouter>().IsLeader()) in IncrementVersion() 69 if (Get<Mle::MleRouter>().IsLeader()) in IncrementVersionAndStableVersion() 106 aRloc16 = Mle::kInvalidRloc16; in AnycastLookup() 108 if (aAloc16 == Mle::kAloc16Leader) in AnycastLookup() 110 aRloc16 = Get<Mle::Mle>().GetLeaderRloc16(); in AnycastLookup() 112 else if (aAloc16 <= Mle::kAloc16DhcpAgentEnd) in AnycastLookup() 114 uint8_t contextId = static_cast<uint8_t>(aAloc16 - Mle::kAloc16DhcpAgentStart + 1); in AnycastLookup() 118 else if (aAloc16 <= Mle::kAloc16ServiceEnd) in AnycastLookup() [all …]
|
| D | key_manager.hpp | 350 const Mle::KeyMaterial &GetCurrentMleKey(void) const { return mMleKey; } in GetCurrentMleKey() 359 const Mle::KeyMaterial &GetTemporaryMleKey(uint32_t aKeySequence); 368 const Mle::KeyMaterial &GetTemporaryMacKey(uint32_t aKeySequence); 561 Mle::Key mMleKey; 570 const Mle::Key &GetMleKey(void) const { return mKeys.mMleKey; } in GetMleKey() 607 Mle::KeyMaterial mMleKey; 608 Mle::KeyMaterial mTemporaryMleKey; 611 Mle::KeyMaterial mTemporaryMacKey;
|
| /openthread-latest/src/core/api/ |
| D | thread_api.cpp | 44 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetTimeout(); in otThreadGetChildTimeout() 49 AsCoreType(aInstance).Get<Mle::MleRouter>().SetTimeout(aTimeout); in otThreadSetChildTimeout() 63 VerifyOrExit(instance.Get<Mle::MleRouter>().IsDisabled(), error = kErrorInvalidState); in otThreadSetExtendedPanId() 78 …VerifyOrExit(!AsCoreType(aInstance).Get<Mle::Mle>().HasRloc16(Mle::kInvalidRloc16), error = kError… in otThreadGetLeaderRloc() 79 AsCoreType(aInstance).Get<Mle::Mle>().GetLeaderRloc(AsCoreType(aLeaderRloc)); in otThreadGetLeaderRloc() 89 AsCoreType(aInstance).Get<Mle::MleRouter>().GetDeviceMode().Get(config); in otThreadGetLinkMode() 96 return AsCoreType(aInstance).Get<Mle::MleRouter>().SetDeviceMode(Mle::DeviceMode(aConfig)); in otThreadSetLinkMode() 116 VerifyOrExit(instance.Get<Mle::MleRouter>().IsDisabled(), error = kErrorInvalidState); in otThreadSetNetworkKey() 135 VerifyOrExit(instance.Get<Mle::MleRouter>().IsDisabled(), error = kErrorInvalidState); in otThreadSetNetworkKeyRef() 148 return &AsCoreType(aInstance).Get<Mle::MleRouter>().GetMeshLocalRloc(); in otThreadGetRloc() [all …]
|
| D | thread_ftd_api.cpp | 54 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetMaxChildIpAddresses(); in otThreadGetMaxChildIpAddresses() 60 return AsCoreType(aInstance).Get<Mle::MleRouter>().SetMaxChildIpAddresses(aMaxIpAddresses); in otThreadSetMaxChildIpAddresses() 66 return AsCoreType(aInstance).Get<Mle::MleRouter>().IsRouterEligible(); in otThreadIsRouterEligible() 71 return AsCoreType(aInstance).Get<Mle::MleRouter>().SetRouterEligible(aEligible); in otThreadSetRouterEligible() 76 return AsCoreType(aInstance).Get<Mle::MleRouter>().SetPreferredRouterId(aRouterId); in otThreadSetPreferredRouterId() 82 return &AsCoreType(aInstance).Get<Mle::MleRouter>().GetDeviceProperties(); in otThreadGetDeviceProperties() 87 AsCoreType(aInstance).Get<Mle::MleRouter>().SetDeviceProperties(AsCoreType(aDeviceProperties)); in otThreadSetDeviceProperties() 93 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetLeaderWeight(); in otThreadGetLocalLeaderWeight() 98 AsCoreType(aInstance).Get<Mle::MleRouter>().SetLeaderWeight(aWeight); in otThreadSetLocalLeaderWeight() 104 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetPreferredLeaderPartitionId(); in otThreadGetPreferredLeaderPartitionId() [all …]
|
| /openthread-latest/tests/nexus/platform/ |
| D | nexus_node.cpp | 43 SuccessOrQuit(Get<Mle::MleRouter>().Start()); in Form() 49 Mle::DeviceMode mode(0); in Join() 54 SuccessOrQuit(Get<Mle::MleRouter>().SetRouterEligible(false)); in Join() 58 mode.Set(Mle::DeviceMode::kModeRxOnWhenIdle | Mle::DeviceMode::kModeFullThreadDevice | in Join() 59 Mle::DeviceMode::kModeFullNetworkData); in Join() 62 mode.Set(Mle::DeviceMode::kModeRxOnWhenIdle | Mle::DeviceMode::kModeFullNetworkData); in Join() 65 mode.Set(Mle::DeviceMode::kModeFullNetworkData); in Join() 69 SuccessOrQuit(Get<Mle::Mle>().SetDeviceMode(mode)); in Join() 75 SuccessOrQuit(Get<Mle::MleRouter>().Start()); in Join()
|
| /openthread-latest/src/core/utils/ |
| D | mesh_diag.cpp | 67 VerifyOrExit(Get<Mle::Mle>().IsAttached(), error = kErrorInvalidState); in DiscoverTopology() 87 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in DiscoverTopology() 96 …destination.SetToRoutingLocator(Get<Mle::Mle>().GetMeshLocalPrefix(), Mle::Rloc16FromRouterId(rout… in DiscoverTopology() 168 VerifyOrExit(Get<Mle::Mle>().IsAttached(), error = kErrorInvalidState); in SendQuery() 170 VerifyOrExit(Mle::IsRouterRloc16(aRloc16), error = kErrorInvalidArgs); in SendQuery() 171 …VerifyOrExit(Get<RouterTable>().IsAllocated(Mle::RouterIdFromRloc16(aRloc16)), error = kErrorNotFo… in SendQuery() 173 destination.SetToRoutingLocator(Get<Mle::Mle>().GetMeshLocalPrefix(), aRloc16); in SendQuery() 270 VerifyOrExit(Get<Mle::Mle>().IsRoutingLocator(aMessageInfo.GetPeerAddr())); in ProcessMessage() 394 mQueryChildrenIp6Addrs.mCallback.InvokeIfSet(kErrorNone, Mle::kInvalidRloc16, nullptr); in ProcessChildrenIp6AddrsAnswer() 462 mQueryChildrenIp6Addrs.mCallback.InvokeIfSet(aError, Mle::kInvalidRloc16, nullptr); in Finalize() [all …]
|
| D | history_tracker.cpp | 63 Mle::DeviceMode mode; in RecordNetworkInfo() 67 entry->mRole = MapEnum(Get<Mle::Mle>().GetRole()); in RecordNetworkInfo() 68 entry->mRloc16 = Get<Mle::Mle>().GetRloc16(); in RecordNetworkInfo() 69 entry->mPartitionId = Get<Mle::Mle>().GetLeaderData().GetPartitionId(); in RecordNetworkInfo() 70 mode = Get<Mle::Mle>().GetDeviceMode(); in RecordNetworkInfo() 102 VerifyOrExit((port != Mle::kUdpPort) && (port != Tmf::kUdpPort)); in RecordMessage() 283 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in RecordRouterTableChange() 295 …Get<RouterTable>().GetNextHopAndPathCost(Mle::Rloc16FromRouterId(routerId), nextHopRloc, pathCost); in RecordRouterTableChange() 297 …entry.mNextHop = (nextHopRloc == Mle::kInvalidRloc16) ? kNoNextHop : Mle::RouterIdFromRloc16(next… in RecordRouterTableChange() 298 entry.mPathCost = (pathCost < Mle::kMaxRouteCost) ? pathCost : 0; in RecordRouterTableChange() [all …]
|
| /openthread-latest/src/core/net/ |
| D | ip6_mpl.cpp | 72 if (aAddress == Get<Mle::Mle>().GetMeshLocalRloc()) in InitOption() 80 aOption.SetSeedId(Get<Mle::Mle>().GetRloc16()); in InitOption() 311 switch (Get<Mle::Mle>().GetRole()) in DetermineMaxRetransmissions() 313 case Mle::kRoleDisabled: in DetermineMaxRetransmissions() 314 case Mle::kRoleDetached: in DetermineMaxRetransmissions() 317 case Mle::kRoleChild: in DetermineMaxRetransmissions() 321 case Mle::kRoleRouter: in DetermineMaxRetransmissions() 322 case Mle::kRoleLeader: in DetermineMaxRetransmissions() 340 …interval = (kDataMessageInterval / Mle::kMaxRouters) * Get<RouterTable>().GetNeighborCount(kLinkQu… in AddBufferedMessage()
|
| D | nd_agent.cpp | 46 uint16_t rloc16 = Get<Mle::MleRouter>().GetRloc16(); in UpdateService() 54 Mle::kAloc16NeighborDiscoveryAgentStart + 1); in UpdateService() 99 … uint16_t aloc16 = Mle::kAloc16NeighborDiscoveryAgentStart + lowpanContext.mContextId - 1; in UpdateService() 102 … mAloc.GetAddress().SetToAnycastLocator(Get<Mle::MleRouter>().GetMeshLocalPrefix(), aloc16); in UpdateService()
|
| /openthread-latest/src/core/backbone_router/ |
| D | bbr_local.cpp | 60 mBbrPrimaryAloc.GetAddress().GetIid().SetToLocator(Mle::kAloc16BackboneRouterPrimary); in Local() 173 VerifyOrExit(mState != kStateDisabled && Get<Mle::Mle>().IsAttached()); in AddService() 179 … Get<BackboneRouter::Leader>().GetServer16() == Get<Mle::MleRouter>().GetRloc16()); in AddService() 216 … mAllNetworkBackboneRouters.SetMulticastNetworkPrefix(Get<Mle::MleRouter>().GetMeshLocalPrefix()); in SetState() 228 mBbrPrimaryAloc.GetAddress().SetPrefix(Get<Mle::MleRouter>().GetMeshLocalPrefix()); in SetState() 244 VerifyOrExit(IsEnabled() && Get<Mle::MleRouter>().IsAttached()); in HandleBackboneRouterPrimaryUpdate() 247 if (aConfig.mServer16 == Mle::kInvalidRloc16) in HandleBackboneRouterPrimaryUpdate() 251 if (!Get<Mle::MleRouter>().IsLeader()) in HandleBackboneRouterPrimaryUpdate() 259 else if (aConfig.mServer16 != Get<Mle::MleRouter>().GetRloc16()) in HandleBackboneRouterPrimaryUpdate() 288 VerifyOrExit(!Get<Mle::MleRouter>().IsRouterRoleTransitionPending()); in HandleTimeTick() [all …]
|