Home
last modified time | relevance | path

Searched refs:hasRoute (Results 1 – 3 of 3) sorted by relevance

/openthread-3.4.0/src/core/thread/
Dnetwork_data.cpp230 const HasRouteTlv *hasRoute = As<HasRouteTlv>(subCur); in Iterate() local
237 … for (uint8_t index; (index = iterator.GetAndAdvanceIndex()) < hasRoute->GetNumEntries();) in Iterate()
239 … if (aRloc16 == Mac::kShortAddrBroadcast || hasRoute->GetEntry(index)->GetRloc() == aRloc16) in Iterate()
241 const HasRouteEntry *hasRouteEntry = hasRoute->GetEntry(index); in Iterate()
246 … aConfig.mExternalRoute->SetFrom(GetInstance(), *prefixTlv, *hasRoute, *hasRouteEntry); in Iterate()
492 HasRouteTlv *hasRoute = As<HasRouteTlv>(cur); in RemoveTemporaryDataIn() local
495 … for (HasRouteEntry *entry = hasRoute->GetFirstEntry(); entry <= hasRoute->GetLastEntry(); in RemoveTemporaryDataIn()
Dnetwork_data_leader.cpp319 const HasRouteTlv *hasRoute; in ExternalRouteLookup() local
333 while ((hasRoute = subTlvIterator.Iterate<HasRouteTlv>()) != nullptr) in ExternalRouteLookup()
335 … for (const HasRouteEntry *entry = hasRoute->GetFirstEntry(); entry <= hasRoute->GetLastEntry(); in ExternalRouteLookup()
Dnetwork_data_leader_ftd.cpp483 const HasRouteTlv *hasRoute = As<HasRouteTlv>(subCur); in ValidatePrefix() local
489 if (hasRoute->IsStable()) in ValidatePrefix()
500 VerifyOrExit(hasRoute->GetFirstEntry() == hasRoute->GetLastEntry()); in ValidatePrefix()
501 VerifyOrExit(hasRoute->GetFirstEntry()->GetRloc() == aRloc16); in ValidatePrefix()