|
Ripples 1.0
High Performant Software Architecture For Transaction Processing
|
#include <rr_record.h>
Data Fields | |
| unsigned char * | name |
| uint16_t | name_len |
| uint16_t | type |
| uint16_t | class |
| uint32_t | ttl |
| uint16_t | rdata_len |
| uint8_t * | rdata |
Structure describes a DNS Resource Record.
| uint16_t rr_record_s::class |
Resource record class. Valid classes are defined as rip_ns_class_t.
| unsigned char* rr_record_s::name |
Resource record domain name as string, uncompressed. MUST have a string terminating '\0' character at the end.
| uint16_t rr_record_s::name_len |
Length (in bytes) of resource record name, excluding the string '\0' terminating character. Representation is in host order.
| uint8_t* rr_record_s::rdata |
Resource record data. Representation is in network order.
| uint16_t rr_record_s::rdata_len |
Resource record data length. Representation is in host order.
| uint32_t rr_record_s::ttl |
Record TTL. Representation is in host order.
| uint16_t rr_record_s::type |
Resource record type. Valid types are defined as rip_ns_type_t.