Home
last modified time | relevance | path

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

/external/openthread/src/core/thread/
Dnetwork_data_leader.cpp210 … const BorderRouterTlv *borderRouter = prefix->FindSubTlv<BorderRouterTlv>(/* aStable */ (i == 0)); in IsOnMesh() local
212 if (borderRouter == nullptr) in IsOnMesh()
217 …for (const BorderRouterEntry *entry = borderRouter->GetFirstEntry(); entry <= borderRouter->GetLas… in IsOnMesh()
335 const BorderRouterTlv * borderRouter; in DefaultRouteLookup() local
338 while ((borderRouter = subTlvIterator.Iterate<BorderRouterTlv>()) != nullptr) in DefaultRouteLookup()
340 …for (const BorderRouterEntry *entry = borderRouter->GetFirstEntry(); entry <= borderRouter->GetLas… in DefaultRouteLookup()
Dnetwork_data.cpp187 const BorderRouterTlv *borderRouter = As<BorderRouterTlv>(subCur); in Iterate() local
194 … for (uint8_t index; (index = iterator.GetAndAdvanceIndex()) < borderRouter->GetNumEntries();) in Iterate()
196 … if (aRloc16 == Mac::kShortAddrBroadcast || borderRouter->GetEntry(index)->GetRloc() == aRloc16) in Iterate()
198 … const BorderRouterEntry *borderRouterEntry = borderRouter->GetEntry(index); in Iterate()
202 … aConfig.mOnMeshPrefix->SetFrom(*prefixTlv, *borderRouter, *borderRouterEntry); in Iterate()
427 BorderRouterTlv *borderRouter = As<BorderRouterTlv>(cur); in RemoveTemporaryDataIn() local
431 …for (BorderRouterEntry *entry = borderRouter->GetFirstEntry(); entry <= borderRouter->GetLastEntry… in RemoveTemporaryDataIn()
Dnetwork_data_leader_ftd.cpp483 const BorderRouterTlv *borderRouter = As<BorderRouterTlv>(subCur); in ValidatePrefix() local
489 if (borderRouter->IsStable()) in ValidatePrefix()
500 VerifyOrExit(borderRouter->GetFirstEntry() == borderRouter->GetLastEntry()); in ValidatePrefix()
501 VerifyOrExit(borderRouter->GetFirstEntry()->GetRloc() == aRloc16); in ValidatePrefix()
1419 …const BorderRouterTlv *borderRouter = prefixTlv->FindSubTlv<BorderRouterTlv>(/* aStable */ (i == 0… in ContainsOmrPrefix() local
1421 if (borderRouter == nullptr) in ContainsOmrPrefix()
1426 …for (const BorderRouterEntry *entry = borderRouter->GetFirstEntry(); entry <= borderRouter->GetLas… in ContainsOmrPrefix()
1431 config.SetFrom(*prefixTlv, *borderRouter, *entry); in ContainsOmrPrefix()