/external/ot-br-posix/src/trel_dnssd/ |
D | trel_dnssd.cpp | 114 … [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() 292 … aInstanceInfo.mName.c_str(), aInstanceInfo.mHostName.c_str(), aInstanceInfo.mAddresses.size(), in OnTrelServiceInstanceAdded() [all …]
|
D | trel_dnssd.hpp | 166 … const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo); 167 …id OnTrelServiceInstanceAdded(const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo);
|
/external/ot-br-posix/src/sdp_proxy/ |
D | discovery_proxy.cpp | 79 … [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() 166 …aInstanceInfo.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 …]
|
D | discovery_proxy.hpp | 95 … const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo);
|
/external/openthread/src/core/net/ |
D | dnssd_server.cpp | 871 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() 926 … aInstanceInfo.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 …]
|
D | dnssd_server.hpp | 134 …eredServiceInstance(const char *aServiceFullName, const otDnssdServiceInstanceInfo &aInstanceInfo); 397 const otDnssdServiceInstanceInfo &aInstanceInfo); 400 const otDnssdServiceInstanceInfo &aInstanceInfo);
|
/external/openthread/src/core/api/ |
D | dns_server_api.cpp | 54 otDnssdServiceInstanceInfo *aInstanceInfo) in otDnssdQueryHandleDiscoveredServiceInstance() argument 57 OT_ASSERT(aInstanceInfo != nullptr); in otDnssdQueryHandleDiscoveredServiceInstance() 60 … *aInstanceInfo); in otDnssdQueryHandleDiscoveredServiceInstance()
|
/external/ot-br-posix/src/mdns/ |
D | mdns.cpp | 164 …Publisher::OnServiceResolved(const std::string &aType, const DiscoveredInstanceInfo &aInstanceInfo) in OnServiceResolved() argument 167 …aInstanceInfo.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()
|
D | mdns.hpp | 135 std::function<void(const std::string &aType, const DiscoveredInstanceInfo &aInstanceInfo)>; 512 … OnServiceResolved(const std::string &aType, const DiscoveredInstanceInfo &aInstanceInfo);
|
/external/openthread/include/openthread/ |
D | dnssd_server.h | 200 otDnssdServiceInstanceInfo *aInstanceInfo);
|