/openthread-3.5.0/src/cli/ |
D | cli_srp_client.hpp | 95 void OutputHostInfo(uint8_t aIndentSize, const otSrpClientHostInfo &aHostInfo); 100 const otSrpClientHostInfo *aHostInfo, 105 const otSrpClientHostInfo *aHostInfo,
|
D | cli_srp_client.cpp | 449 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/ |
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.5.0/src/core/net/ |
D | dnssd_server.hpp | 240 void HandleDiscoveredHost(const char *aHostFullName, const HostInfo &aHostInfo); 362 Error AppendHostAddresses(const HostInfo &aHostInfo); 368 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() 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()
|
D | srp_client.hpp | 1010 …void InvokeCallback(Error aError, const HostInfo &aHostInfo, const Service *aRemovedServices) con…
|
D | srp_client.cpp | 728 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/ |
D | dnssd_server.h | 214 …HandleDiscoveredHost(otInstance *aInstance, const char *aHostFullName, otDnssdHostInfo *aHostInfo);
|
D | srp_client.h | 177 const otSrpClientHostInfo *aHostInfo,
|
/openthread-3.5.0/src/ncp/ |
D | ncp_base.hpp | 615 otError EncodeSrpClientHostInfo(const otSrpClientHostInfo &aHostInfo); 619 const otSrpClientHostInfo *aHostInfo, 624 const otSrpClientHostInfo *aHostInfo,
|
D | ncp_base_mtd.cpp | 3697 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/ |
D | test_srp_server.cpp | 275 const otSrpClientHostInfo *aHostInfo, in HandleSrpClientCallback() argument 287 OT_UNUSED_VARIABLE(aHostInfo); in HandleSrpClientCallback()
|