/openthread-3.6.0/src/core/thread/ |
D | router_table.cpp | 55 , mMaxRouterId(Mle::kMaxRouterId) in RouterTable() 69 bool RouterTable::IsRouteTlvIdSequenceMoreRecent(const Mle::RouteTlv &aRouteTlv) const in IsRouteTlvIdSequenceMoreRecent() 99 router->SetRloc16(Mle::Rloc16FromRouterId(aRouterId)); in AddRouter() 138 uint8_t selectedRouterId = Mle::kInvalidRouterId; in Allocate() 145 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in Allocate() 164 VerifyOrExit(selectedRouterId != Mle::kInvalidRouterId); in Allocate() 177 VerifyOrExit(aRouterId <= Mle::kMaxRouterId && mRouterIdMap.CanAllocate(aRouterId)); in Allocate() 186 Get<Mle::MleRouter>().ResetAdvertiseInterval(); in Allocate() 199 OT_ASSERT(aRouterId <= Mle::kMaxRouterId); in Release() 201 VerifyOrExit(Get<Mle::MleRouter>().IsLeader(), error = kErrorInvalidState); in Release() [all …]
|
D | time_sync_service.cpp | 95 else if (Get<Mle::MleRouter>().IsLeader() && timeSyncSeqDelta > 0) in HandleTimeSyncMessage() 106 else if (!Get<Mle::MleRouter>().IsLeader()) in HandleTimeSyncMessage() 112 …if (mTimeSyncSeq == OT_TIME_SYNC_INVALID_SEQ || timeSyncSeqDelta > 0 || Get<Mle::MleRouter>().IsDe… in HandleTimeSyncMessage() 146 if (Get<Mle::MleRouter>().IsLeader() && in ProcessTimeSync() 157 VerifyOrExit(Get<Mle::MleRouter>().SendTimeSync() == kErrorNone); in ProcessTimeSync() 177 if (aEvents.Contains(kEventThreadPartitionIdChanged) && !Get<Mle::MleRouter>().IsLeader()) in HandleNotifierEvents() 209 switch (Get<Mle::MleRouter>().GetRole()) in CheckAndHandleChanges() 211 case Mle::kRoleDisabled: in CheckAndHandleChanges() 212 case Mle::kRoleDetached: in CheckAndHandleChanges() 217 case Mle::kRoleChild: in CheckAndHandleChanges() [all …]
|
D | network_data_notifier.cpp | 84 VerifyOrExit(Get<Mle::MleRouter>().IsAttached() && !mWaitingForResponse); in SynchronizeServerData() 111 mTimer.Start(Time::SecToMsec(Get<Mle::MleRouter>().GetRouterRoleTransitionTimeout() + 1)); in SynchronizeServerData() 136 VerifyOrExit(Get<Mle::MleRouter>().IsRouterOrLeader()); in RemoveStaleChildEntries() 140 …if (!Mle::IsActiveRouter(rloc16) && Mle::RouterIdMatch(Get<Mle::MleRouter>().GetRloc16(), rloc16) … in RemoveStaleChildEntries() 157 uint16_t deviceRloc = Get<Mle::MleRouter>().GetRloc16(); in UpdateInconsistentData() 163 if (Get<Mle::MleRouter>().IsExpectedToBecomeRouterSoon()) in UpdateInconsistentData() 297 uint16_t rloc16 = Get<Mle::Mle>().GetRloc16(); in IsEligibleForRouterRoleUpgradeAsBorderRouter() 300 VerifyOrExit(Get<Mle::MleRouter>().IsRouterEligible()); in IsEligibleForRouterRoleUpgradeAsBorderRouter() 305 VerifyOrExit(Get<Mle::MleRouter>().GetRouterUpgradeThreshold() != 0); in IsEligibleForRouterRoleUpgradeAsBorderRouter() 315 VerifyOrExit((activeRouterCount >= Get<Mle::MleRouter>().GetRouterUpgradeThreshold()) && in IsEligibleForRouterRoleUpgradeAsBorderRouter() [all …]
|
D | announce_sender.cpp | 128 Get<Mle::MleRouter>().SendAnnounce(mChannel); in HandleTimer() 210 switch (Get<Mle::Mle>().GetRole()) in HandleRoleChanged() 212 case Mle::kRoleLeader: in HandleRoleChanged() 213 case Mle::kRoleRouter: in HandleRoleChanged() 216 case Mle::kRoleChild: in HandleRoleChanged() 218 if (Get<Mle::MleRouter>().IsRouterEligible() && Get<Mle::Mle>().IsRxOnWhenIdle()) in HandleRoleChanged() 226 case Mle::kRoleDisabled: in HandleRoleChanged() 227 case Mle::kRoleDetached: in HandleRoleChanged()
|
D | child_supervision.cpp | 120 …bool shouldRun = (!Get<Mle::Mle>().IsDisabled() && Get<ChildTable>().HasChildren(Child::kInStateVa… in CheckState() 166 if (Get<Mle::Mle>().IsChild()) in SetInterval() 168 IgnoreError(Get<Mle::Mle>().SendChildUpdateRequest()); in SetInterval() 190 VerifyOrExit(mTimer.IsRunning() && aIsSecure && Get<Mle::MleRouter>().IsChild() && in UpdateOnReceive() 191 … (Get<NeighborTable>().FindNeighbor(aSourceAddress) == &Get<Mle::MleRouter>().GetParent())); in UpdateOnReceive() 201 …if ((mTimeout != 0) && !Get<Mle::MleRouter>().IsDisabled() && !Get<MeshForwarder>().GetRxOnWhenIdl… in RestartTimer() 213 VerifyOrExit(Get<Mle::MleRouter>().IsChild() && !Get<MeshForwarder>().GetRxOnWhenIdle()); in HandleTimer() 218 IgnoreError(Get<Mle::MleRouter>().SendChildUpdateRequest()); in HandleTimer()
|
D | mle.cpp | 64 namespace Mle { namespace 68 const otMeshLocalPrefix Mle::kMeshLocalPrefixInit = { 72 Mle::Mle(Instance &aInstance) in Mle() function in ot::Mle::Mle 148 Error Mle::Enable(void) in Enable() 153 SuccessOrExit(error = mSocket.Open(&Mle::HandleUdpReceive, this)); in Enable() 163 void Mle::ScheduleChildUpdateRequest(void) in ScheduleChildUpdateRequest() 169 Error Mle::Disable(void) in Disable() 181 Error Mle::Start(StartMode aMode) in Start() 235 void Mle::Stop(StopMode aMode) in Stop() 266 void Mle::ResetCounters(void) in ResetCounters() [all …]
|
D | neighbor_table.cpp | 52 Mle::Mle &mle = Get<Mle::Mle>(); in FindParent() 86 if (Get<Mle::Mle>().IsRouterOrLeader()) in FindNeighbor() 147 if (Get<Mle::Mle>().IsRoutingLocator(aIp6Address)) in FindNeighbor() 183 VerifyOrExit(Get<Mle::Mle>().IsChild()); in FindRxOnlyNeighborRouter() 223 for (index = -aIterator; index <= Mle::kMaxRouterId; index++) in GetNextNeighborInfo() 255 VerifyOrExit(Get<Mle::Mle>().GetParent().IsStateValid()); in GetNextNeighborInfo() 257 aNeighInfo.SetFrom(Get<Mle::Mle>().GetParent()); in GetNextNeighborInfo()
|
D | discover_scanner.cpp | 46 namespace Mle { namespace 70 Mle::TxMessage *message = nullptr; in Discover() 107 …VerifyOrExit((message = Get<Mle>().NewMleMessage(Mle::kCommandDiscoveryRequest)) != nullptr, error… in Discover() 156 if (!Get<Mle>().IsDisabled() && !Get<Mle>().IsRxOnWhenIdle()) in Discover() 161 Mle::Log(Mle::kMessageSend, Mle::kTypeDiscoveryRequest, destination); in Discover() 248 if (!Get<Mle>().IsDisabled() && !Get<Mle>().IsRxOnWhenIdle()) in HandleDiscoverComplete() 309 void DiscoverScanner::HandleDiscoveryResponse(Mle::RxInfo &aRxInfo) const in HandleDiscoveryResponse() 321 Mle::Log(Mle::kMessageReceive, Mle::kTypeDiscoveryResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDiscoveryResponse() 405 Mle::LogProcessError(Mle::kTypeDiscoveryResponse, error); in HandleDiscoveryResponse()
|
D | anycast_locator.cpp | 59 VerifyOrExit((aCallback != nullptr) && Get<Mle::Mle>().IsAnycastLocator(aAnycastAddress), in Locate() 101 meshLocalAddress.SetPrefix(Get<Mle::Mle>().GetMeshLocalPrefix()); in HandleResponse() 133 …SuccessOrExit(Tlv::Append<ThreadMeshLocalEidTlv>(*message, Get<Mle::Mle>().GetMeshLocal64().GetIid… in HandleTmf() 134 SuccessOrExit(Tlv::Append<ThreadRloc16Tlv>(*message, Get<Mle::Mle>().GetRloc16())); in HandleTmf()
|
D | router_table.hpp | 329 bool IsRouteTlvIdSequenceMoreRecent(const Mle::RouteTlv &aRouteTlv) const; 359 void UpdateRouterIdSet(uint8_t aRouterIdSequence, const Mle::RouterIdSet &aRouterIdSet); 368 void UpdateRoutes(const Mle::RouteTlv &aRouteTlv, uint8_t aNeighborId); 379 void UpdateRoutesOnFed(const Mle::RouteTlv &aRouteTlv, uint8_t aParentId); 387 …void GetRouterIdSet(Mle::RouterIdSet &aRouterIdSet) const { return mRouterIdMap.GetAsRouterIdSet(a… in GetRouterIdSet() 400 void FillRouteTlv(Mle::RouteTlv &aRouteTlv, const Neighbor *aNeighbor = nullptr) const; 483 void GetAsRouterIdSet(Mle::RouterIdSet &aRouterIdSet) const; 497 uint8_t mIndexes[Mle::kMaxRouterId + 1]; 502 Array<Router, Mle::kMaxRouters> mRouters;
|
D | mesh_forwarder_ftd.cpp | 85 … bool destinedForAll = ((destination == Get<Mle::Mle>().GetLinkLocalAllThreadNodesAddress()) || in SendMessage() 86 … (destination == Get<Mle::Mle>().GetRealmLocalAllThreadNodesAddress())); in SendMessage() 177 Get<AddressResolver>().LookUp(ip6Dst) == Get<Mle::MleRouter>().GetRloc16()) in HandleResolved() 377 nextHop = Get<Mle::MleRouter>().GetNextHop(meshHeader.GetDestination()); in UpdateMeshRoute() 425 uint8_t bestCost = Mle::kMaxRouteCost; in AnycastRouteLookup() 488 routerId = Mle::RouterIdFromRloc16(bestDest); in AnycastRouteLookup() 490 …if (!(Mle::IsActiveRouter(bestDest) || Mle::Rloc16FromRouterId(routerId) == Get<Mle::MleRouter>().… in AnycastRouteLookup() 494 bestDest = Mle::Rloc16FromRouterId(routerId); in AnycastRouteLookup() 505 Mle::MleRouter &mle = Get<Mle::MleRouter>(); in UpdateIp6RouteFtd() 516 VerifyOrExit(Mle::IsRouterIdValid(Mle::RouterIdFromRloc16(rloc16)), error = kErrorDrop); in UpdateIp6RouteFtd() [all …]
|
D | tmf.cpp | 45 void MessageInfo::SetSockAddrToRloc(void) { SetSockAddr(Get<Mle::MleRouter>().GetMeshLocal16()); } in SetSockAddrToRloc() 50 return Get<Mle::MleRouter>().GetLeaderAloc(GetPeerAddr()); in SetSockAddrToRlocPeerAddrToLeaderAloc() 56 return Get<Mle::MleRouter>().GetLeaderAddress(GetPeerAddr()); in SetSockAddrToRlocPeerAddrToLeaderRloc() 68 SetPeerAddr(Get<Mle::MleRouter>().GetMeshLocal16()); in SetSockAddrToRlocPeerAddrTo() 132 Case(kUriAddressSolicit, Mle::MleRouter); in HandleResource() 133 Case(kUriAddressRelease, Mle::MleRouter); in HandleResource() 217 VerifyOrExit(Get<Mle::Mle>().IsMeshLocalAddress(aSourceAddress)); in IsTmfMessage() 218 …VerifyOrExit(Get<Mle::Mle>().IsMeshLocalAddress(aDestAddress) || aDestAddress.IsLinkLocalMulticast… in IsTmfMessage()
|
D | network_data_leader.cpp | 164 if (Get<Mle::MleRouter>().IsMeshLocalAddress(aAddress)) in GetContext() 196 if (aContextId == Mle::kMeshLocalPrefixContextId) in GetContext() 224 aContext.mPrefix.Set(Get<Mle::MleRouter>().GetMeshLocalPrefix()); in GetContextForMeshLocalPrefix() 225 aContext.mContextId = Mle::kMeshLocalPrefixContextId; in GetContextForMeshLocalPrefix() 235 VerifyOrExit(!Get<Mle::MleRouter>().IsMeshLocalAddress(aAddress), isOnMesh = true); in IsOnMesh() 311 …result = ThreeWayCompare((aFirstRloc == Get<Mle::Mle>().GetRloc16()), (aSecondRloc == Get<Mle::Mle… in CompareRouteEntries() 326 result = ThreeWayCompare(Mle::IsActiveRouter(aFirstRloc), Mle::IsActiveRouter(aSecondRloc)); in CompareRouteEntries() 435 if (Get<Mle::MleRouter>().IsLeader()) in SetNetworkData()
|
D | network_data_service.cpp | 155 uint16_t leaderRloc16 = Mle::Rloc16FromRouterId(Get<Mle::MleRouter>().GetLeaderId()); in IsBackboneRouterPreferredTo() 185 aInfo.mAnycastAddress.SetToAnycastLocator(Get<Mle::Mle>().GetMeshLocalPrefix(), in GetNextDnsSrpAnycastInfo() 186 Mle::ServiceAlocFromId(tlv->GetServiceId())); in GetNextDnsSrpAnycastInfo() 300 … aInfo.mSockAddr.GetAddress().SetToRoutingLocator(Get<Mle::Mle>().GetMeshLocalPrefix(), in GetNextDnsSrpUnicastInfo() 327 aInfo.mRloc16 = Mle::kInvalidRloc16; in GetNextDnsSrpUnicastInfo()
|
D | key_manager.hpp | 355 const Mle::KeyMaterial &GetCurrentMleKey(void) const { return mMleKey; } in GetCurrentMleKey() 365 const Mle::KeyMaterial &GetTemporaryMleKey(uint32_t aKeySequence); 575 Mle::Key mMleKey; 584 const Mle::Key &GetMleKey(void) const { return mKeys.mMleKey; } in GetMleKey() 620 Mle::KeyMaterial mMleKey; 621 Mle::KeyMaterial mTemporaryMleKey;
|
D | discover_scanner.hpp | 54 namespace Mle { namespace 64 friend class Mle; 172 void HandleDiscoveryResponse(Mle::RxInfo &aRxInfo) const;
|
/openthread-3.6.0/src/core/api/ |
D | thread_api.cpp | 50 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetTimeout(); in otThreadGetChildTimeout() 55 AsCoreType(aInstance).Get<Mle::MleRouter>().SetTimeout(aTimeout); in otThreadSetChildTimeout() 69 VerifyOrExit(instance.Get<Mle::MleRouter>().IsDisabled(), error = kErrorInvalidState); in otThreadSetExtendedPanId() 82 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetLeaderAddress(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>().GetMeshLocal16(); in otThreadGetRloc() 153 return &AsCoreType(aInstance).Get<Mle::MleRouter>().GetMeshLocal64(); in otThreadGetMeshLocalEid() [all …]
|
D | thread_ftd_api.cpp | 57 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetMaxChildIpAddresses(); in otThreadGetMaxChildIpAddresses() 63 return AsCoreType(aInstance).Get<Mle::MleRouter>().SetMaxChildIpAddresses(aMaxIpAddresses); in otThreadSetMaxChildIpAddresses() 69 return AsCoreType(aInstance).Get<Mle::MleRouter>().IsRouterEligible(); in otThreadIsRouterEligible() 74 return AsCoreType(aInstance).Get<Mle::MleRouter>().SetRouterEligible(aEligible); in otThreadSetRouterEligible() 79 return AsCoreType(aInstance).Get<Mle::MleRouter>().SetPreferredRouterId(aRouterId); in otThreadSetPreferredRouterId() 85 return &AsCoreType(aInstance).Get<Mle::MleRouter>().GetDeviceProperties(); in otThreadGetDeviceProperties() 90 AsCoreType(aInstance).Get<Mle::MleRouter>().SetDeviceProperties(AsCoreType(aDeviceProperties)); in otThreadSetDeviceProperties() 96 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetLeaderWeight(); in otThreadGetLocalLeaderWeight() 101 AsCoreType(aInstance).Get<Mle::MleRouter>().SetLeaderWeight(aWeight); in otThreadSetLocalLeaderWeight() 107 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetPreferredLeaderPartitionId(); in otThreadGetPreferredLeaderPartitionId() [all …]
|
/openthread-3.6.0/src/core/utils/ |
D | mesh_diag.cpp | 72 VerifyOrExit(Get<Mle::Mle>().IsAttached(), error = kErrorInvalidState); in DiscoverTopology() 92 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in DiscoverTopology() 101 destination = Get<Mle::MleRouter>().GetMeshLocal16(); in DiscoverTopology() 102 destination.GetIid().SetLocator(Mle::Rloc16FromRouterId(routerId)); in DiscoverTopology() 174 VerifyOrExit(Get<Mle::Mle>().IsAttached(), error = kErrorInvalidState); in SendQuery() 176 VerifyOrExit(Mle::IsActiveRouter(aRloc16), error = kErrorInvalidArgs); in SendQuery() 177 …VerifyOrExit(Get<RouterTable>().IsAllocated(Mle::RouterIdFromRloc16(aRloc16)), error = kErrorNotFo… in SendQuery() 179 destination = Get<Mle::MleRouter>().GetMeshLocal16(); in SendQuery() 277 VerifyOrExit(Get<Mle::Mle>().IsRoutingLocator(aMessageInfo.GetPeerAddr())); in ProcessMessage() 402 mQueryChildrenIp6Addrs.mCallback.InvokeIfSet(kErrorNone, Mle::kInvalidRloc16, nullptr); in ProcessChildrenIp6AddrsAnswer() [all …]
|
D | history_tracker.cpp | 71 Mle::DeviceMode mode; in RecordNetworkInfo() 75 entry->mRole = MapEnum(Get<Mle::Mle>().GetRole()); in RecordNetworkInfo() 76 entry->mRloc16 = Get<Mle::Mle>().GetRloc16(); in RecordNetworkInfo() 77 entry->mPartitionId = Get<Mle::Mle>().GetLeaderData().GetPartitionId(); in RecordNetworkInfo() 78 mode = Get<Mle::Mle>().GetDeviceMode(); in RecordNetworkInfo() 110 VerifyOrExit((port != Mle::kUdpPort) && (port != Tmf::kUdpPort)); in RecordMessage() 291 for (uint8_t routerId = 0; routerId <= Mle::kMaxRouterId; routerId++) in RecordRouterTableChange() 303 …Get<RouterTable>().GetNextHopAndPathCost(Mle::Rloc16FromRouterId(routerId), nextHopRloc, pathCost); in RecordRouterTableChange() 305 …entry.mNextHop = (nextHopRloc == Mle::kInvalidRloc16) ? kNoNextHop : Mle::RouterIdFromRloc16(next… in RecordRouterTableChange() 306 entry.mPathCost = (pathCost < Mle::kMaxRouteCost) ? pathCost : 0; in RecordRouterTableChange() [all …]
|
/openthread-3.6.0/src/core/net/ |
D | ip6_mpl.cpp | 79 if (aAddress == Get<Mle::Mle>().GetMeshLocal16()) in InitOption() 87 aOption.SetSeedId(Get<Mle::Mle>().GetRloc16()); in InitOption() 318 switch (Get<Mle::Mle>().GetRole()) in DetermineMaxRetransmissions() 320 case Mle::kRoleDisabled: in DetermineMaxRetransmissions() 321 case Mle::kRoleDetached: in DetermineMaxRetransmissions() 324 case Mle::kRoleChild: in DetermineMaxRetransmissions() 328 case Mle::kRoleRouter: in DetermineMaxRetransmissions() 329 case Mle::kRoleLeader: in DetermineMaxRetransmissions() 347 …interval = (kDataMessageInterval / Mle::kMaxRouters) * Get<RouterTable>().GetNeighborCount(kLinkQu… in AddBufferedMessage()
|
D | nd_agent.cpp | 51 uint16_t rloc16 = Get<Mle::MleRouter>().GetRloc16(); in UpdateService() 59 Mle::kAloc16NeighborDiscoveryAgentStart + 1); in UpdateService() 104 uint16_t rloc = Mle::kAloc16NeighborDiscoveryAgentStart + lowpanContext.mContextId - 1; in UpdateService() 107 … mAloc.GetAddress().SetToAnycastLocator(Get<Mle::MleRouter>().GetMeshLocalPrefix(), rloc); in UpdateService()
|
D | ip6_filter.cpp | 72 if (Get<Mle::MleRouter>().GetRole() == Mle::kRoleDisabled) in Accept() 83 if (dstPort == Mle::kUdpPort) in Accept()
|
/openthread-3.6.0/src/core/backbone_router/ |
D | bbr_local.cpp | 66 mBbrPrimaryAloc.GetAddress().GetIid().SetToLocator(Mle::kAloc16BackboneRouterPrimary); in Local() 180 VerifyOrExit(mState != kStateDisabled && Get<Mle::Mle>().IsAttached()); in AddService() 186 … Get<BackboneRouter::Leader>().GetServer16() == Get<Mle::MleRouter>().GetRloc16()); in AddService() 226 … mAllNetworkBackboneRouters.SetMulticastNetworkPrefix(Get<Mle::MleRouter>().GetMeshLocalPrefix()); in SetState() 238 mBbrPrimaryAloc.GetAddress().SetPrefix(Get<Mle::MleRouter>().GetMeshLocalPrefix()); in SetState() 254 VerifyOrExit(IsEnabled() && Get<Mle::MleRouter>().IsAttached()); in HandleBackboneRouterPrimaryUpdate() 261 if (!Get<Mle::MleRouter>().IsLeader()) in HandleBackboneRouterPrimaryUpdate() 269 else if (aConfig.mServer16 != Get<Mle::MleRouter>().GetRloc16()) in HandleBackboneRouterPrimaryUpdate() 298 VerifyOrExit(!Get<Mle::MleRouter>().IsRouterRoleTransitionPending()); in HandleTimeTick() 375 … mAllNetworkBackboneRouters.SetMulticastNetworkPrefix(Get<Mle::MleRouter>().GetMeshLocalPrefix()); in ApplyNewMeshLocalPrefix()
|
/openthread-3.6.0/src/core/meshcop/ |
D | dataset_manager_ftd.cpp | 91 VerifyOrExit(Get<Mle::MleRouter>().IsLeader()); in HandleSet() 137 meshLocalPrefix != Get<Mle::MleRouter>().GetMeshLocalPrefix()) in HandleSet() 246 SuccessOrExit(Get<Mle::MleRouter>().GetCommissionerAloc(destination, localSessionId)); in HandleSet() 252 if (Get<Mle::MleRouter>().IsLeader()) in HandleSet() 299 VerifyOrExit(Get<Mle::MleRouter>().IsAttached(), error = kErrorInvalidState); in GenerateLocal() 335 IgnoreError(dataset.Write<MeshLocalPrefixTlv>(Get<Mle::MleRouter>().GetMeshLocalPrefix())); in GenerateLocal() 400 VerifyOrExit(Get<Mle::Mle>().IsLeader()); in HandleTmf() 413 VerifyOrExit(Get<Mle::Mle>().IsLeader()); in HandleTmf() 426 VerifyOrExit(Get<Mle::MleRouter>().IsAttached()); in ApplyActiveDataset()
|