otDnsRecordInfo
#include <dns_client.h>
Represents info for a record in an otDnsRecordResponse
.
Summary
This struct is used as input to otDnsRecordResponseGetRecordInfo()
.
Public attributes |
|
---|---|
mDataBuffer
|
uint8_t *
Buffer to output the data (Can be NULL if data not needed).
|
mDataBufferSize
|
uint16_t
On input, size of
mDataBuffer . On output number of bytes written. |
mNameBuffer
|
char *
Buffer to output the name (MUST NOT be NULL).
|
mNameBufferSize
|
uint16_t
Size of
mNameBuffer . |
mRecordLength
|
uint16_t
The record data length (in bytes).
|
mRecordType
|
uint16_t
The record type.
|
mSection
|
Indicates the section of the record.
|
mTtl
|
uint32_t
Record TTL (in seconds).
|
Public attributes
mDataBuffer
uint8_t * otDnsRecordInfo::mDataBuffer
Buffer to output the data (Can be NULL if data not needed).
mDataBufferSize
uint16_t otDnsRecordInfo::mDataBufferSize
On input, size of mDataBuffer
. On output number of bytes written.
mNameBuffer
char * otDnsRecordInfo::mNameBuffer
Buffer to output the name (MUST NOT be NULL).
mNameBufferSize
uint16_t otDnsRecordInfo::mNameBufferSize
Size of mNameBuffer
.
mRecordLength
uint16_t otDnsRecordInfo::mRecordLength
The record data length (in bytes).
mRecordType
uint16_t otDnsRecordInfo::mRecordType
The record type.
mTtl
uint32_t otDnsRecordInfo::mTtl
Record TTL (in seconds).
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.