Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/api/
Ddns_server_api.cpp66 …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/
Dcli_srp_client.hpp104 void OutputHostInfo(uint8_t aIndentSize, const otSrpClientHostInfo &aHostInfo);
109 const otSrpClientHostInfo *aHostInfo,
114 const otSrpClientHostInfo *aHostInfo,
Dcli_srp_client.cpp481 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/
Ddnssd_server.h198 …HandleDiscoveredHost(otInstance *aInstance, const char *aHostFullName, otDnssdHostInfo *aHostInfo);
Dsrp_client.h170 const otSrpClientHostInfo *aHostInfo,
/openthread-2.7.6/src/ncp/
Dncp_base.hpp647 otError EncodeSrpClientHostInfo(const otSrpClientHostInfo &aHostInfo);
651 const otSrpClientHostInfo *aHostInfo,
656 const otSrpClientHostInfo *aHostInfo,
Dncp_base_mtd.cpp3716 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/
Ddnssd_server.hpp127 void HandleDiscoveredHost(const char *aHostFullName, const otDnssdHostInfo &aHostInfo);
377 …AnswerQuery(QueryTransaction &aQuery, const char *aHostFullName, const otDnssdHostInfo &aHostInfo);
Ddnssd_server.cpp922 …: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()
Dsrp_client.hpp813 …void InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedServic…
Dsrp_client.cpp636 void Client::InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedService… in InvokeCallback() argument
639 mCallback(aError, &aHostInfo, mServices.GetHead(), aRemovedServices, mCallbackContext); in InvokeCallback()