otDnsServiceInfo
#include <dns_client.h>
Provides info for a DNS service instance.
Summary
Public attributes |
|
---|---|
mHostAddress
|
The host IPv6 address. Set to all zero if not available.
|
mHostAddressTtl
|
uint32_t
The host address TTL.
|
mHostNameBuffer
|
char *
Buffer to output the service host name (can be NULL if not needed).
|
mHostNameBufferSize
|
uint16_t
Size of
mHostNameBuffer . |
mPort
|
uint16_t
Service port number.
|
mPriority
|
uint16_t
Service priority.
|
mTtl
|
uint32_t
Service record TTL (in seconds).
|
mTxtData
|
uint8_t *
Buffer to output TXT data (can be NULL if not needed).
|
mTxtDataSize
|
uint16_t
On input, size of
mTxtData buffer. On output number bytes written. |
mTxtDataTruncated
|
bool
Indicates if TXT data could not fit in
mTxtDataSize and was truncated. |
mTxtDataTtl
|
uint32_t
The TXT data TTL.
|
mWeight
|
uint16_t
Service weight.
|
Public attributes
mHostAddress
otIp6Address otDnsServiceInfo::mHostAddress
The host IPv6 address. Set to all zero if not available.
mHostAddressTtl
uint32_t otDnsServiceInfo::mHostAddressTtl
The host address TTL.
mHostNameBuffer
char * otDnsServiceInfo::mHostNameBuffer
Buffer to output the service host name (can be NULL if not needed).
mHostNameBufferSize
uint16_t otDnsServiceInfo::mHostNameBufferSize
Size of mHostNameBuffer
.
mPort
uint16_t otDnsServiceInfo::mPort
Service port number.
mPriority
uint16_t otDnsServiceInfo::mPriority
Service priority.
mTtl
uint32_t otDnsServiceInfo::mTtl
Service record TTL (in seconds).
mTxtData
uint8_t * otDnsServiceInfo::mTxtData
Buffer to output TXT data (can be NULL if not needed).
mTxtDataSize
uint16_t otDnsServiceInfo::mTxtDataSize
On input, size of mTxtData
buffer. On output number bytes written.
mTxtDataTruncated
bool otDnsServiceInfo::mTxtDataTruncated
Indicates if TXT data could not fit in mTxtDataSize
and was truncated.
mTxtDataTtl
uint32_t otDnsServiceInfo::mTxtDataTtl
The TXT data TTL.
mWeight
uint16_t otDnsServiceInfo::mWeight
Service weight.
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.