Home
last modified time | relevance | path

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

/openthread-3.6.0/src/cli/
Dcli_srp_client.hpp92 void OutputHostInfo(uint8_t aIndentSize, const otSrpClientHostInfo &aHostInfo);
97 const otSrpClientHostInfo *aHostInfo,
102 const otSrpClientHostInfo *aHostInfo,
Dcli_srp_client.cpp786 void SrpClient::OutputHostInfo(uint8_t aIndentSize, const otSrpClientHostInfo &aHostInfo) in OutputHostInfo() argument
790 if (aHostInfo.mName != nullptr) in OutputHostInfo()
792 OutputFormat("\"%s\"", aHostInfo.mName); in OutputHostInfo()
799 OutputFormat(", state:%s, addrs:", otSrpClientItemStateToString(aHostInfo.mState)); in OutputHostInfo()
801 if (aHostInfo.mAutoAddress) in OutputHostInfo()
809 for (uint8_t index = 0; index < aHostInfo.mNumAddresses; index++) in OutputHostInfo()
816 OutputIp6Address(aHostInfo.mAddresses[index]); in OutputHostInfo()
941 const otSrpClientHostInfo *aHostInfo, in HandleCallback() argument
946 …static_cast<SrpClient *>(aContext)->HandleCallback(aError, aHostInfo, aServices, aRemovedServices); in HandleCallback()
950 const otSrpClientHostInfo *aHostInfo, in HandleCallback() argument
[all …]
/openthread-3.6.0/src/core/api/
Ddns_server_api.cpp63 …yHandleDiscoveredHost(otInstance *aInstance, const char *aHostFullName, otDnssdHostInfo *aHostInfo) in otDnssdQueryHandleDiscoveredHost() argument
66 AssertPointerIsNotNull(aHostInfo); in otDnssdQueryHandleDiscoveredHost()
68 …pe(aInstance).Get<Dns::ServiceDiscovery::Server>().HandleDiscoveredHost(aHostFullName, *aHostInfo); in otDnssdQueryHandleDiscoveredHost()
/openthread-3.6.0/src/core/net/
Ddnssd_server.hpp240 void HandleDiscoveredHost(const char *aHostFullName, const HostInfo &aHostInfo);
360 Error AppendHostAddresses(const HostInfo &aHostInfo);
366 void Answer(const HostInfo &aHostInfo, const Ip6::MessageInfo &aMessageInfo);
Ddnssd_server.cpp573 Error Server::Response::AppendHostAddresses(const HostInfo &aHostInfo) in AppendHostAddresses() argument
575 …return AppendHostAddresses(AsCoreTypePtr(aHostInfo.mAddresses), aHostInfo.mAddressNum, aHostInfo.m… in AppendHostAddresses()
1067 void Server::Response::Answer(const HostInfo &aHostInfo, const Ip6::MessageInfo &aMessageInfo) in Answer() argument
1071 if (AppendHostAddresses(aHostInfo) != kErrorNone) in Answer()
1129 void Server::HandleDiscoveredHost(const char *aHostFullName, const HostInfo &aHostInfo) in HandleDiscoveredHost() argument
1144 response.Answer(aHostInfo, info.mMessageInfo); in HandleDiscoveredHost()
Dsrp_client.hpp1012 …void InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedServices) con…
Dsrp_client.cpp788 void Client::InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedService… in InvokeCallback() argument
790 mCallback.InvokeIfSet(aError, &aHostInfo, mServices.GetHead(), aRemovedServices); in InvokeCallback()
/openthread-3.6.0/include/openthread/
Ddnssd_server.h227 …HandleDiscoveredHost(otInstance *aInstance, const char *aHostFullName, otDnssdHostInfo *aHostInfo);
Dsrp_client.h177 const otSrpClientHostInfo *aHostInfo,
/openthread-3.6.0/src/ncp/
Dncp_base.hpp707 otError EncodeSrpClientHostInfo(const otSrpClientHostInfo &aHostInfo);
711 const otSrpClientHostInfo *aHostInfo,
716 const otSrpClientHostInfo *aHostInfo,
Dncp_base_mtd.cpp3700 otError NcpBase::EncodeSrpClientHostInfo(const otSrpClientHostInfo &aHostInfo) in EncodeSrpClientHostInfo() argument
3704 SuccessOrExit(error = mEncoder.WriteUtf8(aHostInfo.mName != nullptr ? aHostInfo.mName : "")); in EncodeSrpClientHostInfo()
3705 SuccessOrExit(error = mEncoder.WriteUint8(SrpClientItemStateToSpinel(aHostInfo.mState))); in EncodeSrpClientHostInfo()
3709 for (uint8_t index = 0; index < aHostInfo.mNumAddresses; index++) in EncodeSrpClientHostInfo()
3711 SuccessOrExit(error = mEncoder.WriteIp6Address(aHostInfo.mAddresses[index])); in EncodeSrpClientHostInfo()
3978 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument
3983 …static_cast<NcpBase *>(aContext)->HandleSrpClientCallback(aError, aHostInfo, aServices, aRemovedSe… in HandleSrpClientCallback()
3987 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument
4003 SuccessOrExit(error = EncodeSrpClientHostInfo(*aHostInfo)); in HandleSrpClientCallback()
/openthread-3.6.0/tests/unit/
Dtest_srp_server.cpp275 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument
287 OT_UNUSED_VARIABLE(aHostInfo); in HandleSrpClientCallback()