Home
last modified time | relevance | path

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

/openthread-latest/src/core/net/
Dsrp_server.cpp351 const Host *existingHost = mHosts.FindMatching(aHost.GetFullName()); in HasNameConflictsWith() local
353 if ((existingHost != nullptr) && (aHost.mKey != existingHost->mKey)) in HasNameConflictsWith()
447 Host *existingHost = nullptr; in CommitSrpUpdate() local
467 existingHost = mHosts.RemoveMatching(aHost.GetFullName()); in CommitSrpUpdate()
469 …LogInfo("Committing update for %s host %s", (existingHost != nullptr) ? "existing" : "new", aHost.… in CommitSrpUpdate()
479 VerifyOrExit(existingHost != nullptr); in CommitSrpUpdate()
502 … else if ((existingHost != nullptr) && existingHost->HasService(service.GetInstanceName())) in CommitSrpUpdate()
512 if (existingHost != nullptr) in CommitSrpUpdate()
519 while ((existingService = existingHost->mServices.Pop()) != nullptr) in CommitSrpUpdate()
582 if (existingHost != nullptr) in CommitSrpUpdate()
[all …]
Dsrp_advertising_proxy.cpp367 Host *existingHost; in Advertise() local
407 existingHost = Get<Server>().mHosts.FindMatching(aHost.GetFullName()); in Advertise()
409 if (existingHost != nullptr) in Advertise()
411 CompareAndUpdateHostAndServices(aHost, *existingHost); in Advertise()