Home
last modified time | relevance | path

Searched refs:aServiceInfo (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/src/cli/
Dcli_dns.cpp553 void Dns::OutputDnsServiceInfo(uint8_t aIndentSize, const otDnsServiceInfo &aServiceInfo) in OutputDnsServiceInfo() argument
555 …ne(aIndentSize, "Port:%d, Priority:%d, Weight:%d, TTL:%lu", aServiceInfo.mPort, aServiceInfo.mPrio… in OutputDnsServiceInfo()
556 aServiceInfo.mWeight, ToUlong(aServiceInfo.mTtl)); in OutputDnsServiceInfo()
557 OutputLine(aIndentSize, "Host:%s", aServiceInfo.mHostNameBuffer); in OutputDnsServiceInfo()
559 OutputIp6Address(aServiceInfo.mHostAddress); in OutputDnsServiceInfo()
560 OutputLine(" TTL:%lu", ToUlong(aServiceInfo.mHostAddressTtl)); in OutputDnsServiceInfo()
563 if (!aServiceInfo.mTxtDataTruncated) in OutputDnsServiceInfo()
565 OutputDnsTxtData(aServiceInfo.mTxtData, aServiceInfo.mTxtDataSize); in OutputDnsServiceInfo()
570 OutputBytes(aServiceInfo.mTxtData, aServiceInfo.mTxtDataSize); in OutputDnsServiceInfo()
574 OutputLine(" TTL:%lu", ToUlong(aServiceInfo.mTxtDataTtl)); in OutputDnsServiceInfo()
Dcli_dns.hpp118 void OutputDnsServiceInfo(uint8_t aIndentSize, const otDnsServiceInfo &aServiceInfo);
/openthread-latest/src/core/net/
Ddns_client.cpp245 void Client::Response::InitServiceInfo(ServiceInfo &aServiceInfo) const in InitServiceInfo()
250 aServiceInfo.mTtl = 0; in InitServiceInfo()
251 aServiceInfo.mHostAddressTtl = 0; in InitServiceInfo()
252 aServiceInfo.mTxtDataTtl = 0; in InitServiceInfo()
253 aServiceInfo.mTxtDataTruncated = false; in InitServiceInfo()
255 AsCoreType(&aServiceInfo.mHostAddress).Clear(); in InitServiceInfo()
257 if ((aServiceInfo.mHostNameBuffer != nullptr) && (aServiceInfo.mHostNameBufferSize > 0)) in InitServiceInfo()
259 aServiceInfo.mHostNameBuffer[0] = '\0'; in InitServiceInfo()
263 …nt::Response::ReadServiceInfo(Section aSection, const Name &aName, ServiceInfo &aServiceInfo) const in ReadServiceInfo()
280 VerifyOrExit(aServiceInfo.mTtl == 0); in ReadServiceInfo()
[all …]
Ddns_client.hpp303 void InitServiceInfo(ServiceInfo &aServiceInfo) const;
304 Error ReadServiceInfo(Section aSection, const Name &aName, ServiceInfo &aServiceInfo) const;
305 Error ReadTxtRecord(Section aSection, const Name &aName, ServiceInfo &aServiceInfo) const;
460 Error GetServiceInfo(const char *aInstanceLabel, ServiceInfo &aServiceInfo) const;
538 Error GetServiceInfo(ServiceInfo &aServiceInfo) const;
/openthread-latest/src/core/api/
Ddns_api.cpp175 otDnsServiceInfo *aServiceInfo) in otDnsBrowseResponseGetServiceInfo() argument
179 return AsCoreType(aResponse).GetServiceInfo(aInstanceLabel, AsCoreType(aServiceInfo)); in otDnsBrowseResponseGetServiceInfo()
235 …erviceResponseGetServiceInfo(const otDnsServiceResponse *aResponse, otDnsServiceInfo *aServiceInfo) in otDnsServiceResponseGetServiceInfo() argument
237 return AsCoreType(aResponse).GetServiceInfo(AsCoreType(aServiceInfo)); in otDnsServiceResponseGetServiceInfo()
/openthread-latest/include/openthread/
Ddns_client.h441 otDnsServiceInfo *aServiceInfo);
621 …rviceResponseGetServiceInfo(const otDnsServiceResponse *aResponse, otDnsServiceInfo *aServiceInfo);