Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/thread/
Dnetwork_data_leader_ftd.cpp810 HasRouteTlv *dstHasRoute = aDstPrefix.FindSubTlv<HasRouteTlv>(aHasRoute.IsStable()); in AddHasRoute() local
813 if (dstHasRoute == nullptr) in AddHasRoute()
818 dstHasRoute = As<HasRouteTlv>(aDstPrefix.GetNext()); in AddHasRoute()
819 Insert(dstHasRoute, sizeof(HasRouteTlv)); in AddHasRoute()
821 dstHasRoute->Init(); in AddHasRoute()
825 dstHasRoute->SetStable(); in AddHasRoute()
829 VerifyOrExit(!ContainsMatchingEntry(dstHasRoute, *entry)); in AddHasRoute()
833 Insert(dstHasRoute->GetNext(), sizeof(HasRouteEntry)); in AddHasRoute()
834 dstHasRoute->IncreaseLength(sizeof(HasRouteEntry)); in AddHasRoute()
837 *dstHasRoute->GetLastEntry() = *entry; in AddHasRoute()
[all …]