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