Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/net/
Dsrp_server.cpp268 const Host *existingHost = mHosts.FindMatching(aHost.GetFullName()); in HasNameConflictsWith() local
270 if (existingHost != nullptr && *aHost.GetKey() != *existingHost->GetKey()) in HasNameConflictsWith()
329 Host * existingHost; in CommitSrpUpdate() local
352 existingHost = mHosts.FindMatching(aHost.GetFullName()); in CommitSrpUpdate()
359 RemoveHost(existingHost, /* aRetainName */ false, /* aNotifyServiceHandler */ false); in CommitSrpUpdate()
361 else if (existingHost != nullptr) in CommitSrpUpdate()
363 existingHost->SetKeyLease(aHost.GetKeyLease()); in CommitSrpUpdate()
364 RemoveHost(existingHost, /* aRetainName */ true, /* aNotifyServiceHandler */ false); in CommitSrpUpdate()
366 for (Service &service : existingHost->mServices) in CommitSrpUpdate()
368existingHost->RemoveService(&service, /* aRetainName */ true, /* aNotifyServiceHandler */ false); in CommitSrpUpdate()
[all …]