Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/thread/
Dnetwork_data_leader.cpp314 const HasRouteEntry *bestRouteEntry = nullptr; in ExternalRouteLookup() local
328 if ((bestRouteEntry != nullptr) && (prefixLength <= bestMatchLength)) in ExternalRouteLookup()
338 if ((bestRouteEntry == nullptr) || (prefixLength > bestMatchLength) || in ExternalRouteLookup()
339 CompareRouteEntries(*entry, *bestRouteEntry) > 0) in ExternalRouteLookup()
341 bestRouteEntry = entry; in ExternalRouteLookup()
348 if (bestRouteEntry != nullptr) in ExternalRouteLookup()
350 aRloc16 = bestRouteEntry->GetRloc(); in ExternalRouteLookup()