Searched refs:hostReg (Results 1 – 3 of 3) sorted by relevance
325 HostRegistration *hostReg = FindHostRegistration(aName); in HandleDuplicateHostRegistration() local327 VerifyOrExit(hostReg != nullptr); in HandleDuplicateHostRegistration()329 if (hostReg->IsOutdated(aName, aAddress)) in HandleDuplicateHostRegistration()332 RemoveHostRegistration(hostReg->mName, OTBR_ERROR_ABORTED); in HandleDuplicateHostRegistration()334 else if (hostReg->IsCompleted()) in HandleDuplicateHostRegistration()344 hostReg->mCallback = std::bind( in HandleDuplicateHostRegistration()350 std::make_shared<ResultCallback>(std::move(hostReg->mCallback)), in HandleDuplicateHostRegistration()366 HostRegistrationPtr hostReg; in RemoveHostRegistration() local374 hostReg = std::move(it->second); in RemoveHostRegistration()376 hostReg->Complete(aError); in RemoveHostRegistration()
420 auto &hostReg = static_cast<DnssdHostRegistration &>(*kv.second); in FindHostRegistration() local422 if (hostReg.GetServiceRef() == aServiceRef && hostReg.GetRecordRef() == aRecordRef) in FindHostRegistration()620 HostRegistration *hostReg = FindHostRegistration(aServiceRef, aRecordRef); in HandleRegisterHostResult() local624 VerifyOrExit(hostReg != nullptr); in HandleRegisterHostResult()626 hostName = MakeFullHostName(hostReg->mName); in HandleRegisterHostResult()633 hostReg->Complete(OTBR_ERROR_NONE); in HandleRegisterHostResult()638 RemoveHostRegistration(hostReg->mName, error); in HandleRegisterHostResult()
526 HostRegistration * hostReg; in CallHostOrServiceCallback() local539 else if ((hostReg = FindHostRegistration(aGroup)) != nullptr) in CallHostOrServiceCallback()543 hostReg->Complete(aError); in CallHostOrServiceCallback()547 RemoveHostRegistration(hostReg->mName, aError); in CallHostOrServiceCallback()844 const auto &hostReg = static_cast<const AvahiHostRegistration &>(*kv.second); in FindHostRegistration() local845 if (hostReg.GetEntryGroup() == aEntryGroup) in FindHostRegistration()