/openthread-2.7.6/src/core/api/ |
D | dns_server_api.cpp | 66 …yHandleDiscoveredHost(otInstance *aInstance, const char *aHostFullName, otDnssdHostInfo *aHostInfo) in otDnssdQueryHandleDiscoveredHost() argument 71 OT_ASSERT(aHostInfo != nullptr); in otDnssdQueryHandleDiscoveredHost() 73 instance.Get<Dns::ServiceDiscovery::Server>().HandleDiscoveredHost(aHostFullName, *aHostInfo); in otDnssdQueryHandleDiscoveredHost()
|
/openthread-2.7.6/src/cli/ |
D | cli_srp_client.hpp | 104 void OutputHostInfo(uint8_t aIndentSize, const otSrpClientHostInfo &aHostInfo); 109 const otSrpClientHostInfo *aHostInfo, 114 const otSrpClientHostInfo *aHostInfo,
|
D | cli_srp_client.cpp | 481 void SrpClient::OutputHostInfo(uint8_t aIndentSize, const otSrpClientHostInfo &aHostInfo) in OutputHostInfo() argument 485 if (aHostInfo.mName != nullptr) in OutputHostInfo() 487 mInterpreter.OutputFormat("\"%s\"", aHostInfo.mName); in OutputHostInfo() 494 … mInterpreter.OutputFormat(", state:%s, addrs:[", otSrpClientItemStateToString(aHostInfo.mState)); in OutputHostInfo() 496 for (uint8_t index = 0; index < aHostInfo.mNumAddresses; index++) in OutputHostInfo() 503 mInterpreter.OutputIp6Address(aHostInfo.mAddresses[index]); in OutputHostInfo() 574 const otSrpClientHostInfo *aHostInfo, in HandleCallback() argument 579 …static_cast<SrpClient *>(aContext)->HandleCallback(aError, aHostInfo, aServices, aRemovedServices); in HandleCallback() 583 const otSrpClientHostInfo *aHostInfo, in HandleCallback() argument 593 OutputHostInfo(kIndentSize, *aHostInfo); in HandleCallback()
|
/openthread-2.7.6/include/openthread/ |
D | dnssd_server.h | 198 …HandleDiscoveredHost(otInstance *aInstance, const char *aHostFullName, otDnssdHostInfo *aHostInfo);
|
D | srp_client.h | 170 const otSrpClientHostInfo *aHostInfo,
|
/openthread-2.7.6/src/ncp/ |
D | ncp_base.hpp | 647 otError EncodeSrpClientHostInfo(const otSrpClientHostInfo &aHostInfo); 651 const otSrpClientHostInfo *aHostInfo, 656 const otSrpClientHostInfo *aHostInfo,
|
D | ncp_base_mtd.cpp | 3716 otError NcpBase::EncodeSrpClientHostInfo(const otSrpClientHostInfo &aHostInfo) in EncodeSrpClientHostInfo() argument 3720 SuccessOrExit(error = mEncoder.WriteUtf8(aHostInfo.mName != nullptr ? aHostInfo.mName : "")); in EncodeSrpClientHostInfo() 3721 SuccessOrExit(error = mEncoder.WriteUint8(SrpClientItemStatetoSpinel(aHostInfo.mState))); in EncodeSrpClientHostInfo() 3725 for (uint8_t index = 0; index < aHostInfo.mNumAddresses; index++) in EncodeSrpClientHostInfo() 3727 SuccessOrExit(error = mEncoder.WriteIp6Address(aHostInfo.mAddresses[index])); in EncodeSrpClientHostInfo() 3996 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument 4001 …static_cast<NcpBase *>(aContext)->HandleSrpClientCallback(aError, aHostInfo, aServices, aRemovedSe… in HandleSrpClientCallback() 4005 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument 4021 SuccessOrExit(error = EncodeSrpClientHostInfo(*aHostInfo)); in HandleSrpClientCallback()
|
/openthread-2.7.6/src/core/net/ |
D | dnssd_server.hpp | 127 void HandleDiscoveredHost(const char *aHostFullName, const otDnssdHostInfo &aHostInfo); 377 …AnswerQuery(QueryTransaction &aQuery, const char *aHostFullName, const otDnssdHostInfo &aHostInfo);
|
D | dnssd_server.cpp | 922 …:AnswerQuery(QueryTransaction &aQuery, const char *aHostFullName, const otDnssdHostInfo &aHostInfo) in AnswerQuery() argument 931 for (uint8_t i = 0; i < aHostInfo.mAddressNum; i++) in AnswerQuery() 933 … const Ip6::Address &address = static_cast<const Ip6::Address &>(aHostInfo.mAddresses[i]); in AnswerQuery() 939 … AppendAaaaRecord(responseMessage, aHostFullName, address, aHostInfo.mTtl, compressInfo)); in AnswerQuery() 976 void Server::HandleDiscoveredHost(const char *aHostFullName, const otDnssdHostInfo &aHostInfo) in HandleDiscoveredHost() argument 984 AnswerQuery(query, aHostFullName, aHostInfo); in HandleDiscoveredHost()
|
D | srp_client.hpp | 813 …void InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedServic…
|
D | srp_client.cpp | 636 void Client::InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedService… in InvokeCallback() argument 639 mCallback(aError, &aHostInfo, mServices.GetHead(), aRemovedServices, mCallbackContext); in InvokeCallback()
|