Resource record data field. More...
#include <rdata.h>
Data Fields | |
| size_t | _size |
| The size of the data (in octets) | |
| ldns_rdf_type | _type |
| The type of the data. | |
| void * | _data |
| Pointer to the data (raw octets) | |
Resource record data field.
The data is a network ordered array of bytes, which size is specified by the (16-bit) size field. To correctly parse it, use the type specified in the (16-bit) type field with a value from ldns_rdf_type.
| size_t ldns_struct_rdf::_size |
| ldns_rdf_type ldns_struct_rdf::_type |