/openthread-3.6.0/src/cli/ |
D | cli_srp_client.hpp | 92 void OutputHostInfo(uint8_t aIndentSize, const otSrpClientHostInfo &aHostInfo); 97 const otSrpClientHostInfo *aHostInfo, 102 const otSrpClientHostInfo *aHostInfo,
|
D | cli_srp_client.cpp | 786 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/ |
D | dns_server_api.cpp | 63 …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/ |
D | dnssd_server.hpp | 240 void HandleDiscoveredHost(const char *aHostFullName, const HostInfo &aHostInfo); 360 Error AppendHostAddresses(const HostInfo &aHostInfo); 366 void Answer(const HostInfo &aHostInfo, const Ip6::MessageInfo &aMessageInfo);
|
D | dnssd_server.cpp | 573 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()
|
D | srp_client.hpp | 1012 …void InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedServices) con…
|
D | srp_client.cpp | 788 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/ |
D | dnssd_server.h | 227 …HandleDiscoveredHost(otInstance *aInstance, const char *aHostFullName, otDnssdHostInfo *aHostInfo);
|
D | srp_client.h | 177 const otSrpClientHostInfo *aHostInfo,
|
/openthread-3.6.0/src/ncp/ |
D | ncp_base.hpp | 707 otError EncodeSrpClientHostInfo(const otSrpClientHostInfo &aHostInfo); 711 const otSrpClientHostInfo *aHostInfo, 716 const otSrpClientHostInfo *aHostInfo,
|
D | ncp_base_mtd.cpp | 3700 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/ |
D | test_srp_server.cpp | 275 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument 287 OT_UNUSED_VARIABLE(aHostInfo); in HandleSrpClientCallback()
|