Lines Matching refs:Get

105     mLinkLocalAddress.GetAddress().SetToLinkLocalAddress(Get<Mac::Mac>().GetExtAddress());  in Mle()
152 Get<ThreadNetif>().RemoveUnicastAddress(mLinkLocalAddress); in Disable()
163 VerifyOrExit(!Get<Radio>().GetPromiscuous(), error = kErrorInvalidState); in Start()
164 VerifyOrExit(Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in Start()
166 if (Get<Mac::Mac>().GetPanId() == Mac::kPanIdBroadcast) in Start()
168 Get<Mac::Mac>().SetPanId(Mac::GenerateRandomPanId()); in Start()
173 Get<ThreadNetif>().AddUnicastAddress(mMeshLocalEid); in Start()
175 Get<ThreadNetif>().SubscribeMulticast(mLinkLocalAllThreadNodes); in Start()
176 Get<ThreadNetif>().SubscribeMulticast(mRealmLocalAllThreadNodes); in Start()
182 Get<KeyManager>().Start(); in Start()
196 if (Get<MleRouter>().BecomeRouter(ThreadStatusTlv::kTooFewRouters) != kErrorNone) in Start()
216 IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Restore()); in Stop()
217 IgnoreError(Get<MeshCoP::PendingDatasetManager>().Restore()); in Stop()
223 Get<KeyManager>().Stop(); in Stop()
225 Get<ThreadNetif>().UnsubscribeMulticast(mRealmLocalAllThreadNodes); in Stop()
226 Get<ThreadNetif>().UnsubscribeMulticast(mLinkLocalAllThreadNodes); in Stop()
227 Get<ThreadNetif>().RemoveUnicastAddress(mMeshLocalRloc); in Stop()
228 Get<ThreadNetif>().RemoveUnicastAddress(mMeshLocalEid); in Stop()
231 Get<MleRouter>().mRouterRoleRestorer.Stop(); in Stop()
257 mLastUpdatedTimestamp = Get<Uptime>().GetUptime(); in ResetCounters()
265 return IsAttached() ? Uptime::MsecToSec(Get<Uptime>().GetUptime()) - mLastAttachTime : 0; in GetCurrentAttachDuration()
270 uint64_t currentUptimeMsec = Get<Uptime>().GetUptime(); in UpdateRoleTimeCounters()
303 SuccessOrExit(Get<Notifier>().Update(mRole, aRole, kEventThreadRoleChanged)); in SetRole()
310 mLastAttachTime = Uptime::MsecToSec(Get<Uptime>().GetUptime()); in SetRole()
371 IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Restore()); in Restore()
372 IgnoreError(Get<MeshCoP::PendingDatasetManager>().Restore()); in Restore()
375 Get<DuaManager>().Restore(); in Restore()
378 SuccessOrExit(Get<Settings>().Read(networkInfo)); in Restore()
380 Get<KeyManager>().SetCurrentKeySequence(networkInfo.GetKeySequence(), in Restore()
382 Get<KeyManager>().SetMleFrameCounter(networkInfo.GetMleFrameCounter()); in Restore()
383Get<KeyManager>().SetAllMacFrameCounters(networkInfo.GetMacFrameCounter(), /* aSetIfLarger */ fals… in Restore()
411 Get<Mac::Mac>().SetShortAddress(networkInfo.GetRloc16()); in Restore()
414 Get<Mac::Mac>().SetExtAddress(networkInfo.GetExtAddress()); in Restore()
425 if (Get<Settings>().Read(parentInfo) != kErrorNone) in Restore()
451 Get<MleRouter>().SetRouterId(RouterIdFromRloc16(GetRloc16())); in Restore()
452 Get<MleRouter>().SetPreviousPartitionId(networkInfo.GetPreviousPartitionId()); in Restore()
453 Get<ChildTable>().Restore(); in Restore()
481 networkInfo.SetExtAddress(Get<Mac::Mac>().GetExtAddress()); in Store()
494 SuccessOrExit(error = Get<Settings>().Save(parentInfo)); in Store()
507 SuccessOrExit(Get<Settings>().Read(networkInfo)); in Store()
510 networkInfo.SetKeySequence(Get<KeyManager>().GetCurrentKeySequence()); in Store()
511 … networkInfo.SetMleFrameCounter(Get<KeyManager>().GetMleFrameCounter() + mStoreFrameCounterAhead); in Store()
512 …networkInfo.SetMacFrameCounter(Get<KeyManager>().GetMaximumMacFrameCounter() + mStoreFrameCounterA… in Store()
513 networkInfo.SetDeviceMode(mDeviceMode.Get()); in Store()
515 SuccessOrExit(error = Get<Settings>().Save(networkInfo)); in Store()
517 Get<KeyManager>().SetStoredMleFrameCounter(networkInfo.GetMleFrameCounter()); in Store()
518 Get<KeyManager>().SetStoredMacFrameCounter(networkInfo.GetMacFrameCounter()); in Store()
542 IgnoreError(Get<MeshCoP::PendingDatasetManager>().Restore()); in BecomeDetached()
593 if (Get<MeshCoP::ActiveDatasetManager>().Restore() == kErrorNone) in Attach()
612 Get<MleRouter>().StopAdvertiseTrickleTimer(); in Attach()
636 Get<Mac::Mac>().SetRxOnWhenIdle(false); in Attach()
695 Get<BackboneRouter::Local>().Reset(); in SetStateDetached()
698 Get<BackboneRouter::Leader>().Reset(); in SetStateDetached()
704 Get<ThreadNetif>().RemoveUnicastAddress(Get<MleRouter>().mLeaderAloc); in SetStateDetached()
718 Get<MeshForwarder>().SetRxOnWhenIdle(true); in SetStateDetached()
719 Get<Mac::Mac>().SetBeaconEnabled(false); in SetStateDetached()
721 Get<MleRouter>().ClearAlternateRloc16(); in SetStateDetached()
722 Get<MleRouter>().HandleDetachStart(); in SetStateDetached()
725 Get<Mac::Mac>().UpdateCsl(); in SetStateDetached()
734 Get<ThreadNetif>().RemoveUnicastAddress(Get<MleRouter>().mLeaderAloc); in SetStateChild()
745 Get<Mac::Mac>().SetBeaconEnabled(false); in SetStateChild()
751 Get<MleRouter>().HandleChildStart(mAttachMode); in SetStateChild()
774 Get<Mac::Mac>().UpdateCsl(); in SetStateChild()
784 …VerifyOrExit(!IsFullThreadDevice() || IsRouter() || !Get<MleRouter>().IsRouterRoleTransitionPendin… in InformPreviousChannel()
788 Get<AnnounceBeginServer>().SendAnnounce(1 << mAlternateChannel); in InformPreviousChannel()
809 Get<DataPollSender>().RecalculatePollPeriod(); in SetTimeout()
834 Get<Utils::HistoryTracker>().RecordNetworkInfo(); in SetDeviceMode()
838 Get<Utils::Otns>().EmitDeviceMode(mDeviceMode); in SetDeviceMode()
841 …LogNote("Mode 0x%02x -> 0x%02x [%s]", oldMode.Get(), mDeviceMode.Get(), mDeviceMode.ToString().AsC… in SetDeviceMode()
848 Get<MleRouter>().ClearAlternateRloc16(); in SetDeviceMode()
900 Get<ThreadNetif>().RemoveUnicastAddress(mLinkLocalAddress); in UpdateLinkLocalAddress()
901 mLinkLocalAddress.GetAddress().GetIid().SetFromExtAddress(Get<Mac::Mac>().GetExtAddress()); in UpdateLinkLocalAddress()
902 Get<ThreadNetif>().AddUnicastAddress(mLinkLocalAddress); in UpdateLinkLocalAddress()
904 Get<Notifier>().Signal(kEventThreadLinkLocalAddrChanged); in UpdateLinkLocalAddress()
923 Get<ThreadNetif>().ApplyNewMeshLocalPrefix(); in SetMeshLocalPrefix()
939 Get<BackboneRouter::Local>().ApplyNewMeshLocalPrefix(); in SetMeshLocalPrefix()
942 Get<Notifier>().Signal(kEventThreadMeshLocalAddrChanged); in SetMeshLocalPrefix()
953 VerifyOrExit(!Get<ThreadNetif>().HasUnicastAddress(mMeshLocalEid), error = kErrorInvalidState); in SetMeshLocalIid()
970 if (Get<ThreadNetif>().HasUnicastAddress(mMeshLocalRloc) && in SetRloc16()
973 Get<ThreadNetif>().RemoveUnicastAddress(mMeshLocalRloc); in SetRloc16()
974 Get<Tmf::Agent>().ClearRequests(mMeshLocalRloc.GetAddress()); in SetRloc16()
977 Get<Mac::Mac>().SetShortAddress(aRloc16); in SetRloc16()
986 Get<ThreadNetif>().AddUnicastAddress(mMeshLocalRloc); in SetRloc16()
988 Get<AddressResolver>().RestartAddressQueries(); in SetRloc16()
994 Get<MleRouter>().ClearAlternateRloc16(); in SetRloc16()
1009 Get<MleRouter>().HandlePartitionChange(); in SetLeaderData()
1011 Get<Notifier>().Signal(kEventThreadPartitionIdChanged); in SetLeaderData()
1016 Get<Notifier>().SignalIfFirst(kEventThreadPartitionIdChanged); in SetLeaderData()
1043 mLeaderData.SetDataVersion(Get<NetworkData::Leader>().GetVersion(NetworkData::kFullSet)); in GetLeaderData()
1044 …mLeaderData.SetStableDataVersion(Get<NetworkData::Leader>().GetVersion(NetworkData::kStableSubset)… in GetLeaderData()
1056 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in HasUnregisteredAddress()
1070 retval = Get<ThreadNetif>().HasAnyExternalMulticastAddress(); in HasUnregisteredAddress()
1084 Get<DataPollSender>().RecalculatePollPeriod(); in SetCslTimeout()
1086 if (Get<Mac::Mac>().IsCslEnabled()) in SetCslTimeout()
1133 if (!Get<ThreadNetif>().HasUnicastAddress(mMeshLocalEid.GetAddress())) in HandleNotifierEvents()
1137 Get<ThreadNetif>().AddUnicastAddress(mMeshLocalEid); in HandleNotifierEvents()
1138 Get<Notifier>().Signal(kEventThreadMeshLocalAddrChanged); in HandleNotifierEvents()
1168 Get<MleRouter>().HandleNetworkDataUpdateRouter(); in HandleNotifierEvents()
1180 Get<BackboneRouter::Leader>().Update(); in HandleNotifierEvents()
1187 IgnoreError(Get<Dhcp6::Server>().UpdateService()); in HandleNotifierEvents()
1191 Get<NeighborDiscovery::Agent>().UpdateService(); in HandleNotifierEvents()
1195 Get<Dhcp6::Client>().UpdateAddresses(); in HandleNotifierEvents()
1213 Get<MleRouter>().HandleSecurityPolicyChanged(); in HandleNotifierEvents()
1219 Mac::ChannelMask channelMask = Get<Mac::Mac>().GetSupportedChannelMask(); in HandleNotifierEvents()
1221 … if (!channelMask.ContainsChannel(Get<Mac::Mac>().GetPanChannel()) && (mRole != kRoleDisabled)) in HandleNotifierEvents()
1224 Get<Mac::Mac>().GetPanChannel(), channelMask.ToString().AsCString()); in HandleNotifierEvents()
1282 … while (Get<NetworkData::Leader>().GetNextService(iterator, GetRloc16(), service) == kErrorNone) in UpdateServiceAlocs()
1293 Get<ThreadNetif>().RemoveUnicastAddress(serviceAloc); in UpdateServiceAlocs()
1302 while (Get<NetworkData::Leader>().GetNextService(iterator, GetRloc16(), service) == kErrorNone) in UpdateServiceAlocs()
1313 Get<ThreadNetif>().AddUnicastAddress(*newServiceAloc); in UpdateServiceAlocs()
1453 if (IsDetached() && Get<MleRouter>().mRouterRoleRestorer.IsActive()) in HandleAttachTimer()
1455 Get<MleRouter>().mRouterRoleRestorer.HandleTimer(); in HandleAttachTimer()
1488 Get<MeshForwarder>().SetRxOnWhenIdle(true); in HandleAttachTimer()
1564 … (Get<MeshCoP::ActiveDatasetManager>().IsPartiallyComplete() || !IsFullThreadDevice())); in PrepareAnnounceState()
1566 if (Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask) != kErrorNone) in PrepareAnnounceState()
1568 channelMask = Get<Mac::Mac>().GetSupportedChannelMask(); in PrepareAnnounceState()
1585 if (Get<MeshCoP::PendingDatasetManager>().Restore() == kErrorNone) in Reattach()
1587 IgnoreError(Get<MeshCoP::PendingDatasetManager>().ApplyConfiguration()); in Reattach()
1600 IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Restore()); in Reattach()
1614 IgnoreError(Get<Mac::Mac>().SetPanChannel(mAlternateChannel)); in Reattach()
1615 Get<Mac::Mac>().SetPanId(mAlternatePanId); in Reattach()
1620 …else if (IsFullThreadDevice() && Get<MleRouter>().BecomeLeader(/* aCheckWeight */ false) == kError… in Reattach()
1633 Get<DataPollSender>().SetAttachMode(false); in Reattach()
1634 Get<MeshForwarder>().SetRxOnWhenIdle(false); in Reattach()
1739 Get<DataPollSender>().SetAttachMode(true); in HandleChildIdRequestTxDone()
1740 Get<MeshForwarder>().SetRxOnWhenIdle(false); in HandleChildIdRequestTxDone()
1872 …SuccessOrExit(error = Get<LinkMetrics::Initiator>().AppendLinkMetricsQueryTlv(*message, *aQueryInf… in SendDataRequest()
1883 Get<DataPollSender>().SendFastPolls(DataPollSender::kDefaultFastPolls); in SendDataRequest()
1898 if (Get<Mac::Mac>().IsCslEnabled()) in ScheduleMessageTransmissionTimer()
1900 ExitNow(interval = Get<Mac::Mac>().GetCslPeriodInMsec() + kUnicastRetxDelay); in ScheduleMessageTransmissionTimer()
2017 if (Get<Mac::Mac>().IsCslEnabled()) in SendChildUpdateRequestToParent()
2043 Get<MeshForwarder>().SetRxOnWhenIdle(false); in SendChildUpdateRequestToParent()
2045 Get<DataPollSender>().SetAttachMode(!Get<Mac::Mac>().IsCslEnabled()); in SendChildUpdateRequestToParent()
2047 Get<DataPollSender>().SetAttachMode(true); in SendChildUpdateRequestToParent()
2052 Get<MeshForwarder>().SetRxOnWhenIdle(true); in SendChildUpdateRequestToParent()
2116 if (Get<Mac::Mac>().IsCslEnabled()) in SendChildUpdateResponse()
2154 …VerifyOrExit(Get<Mac::Mac>().GetSupportedChannelMask().ContainsChannel(aChannel), error = kErrorIn… in SendAnnounce()
2159 …SuccessOrExit(error = Tlv::Append<ChannelTlv>(*message, ChannelTlvValue(Get<Mac::Mac>().GetPanChan… in SendAnnounce()
2173 SuccessOrExit(error = Tlv::Append<PanIdTlv>(*message, Get<Mac::Mac>().GetPanId())); in SendAnnounce()
2191 if (Get<MeshCoP::ActiveDatasetManager>().GetChannelMask(channelMask) != kErrorNone) in GetNextAnnounceChannel()
2193 channelMask = Get<Mac::Mac>().GetSupportedChannelMask(); in GetNextAnnounceChannel()
2312 aesCcm.SetKey(keySequence == Get<KeyManager>().GetCurrentKeySequence() in ProcessMessageSecurity()
2313 ? Get<KeyManager>().GetCurrentMleKey() in ProcessMessageSecurity()
2314 : Get<KeyManager>().GetTemporaryMleKey(keySequence)); in ProcessMessageSecurity()
2381 Get<MleRouter>().HandleDiscoveryRequest(rxInfo); in HandleUdpReceive()
2385 Get<DiscoverScanner>().HandleDiscoveryResponse(rxInfo); in HandleUdpReceive()
2443Get<RadioSelector>().UpdateOnReceive(*neighbor, aMessage.GetRadioType(), /* IsDuplicate */ true); in HandleUdpReceive()
2480Get<RadioSelector>().UpdateOnReceive(*neighbor, aMessage.GetRadioType(), /* IsDuplicate */ false); in HandleUdpReceive()
2544 Get<MleRouter>().HandleLinkRequest(rxInfo); in HandleUdpReceive()
2548 Get<MleRouter>().HandleLinkAccept(rxInfo); in HandleUdpReceive()
2552 Get<MleRouter>().HandleLinkAcceptAndRequest(rxInfo); in HandleUdpReceive()
2556 Get<MleRouter>().HandleDataRequest(rxInfo); in HandleUdpReceive()
2560 Get<MleRouter>().HandleParentRequest(rxInfo); in HandleUdpReceive()
2564 Get<MleRouter>().HandleChildIdRequest(rxInfo); in HandleUdpReceive()
2610 neighbor = Get<NeighborTable>().FindNeighbor(extAddr, Neighbor::kInStateAnyExceptInvalid); in HandleUdpReceive()
2614Get<RadioSelector>().UpdateOnReceive(*neighbor, aMessage.GetRadioType(), /* aIsDuplicate */ false); in HandleUdpReceive()
2648 VerifyOrExit(aRxInfo.mKeySequence > Get<KeyManager>().GetCurrentKeySequence()); in ProcessKeySequence()
2650 isNextKeySeq = (aRxInfo.mKeySequence - Get<KeyManager>().GetCurrentKeySequence() == 1); in ProcessKeySequence()
2680 Get<KeyManager>().SetCurrentKeySequence(aRxInfo.mKeySequence, flags); in ProcessKeySequence()
2695 Get<Trel::Link>().CheckPeerAddrOnRxSuccess(Trel::Link::kAllowPeerSockAddrUpdate); in CheckTrelPeerAddrOnSecureMleRx()
2715 Get<MleRouter>().SendLinkRequest(static_cast<Router *>(&aNeighbor)); in ReestablishLinkWithNeighbor()
2717 else if (Get<ChildTable>().Contains(aNeighbor)) in ReestablishLinkWithNeighbor()
2722 IgnoreError(Get<MleRouter>().SendChildUpdateRequestToChild(child)); in ReestablishLinkWithNeighbor()
2748 …SuccessOrExit(error = Get<MleRouter>().HandleAdvertisementOnFtd(aRxInfo, sourceAddress, leaderData… in HandleAdvertisement()
2769 …SuccessOrExit(error = Get<MleRouter>().ReadAndProcessRouteTlvOnFtdChild(aRxInfo, mParent.GetRouter… in HandleAdvertisement()
2808 Get<LinkMetrics::Initiator>().HandleReport(aRxInfo.mMessage, offsetRange, in HandleDataResponse()
2815 …SuccessOrExit(error = Get<MleRouter>().ReadAndProcessRouteTlvOnFtdChild(aRxInfo, mParent.GetRouter… in HandleDataResponse()
2824 Get<DataPollSender>().StopFastPolls(); in HandleDataResponse()
2837 Get<NetworkData::Leader>().GetVersion(GetNetworkDataType())); in IsNetworkDataNewer()
2879 if (activeTimestamp != Get<MeshCoP::ActiveDatasetManager>().GetTimestamp()) in HandleLeaderData()
2907 if (pendingTimestamp != Get<MeshCoP::PendingDatasetManager>().GetTimestamp()) in HandleLeaderData()
2936 Get<NetworkData::Leader>().IncrementVersionAndStableVersion(); in HandleLeaderData()
3091 twoWayLinkMargin = Min(Get<Mac::Mac>().ComputeLinkMargin(rss), linkMarginOut); in HandleParentResponse()
3135 …bool isIdSequenceSame = (connectivityTlv.GetIdSequence() == Get<RouterTable>().GetRouterIdSequenc… in HandleParentResponse()
3137 …SerialNumber::IsGreater(connectivityTlv.GetIdSequence(), Get<RouterTable>().GetRouterIdSequence()); in HandleParentResponse()
3157Get<MleRouter>().IsSingleton(), mLeaderData) > 0); in HandleParentResponse()
3202 Get<TimeSync>().SetTimeSyncPeriod(timeParameterTlv.GetTimeSyncPeriod()); in HandleParentResponse()
3203 Get<TimeSync>().SetXtalThreshold(timeParameterTlv.GetXtalThreshold()); in HandleParentResponse()
3289 Get<MeshCoP::PendingDatasetManager>().Clear(); in HandleChildIdResponse()
3299 Get<MeshCoP::PendingDatasetManager>().Clear(); in HandleChildIdResponse()
3309 Get<TimeSync>().HandleTimeSyncMessage(aRxInfo.mMessage); in HandleChildIdResponse()
3321Get<MleRouter>().ReadAndProcessRouteTlvOnFtdChild(aRxInfo, RouterIdFromRloc16(sourceAddress))); in HandleChildIdResponse()
3328 Get<Mac::Mac>().SetCslParentAccuracy(mParent.GetCslAccuracy()); in HandleChildIdResponse()
3339 Get<DataPollSender>().SetAttachMode(false); in HandleChildIdResponse()
3340 Get<MeshForwarder>().SetRxOnWhenIdle(false); in HandleChildIdResponse()
3344 Get<MeshForwarder>().SetRxOnWhenIdle(true); in HandleChildIdResponse()
3358 Get<MleRouter>().HandleChildUpdateRequestOnParent(aRxInfo); in HandleChildUpdateRequest()
3481 Get<MleRouter>().HandleChildUpdateResponseOnParent(aRxInfo); in HandleChildUpdateResponse()
3597 Get<Mac::Mac>().SetCslParentAccuracy(cslAccuracy); in HandleChildUpdateResponseOnChild()
3609 Get<DataPollSender>().SetAttachMode(false); in HandleChildUpdateResponseOnChild()
3610 Get<MeshForwarder>().SetRxOnWhenIdle(false); in HandleChildUpdateResponseOnChild()
3614 Get<MeshForwarder>().SetRxOnWhenIdle(true); in HandleChildUpdateResponseOnChild()
3674 …timestampCompare = MeshCoP::Timestamp::Compare(timestamp, Get<MeshCoP::ActiveDatasetManager>()… in HandleAnnounce()
3675 …channelAndPanIdMatch = (channel == Get<Mac::Mac>().GetPanChannel()) && (panId == Get<Mac::Mac>().G… in HandleAnnounce()
3701 …if (Get<MeshCoP::PendingDatasetManager>().ReadActiveTimestamp(pendingActiveTimestamp) == kErrorNon… in HandleAnnounce()
3711 … if ((Get<MeshCoP::PendingDatasetManager>().ReadRemainingDelay(remainingDelay) == kErrorNone) && in HandleAnnounce()
3741 Get<AnnounceSender>().UpdateOnReceivedAnnounce(); in HandleAnnounce()
3760 …error = Get<LinkMetrics::Subject>().HandleManagementRequest(aRxInfo.mMessage, *aRxInfo.mNeighbor, … in HandleLinkMetricsManagementRequest()
3780 Get<TimeSync>().HandleTimeSyncMessage(aRxInfo.mMessage); in HandleTimeSync()
3797Get<LinkMetrics::Initiator>().HandleManagementResponse(aRxInfo.mMessage, aRxInfo.mMessageInfo.GetP… in HandleLinkMetricsManagementResponse()
3816 SuccessOrExit(error = Get<LinkMetrics::Subject>().HandleLinkProbe(aRxInfo.mMessage, seriesId)); in HandleLinkProbe()
3839 mAlternateChannel = Get<Mac::Mac>().GetPanChannel(); in ProcessAnnounce()
3840 mAlternatePanId = Get<Mac::Mac>().GetPanId(); in ProcessAnnounce()
3843 IgnoreError(Get<Mac::Mac>().SetPanChannel(newChannel)); in ProcessAnnounce()
3844 Get<Mac::Mac>().SetPanId(newPanId); in ProcessAnnounce()
3888 VerifyOrExit((message = Get<Ip6::Ip6>().NewMessage(0)) != nullptr, error = kErrorNoBufs); in InformPreviousParent()
3894 SuccessOrExit(error = Get<Ip6::Ip6>().SendDatagram(*message, messageInfo, Ip6::kProtoNone)); in InformPreviousParent()
3937 VerifyOrExit(Get<Mle>().IsChild()); in HandleTimer()
3940 if (Get<Mle>().IsFullThreadDevice()) in HandleTimer()
3950 parentRss = Get<Mle>().GetParent().GetLinkInfo().GetAverageRss(); in HandleTimer()
3961 Get<Mle>().mCounters.mBetterParentAttachAttempts++; in HandleTimer()
3962 Get<Mle>().Attach(attachMode); in HandleTimer()
3975 for (Router &router : Get<RouterTable>()) in SelectBetterParent()
3996 VerifyOrExit(aRouter.GetRloc16() != Get<Mle>().GetParent().GetRloc16()); in CompareAndUpdateSelectedParent()
4003 …VerifyOrExit(routerRss >= Get<Mle>().GetParent().GetLinkInfo().GetAverageRss() + kRssMarginOverPar… in CompareAndUpdateSelectedParent()
4068 if ((Get<Mle>().mPreviousParentRloc != kInvalidRloc16) && in UpdateState()
4069 (Get<Mle>().mPreviousParentRloc != Get<Mle>().mParent.GetRloc16())) in UpdateState()
4413 Get<MeshForwarder>().SetRxOnWhenIdle(false); in HandleWedAttachTimer()
4442 Get<MeshForwarder>().SetRxOnWhenIdle(true); in Wakeup()
4462 Get<BorderRouter::RoutingManager>().RequestStop(); in DetachGracefully()
4472 Get<MleRouter>().SendAddressRelease(); in DetachGracefully()
4549 destination.SetToLinkLocalAddress(Get<Mle>().mParent.GetExtAddress()); in ScheduleChildUpdateRequestToParent()
4561 destination.SetToLinkLocalAddress(Get<Mle>().mParent.GetExtAddress()); in RemoveScheduledChildUpdateRequestToParent()
4592 Get<MeshForwarder>().RemoveDataResponseMessages(); in ScheduleMulticastDataResponse()
4645 Schedule *schedule = Get<MessagePool>().Allocate(Message::kTypeOther); in AddSchedule()
4712 IgnoreError(Get<Mle>().SendDataRequest(header.mDestination)); in Execute()
4716 IgnoreError(Get<Mle>().SendChildUpdateRequestToParent()); in Execute()
4725 Get<MleRouter>().SendParentResponse(info); in Execute()
4730 Get<MleRouter>().SendAdvertisement(header.mDestination); in Execute()
4734 Get<MleRouter>().SendMulticastDataResponse(); in Execute()
4742 IgnoreError(Get<MleRouter>().SendLinkAccept(info)); in Execute()
4752 router = Get<RouterTable>().FindRouterByRloc16(rlco16); in Execute()
4756 Get<MleRouter>().SendLinkRequest(router); in Execute()
4767 IgnoreError(Get<MleRouter>().SendDiscoveryResponse(header.mDestination, info)); in Execute()
4859 return Tlv::Append<SourceAddressTlv>(*this, Get<Mle>().GetRloc16()); in AppendSourceAddressTlv()
4864 …le::TxMessage::AppendModeTlv(DeviceMode aMode) { return Tlv::Append<ModeTlv>(*this, aMode.Get()); } in AppendModeTlv()
4887 counter = Get<KeyManager>().GetMaximumMacFrameCounter(); in AppendLinkFrameCounterTlv()
4890 Get<KeyManager>().SetAllMacFrameCounters(counter, /* aSetIfLarger */ true); in AppendLinkFrameCounterTlv()
4898 return Tlv::Append<MleFrameCounterTlv>(*this, Get<KeyManager>().GetMleFrameCounter()); in AppendMleFrameCounterTlv()
4918Get<Mle>().mLeaderData.SetDataVersion(Get<NetworkData::Leader>().GetVersion(NetworkData::kFullSet)… in AppendLeaderDataTlv()
4919Get<Mle>().mLeaderData.SetStableDataVersion(Get<NetworkData::Leader>().GetVersion(NetworkData::kSt… in AppendLeaderDataTlv()
4922 leaderDataTlv.Set(Get<Mle>().mLeaderData); in AppendLeaderDataTlv()
4933 VerifyOrExit(!Get<Mle>().mRetrieveNewNetworkData, error = kErrorInvalidState); in AppendNetworkDataTlv()
4936 IgnoreError(Get<NetworkData::Leader>().CopyNetworkData(aType, networkData, length)); in AppendNetworkDataTlv()
4970 …SuccessOrExit(error = AppendCompressedAddressEntry(kMeshLocalPrefixContextId, Get<Mle>().GetMeshLo… in AppendAddressRegistrationTlv()
4977 if (Get<ThreadNetif>().HasUnicastAddress(Get<DuaManager>().GetDomainUnicastAddress()) && in AppendAddressRegistrationTlv()
4978 …(Get<NetworkData::Leader>().GetContext(Get<DuaManager>().GetDomainUnicastAddress(), context) == kE… in AppendAddressRegistrationTlv()
4982 …error = AppendCompressedAddressEntry(context.mContextId, Get<DuaManager>().GetDomainUnicastAddress… in AppendAddressRegistrationTlv()
4987 for (const Ip6::Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in AppendAddressRegistrationTlv()
4990Get<Mle>().IsRoutingLocator(addr.GetAddress()) || Get<Mle>().IsAnycastLocator(addr.GetAddress()) || in AppendAddressRegistrationTlv()
4991 addr.GetAddress() == Get<Mle>().GetMeshLocalEid()) in AppendAddressRegistrationTlv()
4997 if (addr.GetAddress() == Get<DuaManager>().GetDomainUnicastAddress()) in AppendAddressRegistrationTlv()
5003 if (Get<NetworkData::Leader>().GetContext(addr.GetAddress(), context) == kErrorNone) in AppendAddressRegistrationTlv()
5022 if (!Get<Mle>().IsRxOnWhenIdle() in AppendAddressRegistrationTlv()
5024 || !Get<Mle>().GetParent().IsThreadVersion1p1() in AppendAddressRegistrationTlv()
5028 …for (const Ip6::Netif::MulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticastAddress… in AppendAddressRegistrationTlv()
5033 if (Get<Mle>().IsRxOnWhenIdle() && !addr.GetAddress().IsMulticastLargerThanRealmLocal()) in AppendAddressRegistrationTlv()
5090 VerifyOrExit(!Get<Mle>().IsRxOnWhenIdle()); in AppendSupervisionIntervalTlvIfSleepyChild()
5091 error = AppendSupervisionIntervalTlv(Get<SupervisionListener>().GetInterval()); in AppendSupervisionIntervalTlvIfSleepyChild()
5114 tlv.SetTimeSyncPeriod(Get<TimeSync>().GetTimeSyncPeriod()); in AppendTimeParameterTlv()
5115 tlv.SetXtalThreshold(Get<TimeSync>().GetXtalThreshold()); in AppendTimeParameterTlv()
5129 const MeshCoP::Timestamp &timestamp = Get<MeshCoP::ActiveDatasetManager>().GetTimestamp(); in AppendActiveTimestampTlv()
5141 const MeshCoP::Timestamp &timestamp = Get<MeshCoP::PendingDatasetManager>().GetTimestamp(); in AppendPendingTimestampTlv()
5167 return Tlv::Append<CslChannelTlv>(*this, ChannelTlvValue(Get<Mac::Mac>().GetCslChannel())); in AppendCslChannelTlv()
5172 uint32_t timeout = Get<Mle>().GetCslTimeout(); in AppendCslTimeoutTlv()
5176 timeout = Get<Mle>().GetTimeout(); in AppendCslTimeoutTlv()
5189 cslClockAccuracyTlv.SetCslClockAccuracy(Get<Radio>().GetCslAccuracy()); in AppendCslClockAccuracyTlv()
5190 cslClockAccuracyTlv.SetCslUncertainty(Get<Radio>().GetCslUncertainty()); in AppendCslClockAccuracyTlv()
5204 messageInfo.SetSockAddr(Get<Mle>().mLinkLocalAddress.GetAddress()); in SendTo()
5218 header.SetFrameCounter(Get<KeyManager>().GetMleFrameCounter()); in SendTo()
5219 header.SetKeyId(Get<KeyManager>().GetCurrentKeySequence()); in SendTo()
5224 …error = Get<Mle>().ProcessMessageSecurity(Crypto::AesCcm::kEncrypt, *this, messageInfo, offset, he… in SendTo()
5226 Get<KeyManager>().IncrementMleFrameCounter(); in SendTo()
5229 SuccessOrExit(error = Get<Mle>().mSocket.SendTo(*this, messageInfo)); in SendTo()
5242 Get<MleRouter>().FillConnectivityTlv(tlv); in AppendConnectivityTlv()
5262 …if (address.IsMulticast() || Get<NetworkData::Leader>().GetContext(address, context) != kErrorNone) in AppendAddressRegistrationTlv()
5284 Get<RouterTable>().FillRouteTlv(tlv, aNeighbor); in AppendRouteTlv()
5302 error = Get<MeshCoP::ActiveDatasetManager>().Read(dataset); in AppendDatasetTlv()
5307 error = Get<MeshCoP::PendingDatasetManager>().Read(dataset); in AppendDatasetTlv()
5340 if (!Get<MleRouter>().mSteeringData.IsEmpty()) in AppendSteeringDataTlv()
5342 steeringData = Get<MleRouter>().mSteeringData; in AppendSteeringDataTlv()
5347 SuccessOrExit(Get<NetworkData::Leader>().FindSteeringData(steeringData)); in AppendSteeringDataTlv()
5454 leaderDataTlv.Get(aLeaderData); in ReadLeaderDataTlv()
5467 …error = Get<NetworkData::Leader>().SetNetworkData(aLeaderData.GetDataVersion(NetworkData::kFullSet… in ReadAndSetNetworkDataTlv()
5469Get<Mle>().GetNetworkDataType(), *this, offsetRange); in ReadAndSetNetworkDataTlv()
5501 error = Get<MeshCoP::ActiveDatasetManager>().Save(dataset); in ReadAndSaveDataset()
5504 error = Get<MeshCoP::PendingDatasetManager>().Save(dataset); in ReadAndSaveDataset()