This structure provides info for a DNS service instance.
Public Attributes#
Service record TTL (in seconds).
Service port number.
Service priority.
Service weight.
Buffer to output the service host name (can be NULL if not needed).
Size of mHostNameBuffer
.
The host IPv6 address. Set to all zero if not available.
The host address TTL.
Buffer to output TXT data (can be NULL if not needed).
On input, size of mTxtData
buffer. On output number bytes written.
Indicates if TXT data could not fit in mTxtDataSize
and was truncated.
The TXT data TTL.
Public Attribute Documentation#
mTtl#
uint32_t otDnsServiceInfo::mTtl
Service record TTL (in seconds).
349
of file include/openthread/dns_client.h
mPort#
uint16_t otDnsServiceInfo::mPort
Service port number.
350
of file include/openthread/dns_client.h
mPriority#
uint16_t otDnsServiceInfo::mPriority
Service priority.
351
of file include/openthread/dns_client.h
mWeight#
uint16_t otDnsServiceInfo::mWeight
Service weight.
352
of file include/openthread/dns_client.h
mHostNameBuffer#
char* otDnsServiceInfo::mHostNameBuffer
Buffer to output the service host name (can be NULL if not needed).
353
of file include/openthread/dns_client.h
mHostNameBufferSize#
uint16_t otDnsServiceInfo::mHostNameBufferSize
Size of mHostNameBuffer
.
354
of file include/openthread/dns_client.h
mHostAddress#
otIp6Address otDnsServiceInfo::mHostAddress
The host IPv6 address. Set to all zero if not available.
355
of file include/openthread/dns_client.h
mHostAddressTtl#
uint32_t otDnsServiceInfo::mHostAddressTtl
The host address TTL.
356
of file include/openthread/dns_client.h
mTxtData#
uint8_t* otDnsServiceInfo::mTxtData
Buffer to output TXT data (can be NULL if not needed).
357
of file include/openthread/dns_client.h
mTxtDataSize#
uint16_t otDnsServiceInfo::mTxtDataSize
On input, size of mTxtData
buffer. On output number bytes written.
358
of file include/openthread/dns_client.h
mTxtDataTruncated#
bool otDnsServiceInfo::mTxtDataTruncated
Indicates if TXT data could not fit in mTxtDataSize
and was truncated.
359
of file include/openthread/dns_client.h
mTxtDataTtl#
uint32_t otDnsServiceInfo::mTxtDataTtl
The TXT data TTL.
360
of file include/openthread/dns_client.h