Home
last modified time | relevance | path

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

/external/ot-br-posix/src/trel_dnssd/
Dtrel_dnssd.cpp114 … [this](const std::string &aType, const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo) { in StartBrowse() argument
115 OnTrelServiceInstanceResolved(aType, aInstanceInfo); in StartBrowse()
211 … const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo) in OnTrelServiceInstanceResolved() argument
214 VerifyOrExit(aInstanceInfo.mNetifIndex == mTrelNetifIndex); in OnTrelServiceInstanceResolved()
216 if (aInstanceInfo.mRemoved) in OnTrelServiceInstanceResolved()
218 OnTrelServiceInstanceRemoved(aInstanceInfo.mName); in OnTrelServiceInstanceResolved()
222 OnTrelServiceInstanceAdded(aInstanceInfo); in OnTrelServiceInstanceResolved()
282 …TrelDnssd::OnTrelServiceInstanceAdded(const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo) in OnTrelServiceInstanceAdded() argument
284 std::string instanceName = StringUtils::ToLowercase(aInstanceInfo.mName); in OnTrelServiceInstanceAdded()
292aInstanceInfo.mName.c_str(), aInstanceInfo.mHostName.c_str(), aInstanceInfo.mAddresses.size(), in OnTrelServiceInstanceAdded()
[all …]
Dtrel_dnssd.hpp166 … const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo);
167 …id OnTrelServiceInstanceAdded(const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo);
/external/ot-br-posix/src/sdp_proxy/
Ddiscovery_proxy.cpp79 … [this](const std::string &aType, const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo) { in Start() argument
80 if (!aInstanceInfo.mRemoved) in Start()
82 OnServiceDiscovered(aType, aInstanceInfo); in Start()
157 … const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo) in OnServiceDiscovered() argument
161 …std::string unescapedInstanceName = DnsUtils::UnescapeInstanceName(aInstanceInfo.mN… in OnServiceDiscovered()
165 aType.c_str(), aInstanceInfo.mName.c_str(), aInstanceInfo.mHostName.c_str(), in OnServiceDiscovered()
166aInstanceInfo.mAddresses.size(), aInstanceInfo.mPort, aInstanceInfo.mPriority, aInstanceInfo.mWeig… in OnServiceDiscovered()
168 instanceInfo.mAddressNum = aInstanceInfo.mAddresses.size(); in OnServiceDiscovered()
170 if (!aInstanceInfo.mAddresses.empty()) in OnServiceDiscovered()
172 … instanceInfo.mAddresses = reinterpret_cast<const otIp6Address *>(&aInstanceInfo.mAddresses[0]); in OnServiceDiscovered()
[all …]
Ddiscovery_proxy.hpp95 … const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo);
/external/openthread/src/core/net/
Ddnssd_server.cpp871 const otDnssdServiceInstanceInfo &aInstanceInfo) in CanAnswerQuery() argument
885 canAnswer = StringMatch(name, aInstanceInfo.mFullName, kStringCaseInsensitiveMatch); in CanAnswerQuery()
905 const otDnssdServiceInstanceInfo &aInstanceInfo) in AnswerQuery() argument
915 … SuccessOrExit(error = AppendPtrRecord(responseMessage, aServiceFullName, aInstanceInfo.mFullName, in AnswerQuery()
916 aInstanceInfo.mTtl, compressInfo)); in AnswerQuery()
922 … if (HasQuestion(aQuery.GetResponseHeader(), aQuery.GetResponseMessage(), aInstanceInfo.mFullName, in AnswerQuery()
925 …SuccessOrExit(error = AppendSrvRecord(responseMessage, aInstanceInfo.mFullName, aInstanceInfo.mHos… in AnswerQuery()
926aInstanceInfo.mTtl, aInstanceInfo.mPriority, aInstanceInfo.mWeight, in AnswerQuery()
927 aInstanceInfo.mPort, compressInfo)); in AnswerQuery()
931 … if (HasQuestion(aQuery.GetResponseHeader(), aQuery.GetResponseMessage(), aInstanceInfo.mFullName, in AnswerQuery()
[all …]
Ddnssd_server.hpp134 …eredServiceInstance(const char *aServiceFullName, const otDnssdServiceInstanceInfo &aInstanceInfo);
397 const otDnssdServiceInstanceInfo &aInstanceInfo);
400 const otDnssdServiceInstanceInfo &aInstanceInfo);
/external/openthread/src/core/api/
Ddns_server_api.cpp54 otDnssdServiceInstanceInfo *aInstanceInfo) in otDnssdQueryHandleDiscoveredServiceInstance() argument
57 OT_ASSERT(aInstanceInfo != nullptr); in otDnssdQueryHandleDiscoveredServiceInstance()
60 … *aInstanceInfo); in otDnssdQueryHandleDiscoveredServiceInstance()
/external/ot-br-posix/src/mdns/
Dmdns.cpp164 …Publisher::OnServiceResolved(const std::string &aType, const DiscoveredInstanceInfo &aInstanceInfo) in OnServiceResolved() argument
167aInstanceInfo.mRemoved ? "remove" : "add", aInstanceInfo.mName.c_str(), aInstanceInfo.mHostName.c_… in OnServiceResolved()
168 aInstanceInfo.mAddresses.size()); in OnServiceResolved()
172 assert(aInstanceInfo.mNetifIndex > 0); in OnServiceResolved()
174 if (!aInstanceInfo.mRemoved) in OnServiceResolved()
176 DnsUtils::CheckHostnameSanity(aInstanceInfo.mHostName); in OnServiceResolved()
180 UpdateServiceInstanceResolutionEmaLatency(aInstanceInfo.mName, aType, OTBR_ERROR_NONE); in OnServiceResolved()
186 subCallback.second.first(aType, aInstanceInfo); in OnServiceResolved()
Dmdns.hpp135 std::function<void(const std::string &aType, const DiscoveredInstanceInfo &aInstanceInfo)>;
512 … OnServiceResolved(const std::string &aType, const DiscoveredInstanceInfo &aInstanceInfo);
/external/openthread/include/openthread/
Ddnssd_server.h200 otDnssdServiceInstanceInfo *aInstanceInfo);