Home
last modified time | relevance | path

Searched refs:Mle (Results 1 – 25 of 105) sorted by relevance

12345

/openthread-3.7.0/src/core/thread/
Drouter_table.cpp55 , 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 …]
Dnetwork_data_notifier.cpp84 VerifyOrExit(Get<Mle::MleRouter>().IsAttached() && !mWaitingForResponse); in SynchronizeServerData()
111 mTimer.Start(Time::SecToMsec(Get<Mle::MleRouter>().GetRouterRoleTransitionTimeout() + 1)); in SynchronizeServerData()
135 VerifyOrExit(Get<Mle::MleRouter>().IsRouterOrLeader()); in RemoveStaleChildEntries()
141 …if (!Mle::IsActiveRouter(rloc16) && Mle::RouterIdMatch(Get<Mle::MleRouter>().GetRloc16(), rloc16) … in RemoveStaleChildEntries()
158 uint16_t deviceRloc = Get<Mle::MleRouter>().GetRloc16(); in UpdateInconsistentData()
164 if (Get<Mle::MleRouter>().IsExpectedToBecomeRouterSoon()) in UpdateInconsistentData()
298 uint16_t rloc16 = Get<Mle::Mle>().GetRloc16(); in IsEligibleForRouterRoleUpgradeAsBorderRouter()
301 VerifyOrExit(Get<Mle::MleRouter>().IsRouterEligible()); in IsEligibleForRouterRoleUpgradeAsBorderRouter()
306 VerifyOrExit(Get<Mle::MleRouter>().GetRouterUpgradeThreshold() != 0); in IsEligibleForRouterRoleUpgradeAsBorderRouter()
316 VerifyOrExit((activeRouterCount >= Get<Mle::MleRouter>().GetRouterUpgradeThreshold()) && in IsEligibleForRouterRoleUpgradeAsBorderRouter()
[all …]
Dtime_sync_service.cpp95 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 …]
Dmle.cpp64 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()
259 void Mle::ResetCounters(void) in ResetCounters()
[all …]
Dannounce_sender.cpp128 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()
Dchild_supervision.cpp120 …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()
Dneighbor_table.cpp52 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()
Ddiscover_scanner.cpp46 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()
320 Mle::Log(Mle::kMessageReceive, Mle::kTypeDiscoveryResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDiscoveryResponse()
404 Mle::LogProcessError(Mle::kTypeDiscoveryResponse, error); in HandleDiscoveryResponse()
Danycast_locator.cpp59 VerifyOrExit((aCallback != nullptr) && Get<Mle::Mle>().IsAnycastLocator(aAnycastAddress), in Locate()
101 meshLocalAddress.SetPrefix(Get<Mle::Mle>().GetMeshLocalPrefix()); in HandleResponse()
127 …SuccessOrExit(Tlv::Append<ThreadMeshLocalEidTlv>(*message, Get<Mle::Mle>().GetMeshLocal64().GetIid… in HandleTmf()
128 SuccessOrExit(Tlv::Append<ThreadRloc16Tlv>(*message, Get<Mle::Mle>().GetRloc16())); in HandleTmf()
Dmesh_forwarder_ftd.cpp85 … 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 …]
Drouter_table.hpp329 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;
482 void GetAsRouterIdSet(Mle::RouterIdSet &aRouterIdSet) const;
496 uint8_t mIndexes[Mle::kMaxRouterId + 1];
501 Array<Router, Mle::kMaxRouters> mRouters;
Dtmf.cpp45 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()
218 VerifyOrExit(Get<Mle::Mle>().IsMeshLocalAddress(aSourceAddress)); in IsTmfMessage()
219 …VerifyOrExit(Get<Mle::Mle>().IsMeshLocalAddress(aDestAddress) || aDestAddress.IsLinkLocalMulticast… in IsTmfMessage()
Dnetwork_data_service.cpp155 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()
Dkey_manager.hpp380 const Mle::KeyMaterial &GetCurrentMleKey(void) const { return mMleKey; } in GetCurrentMleKey()
390 const Mle::KeyMaterial &GetTemporaryMleKey(uint32_t aKeySequence);
606 Mle::Key mMleKey;
615 const Mle::Key &GetMleKey(void) const { return mKeys.mMleKey; } in GetMleKey()
652 Mle::KeyMaterial mMleKey;
653 Mle::KeyMaterial mTemporaryMleKey;
Dnetwork_data_leader.cpp164 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()
327 …result = ThreeWayCompare((aFirstRloc == Get<Mle::Mle>().GetRloc16()), (aSecondRloc == Get<Mle::Mle in CompareRouteEntries()
342 result = ThreeWayCompare(Mle::IsActiveRouter(aFirstRloc), Mle::IsActiveRouter(aSecondRloc)); in CompareRouteEntries()
451 if (Get<Mle::MleRouter>().IsLeader()) in SetNetworkData()
/openthread-3.7.0/src/core/api/
Dthread_api.cpp50 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 …]
Dthread_ftd_api.cpp57 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.7.0/src/core/utils/
Dmesh_diag.cpp72 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 …]
Dhistory_tracker.cpp71 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 …]
Dchannel_manager.cpp80 …if (Get<Mle::Mle>().IsFullThreadDevice() && Get<Mle::Mle>().IsRxOnWhenIdle() && mAutoSelectEnabled) in RequestChannelChange()
124 if (!(!Get<Mle::Mle>().IsRxOnWhenIdle() && Get<Mac::Mac>().IsCslEnabled())) in ChangeCslChannel()
355 VerifyOrExit(!Get<Mle::Mle>().IsDisabled(), error = kErrorInvalidState); in RequestChannelSelect()
/openthread-3.7.0/src/core/net/
Dip6_mpl.cpp79 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()
Dnd_agent.cpp51 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()
/openthread-3.7.0/src/core/backbone_router/
Dbbr_local.cpp66 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.7.0/src/core/radio/
Dtrel_link.cpp221 if (!Get<Mle::MleRouter>().IsRxOnWhenIdle()) in BeginTransmit()
282 switch (Get<Mle::MleRouter>().GetRole()) in HandleTimer()
284 case Mle::kRoleDisabled: in HandleTimer()
287 case Mle::kRoleDetached: in HandleTimer()
288 case Mle::kRoleChild: in HandleTimer()
289 HandleTimer(Get<Mle::MleRouter>().GetParent()); in HandleTimer()
293 case Mle::kRoleRouter: in HandleTimer()
294 case Mle::kRoleLeader: in HandleTimer()
295 HandleTimer(Get<Mle::MleRouter>().GetParentCandidate()); in HandleTimer()
/openthread-3.7.0/src/core/mac/
Ddata_poll_sender.cpp70 const Neighbor &parentCandidate = Get<Mle::MleRouter>().GetParentCandidate(); in GetParent()
72 return parentCandidate.IsStateValid() ? parentCandidate : Get<Mle::MleRouter>().GetParent(); in GetParent()
79 OT_ASSERT(!Get<Mle::MleRouter>().IsRxOnWhenIdle()); in StartPolling()
149 (&parent == &Get<Mle::MleRouter>().GetParentCandidate())) in GetPollDestinationAddress()
219 IgnoreError(Get<Mle::MleRouter>().BecomeDetached()); in HandlePollSent()
343 VerifyOrExit(Get<Mle::MleRouter>().GetParent().IsEnhancedKeepAliveSupported()); in ProcessTxDone()
537 …period = Time::SecToMsec(Min(Get<Mle::MleRouter>().GetTimeout(), Time::MsecToSec(TimerMilli::kMaxD… in GetDefaultPollPeriod()
542 period = Min(period, Time::SecToMsec(Get<Mle::MleRouter>().GetCslTimeout())); in GetDefaultPollPeriod()

12345