otDnsServiceInfo Struct Reference

This structure provides info for a DNS service instance.

#include < include/openthread/dns_client.h >

Public Attributes

uint32_t mTtl
Service record TTL (in seconds).
uint16_t mPort
Service port number.
uint16_t mPriority
Service priority.
uint16_t mWeight
Service weight.
char * mHostNameBuffer
Buffer to output the service host name (can be NULL if not needed).
uint16_t mHostNameBufferSize
Size of mHostNameBuffer .
otIp6Address mHostAddress
The host IPv6 address. Set to all zero if not available.
uint32_t mHostAddressTtl
The host address TTL.
uint8_t * mTxtData
Buffer to output TXT data (can be NULL if not needed).
uint16_t mTxtDataSize
On input, size of mTxtData buffer. On output number bytes written.
bool mTxtDataTruncated
Indicates if TXT data could not fit in mTxtDataSize and was truncated.
uint32_t mTxtDataTtl
The TXT data TTL.

This structure provides info for a DNS service instance.


The documentation for this struct was generated from the following file:
  • include/openthread/ dns_client.h