Home
last modified time | relevance | path

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

/openthread-3.5.0/src/cli/
Dcli_srp_client.hpp95 void OutputHostInfo(uint8_t aIndentSize, const otSrpClientHostInfo &aHostInfo);
100 const otSrpClientHostInfo *aHostInfo,
105 const otSrpClientHostInfo *aHostInfo,
Dcli_srp_client.cpp449 void SrpClient::OutputHostInfo(uint8_t aIndentSize, const otSrpClientHostInfo &aHostInfo) in OutputHostInfo() argument
453 if (aHostInfo.mName != nullptr) in OutputHostInfo()
455 OutputFormat("\"%s\"", aHostInfo.mName); in OutputHostInfo()
462 OutputFormat(", state:%s, addrs:", otSrpClientItemStateToString(aHostInfo.mState)); in OutputHostInfo()
464 if (aHostInfo.mAutoAddress) in OutputHostInfo()
472 for (uint8_t index = 0; index < aHostInfo.mNumAddresses; index++) in OutputHostInfo()
479 OutputIp6Address(aHostInfo.mAddresses[index]); in OutputHostInfo()
555 const otSrpClientHostInfo *aHostInfo, in HandleCallback() argument
560 …static_cast<SrpClient *>(aContext)->HandleCallback(aError, aHostInfo, aServices, aRemovedServices); in HandleCallback()
564 const otSrpClientHostInfo *aHostInfo, in HandleCallback() argument
[all …]
/openthread-3.5.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.5.0/src/core/net/
Ddnssd_server.hpp240 void HandleDiscoveredHost(const char *aHostFullName, const HostInfo &aHostInfo);
362 Error AppendHostAddresses(const HostInfo &aHostInfo);
368 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()
1062 void Server::Response::Answer(const HostInfo &aHostInfo, const Ip6::MessageInfo &aMessageInfo) in Answer() argument
1066 if (AppendHostAddresses(aHostInfo) != kErrorNone) in Answer()
1124 void Server::HandleDiscoveredHost(const char *aHostFullName, const HostInfo &aHostInfo) in HandleDiscoveredHost() argument
1139 response.Answer(aHostInfo, info.mMessageInfo); in HandleDiscoveredHost()
Dsrp_client.hpp1010 …void InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedServices) con…
Dsrp_client.cpp728 void Client::InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedService… in InvokeCallback() argument
730 mCallback.InvokeIfSet(aError, &aHostInfo, mServices.GetHead(), aRemovedServices); in InvokeCallback()
/openthread-3.5.0/include/openthread/
Ddnssd_server.h214 …HandleDiscoveredHost(otInstance *aInstance, const char *aHostFullName, otDnssdHostInfo *aHostInfo);
Dsrp_client.h177 const otSrpClientHostInfo *aHostInfo,
/openthread-3.5.0/src/ncp/
Dncp_base.hpp615 otError EncodeSrpClientHostInfo(const otSrpClientHostInfo &aHostInfo);
619 const otSrpClientHostInfo *aHostInfo,
624 const otSrpClientHostInfo *aHostInfo,
Dncp_base_mtd.cpp3697 otError NcpBase::EncodeSrpClientHostInfo(const otSrpClientHostInfo &aHostInfo) in EncodeSrpClientHostInfo() argument
3701 SuccessOrExit(error = mEncoder.WriteUtf8(aHostInfo.mName != nullptr ? aHostInfo.mName : "")); in EncodeSrpClientHostInfo()
3702 SuccessOrExit(error = mEncoder.WriteUint8(SrpClientItemStateToSpinel(aHostInfo.mState))); in EncodeSrpClientHostInfo()
3706 for (uint8_t index = 0; index < aHostInfo.mNumAddresses; index++) in EncodeSrpClientHostInfo()
3708 SuccessOrExit(error = mEncoder.WriteIp6Address(aHostInfo.mAddresses[index])); in EncodeSrpClientHostInfo()
3975 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument
3980 …static_cast<NcpBase *>(aContext)->HandleSrpClientCallback(aError, aHostInfo, aServices, aRemovedSe… in HandleSrpClientCallback()
3984 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument
4000 SuccessOrExit(error = EncodeSrpClientHostInfo(*aHostInfo)); in HandleSrpClientCallback()
/openthread-3.5.0/tests/unit/
Dtest_srp_server.cpp275 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument
287 OT_UNUSED_VARIABLE(aHostInfo); in HandleSrpClientCallback()