Home
last modified time | relevance | path

Searched refs:BorderRouterTlv (Results 1 – 9 of 9) sorted by relevance

/openthread-3.4.0/src/core/thread/
Dnetwork_data_leader_ftd.cpp459 const BorderRouterTlv *borderRouter = As<BorderRouterTlv>(subCur); in ValidatePrefix()
593 …return (aPrefix == nullptr) ? false : ContainsMatchingEntry(aPrefix->FindSubTlv<BorderRouterTlv>(a… in ContainsMatchingEntry()
596 bool Leader::ContainsMatchingEntry(const BorderRouterTlv *aBorderRouter, const BorderRouterEntry &a… in ContainsMatchingEntry()
741 … SuccessOrExit(error = AddBorderRouter(*As<BorderRouterTlv>(subCur), *dstPrefix, aChangedFlags)); in AddPrefix()
844 Error Leader::AddBorderRouter(const BorderRouterTlv &aBorderRouter, PrefixTlv &aDstPrefix, ChangedF… in AddBorderRouter()
847BorderRouterTlv *dstBorderRouter = aDstPrefix.FindSubTlv<BorderRouterTlv>(aBorderRouter.Is… in AddBorderRouter()
864 VerifyOrExit(CanInsert(sizeof(BorderRouterTlv) + sizeof(BorderRouterEntry) + in AddBorderRouter()
868 dstBorderRouter = As<BorderRouterTlv>(aDstPrefix.GetNext()); in AddBorderRouter()
869 Insert(dstBorderRouter, sizeof(BorderRouterTlv)); in AddBorderRouter()
870 aDstPrefix.IncreaseLength(sizeof(BorderRouterTlv)); in AddBorderRouter()
[all …]
Dnetwork_data_local.cpp102 ? sizeof(BorderRouterTlv) + sizeof(BorderRouterEntry) in AddPrefix()
113 BorderRouterTlv *brTlv = As<BorderRouterTlv>(prefixTlv->GetSubTlvs()); in AddPrefix()
166 As<BorderRouterTlv>(cur)->GetEntry(0)->SetRloc(rloc16); in UpdateRloc()
Dnetwork_data_leader_ftd.hpp269 …Error AddBorderRouter(const BorderRouterTlv &aBorderRouter, PrefixTlv &aDstPrefix, ChangedFlags &a…
302 BorderRouterTlv &aBorderRouter,
317 …static bool ContainsMatchingEntry(const BorderRouterTlv *aBorderRouter, const BorderRouterEntry &a…
Dnetwork_data_types.hpp65 class BorderRouterTlv;
214 const BorderRouterTlv &aBorderRouterTlv,
Dnetwork_data_leader.cpp221 const BorderRouterTlv *brTlv; in IsOnMesh()
223 while ((brTlv = subTlvIterator.Iterate<BorderRouterTlv>()) != nullptr) in IsOnMesh()
361 const BorderRouterTlv *brTlv; in DefaultRouteLookup()
364 while ((brTlv = subTlvIterator.Iterate<BorderRouterTlv>()) != nullptr) in DefaultRouteLookup()
Dnetwork_data.cpp203 const BorderRouterTlv *borderRouter = As<BorderRouterTlv>(subCur); in Iterate()
470 BorderRouterTlv *borderRouter = As<BorderRouterTlv>(cur); in RemoveTemporaryDataIn()
Dnetwork_data_types.cpp135 const BorderRouterTlv &aBorderRouterTlv, in SetFrom()
Dnetwork_data_publisher.cpp971 const BorderRouterTlv *brSubTlv; in CountOnMeshPrefixEntries()
978 brSubTlv = prefixTlv->FindSubTlv<BorderRouterTlv>(/* aStable */ true); in CountOnMeshPrefixEntries()
Dnetwork_data_tlvs.hpp1095 class BorderRouterTlv : public NetworkDataTlv class