Provides info for a DNS service instance.

Public Attributes#

uint32_t

Service record TTL (in seconds).

uint16_t

Service port number.

uint16_t

Service priority.

uint16_t

Service weight.

char *

Buffer to output the service host name (can be NULL if not needed).

uint16_t

Size of mHostNameBuffer.

The host IPv6 address. Set to all zero if not available.

uint32_t

The host address TTL.

uint8_t *

Buffer to output TXT data (can be NULL if not needed).

uint16_t

On input, size of mTxtData buffer. On output number bytes written.

bool

Indicates if TXT data could not fit in mTxtDataSize and was truncated.

uint32_t

The TXT data TTL.

Public Attribute Documentation#

mTtl#

uint32_t otDnsServiceInfo::mTtl

Service record TTL (in seconds).


Definition at line 332 of file include/openthread/dns_client.h

mPort#

uint16_t otDnsServiceInfo::mPort

Service port number.


Definition at line 333 of file include/openthread/dns_client.h

mPriority#

uint16_t otDnsServiceInfo::mPriority

Service priority.


Definition at line 334 of file include/openthread/dns_client.h

mWeight#

uint16_t otDnsServiceInfo::mWeight

Service weight.


Definition at line 335 of file include/openthread/dns_client.h

mHostNameBuffer#

char* otDnsServiceInfo::mHostNameBuffer

Buffer to output the service host name (can be NULL if not needed).


Definition at line 336 of file include/openthread/dns_client.h

mHostNameBufferSize#

uint16_t otDnsServiceInfo::mHostNameBufferSize

Size of mHostNameBuffer.


Definition at line 337 of file include/openthread/dns_client.h

mHostAddress#

otIp6Address otDnsServiceInfo::mHostAddress

The host IPv6 address. Set to all zero if not available.


Definition at line 338 of file include/openthread/dns_client.h

mHostAddressTtl#

uint32_t otDnsServiceInfo::mHostAddressTtl

The host address TTL.


Definition at line 339 of file include/openthread/dns_client.h

mTxtData#

uint8_t* otDnsServiceInfo::mTxtData

Buffer to output TXT data (can be NULL if not needed).


Definition at line 340 of file include/openthread/dns_client.h

mTxtDataSize#

uint16_t otDnsServiceInfo::mTxtDataSize

On input, size of mTxtData buffer. On output number bytes written.


Definition at line 341 of file include/openthread/dns_client.h

mTxtDataTruncated#

bool otDnsServiceInfo::mTxtDataTruncated

Indicates if TXT data could not fit in mTxtDataSize and was truncated.


Definition at line 342 of file include/openthread/dns_client.h

mTxtDataTtl#

uint32_t otDnsServiceInfo::mTxtDataTtl

The TXT data TTL.


Definition at line 343 of file include/openthread/dns_client.h