Ripples 1.0
High Performant Software Architecture For Transaction Processing
Loading...
Searching...
No Matches
rr_record_s Struct Reference

#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
 

Detailed Description

Structure describes a DNS Resource Record.

Field Documentation

◆ class

uint16_t rr_record_s::class

Resource record class. Valid classes are defined as rip_ns_class_t.

◆ name

unsigned char* rr_record_s::name

Resource record domain name as string, uncompressed. MUST have a string terminating '\0' character at the end.

◆ name_len

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.

◆ rdata

uint8_t* rr_record_s::rdata

Resource record data. Representation is in network order.

◆ rdata_len

uint16_t rr_record_s::rdata_len

Resource record data length. Representation is in host order.

◆ ttl

uint32_t rr_record_s::ttl

Record TTL. Representation is in host order.

◆ type

uint16_t rr_record_s::type

Resource record type. Valid types are defined as rip_ns_type_t.


The documentation for this struct was generated from the following file: