Electroneum
rrset_parse Struct Reference

#include <msgparse.h>

Collaboration diagram for rrset_parse:

Public Attributes

struct rrset_parserrset_bucket_next
 
struct rrset_parserrset_all_next
 
hashvalue_type hash
 
sldns_pkt_section section
 
uint8_tdname
 
size_t dname_len
 
uint16_t type
 
uint16_t rrset_class
 
uint32_t flags
 
size_t rr_count
 
size_t size
 
struct rr_parserr_first
 
struct rr_parserr_last
 
size_t rrsig_count
 
struct rr_parserrsig_first
 
struct rr_parserrsig_last
 

Detailed Description

Data stored for an rrset during parsing.

Definition at line 135 of file msgparse.h.

Member Data Documentation

◆ dname

uint8_t* rrset_parse::dname

start of (possibly compressed) dname in packet

Definition at line 147 of file msgparse.h.

◆ dname_len

size_t rrset_parse::dname_len

length of the dname uncompressed wireformat

Definition at line 149 of file msgparse.h.

◆ flags

uint32_t rrset_parse::flags

the flags for the rrset, like for packedrrset

Definition at line 155 of file msgparse.h.

◆ hash

hashvalue_type rrset_parse::hash

hash value of rrset

Definition at line 141 of file msgparse.h.

◆ rr_count

size_t rrset_parse::rr_count

number of RRs in the rr list

Definition at line 157 of file msgparse.h.

◆ rr_first

struct rr_parse* rrset_parse::rr_first

linked list of RRs in this rrset.

Definition at line 161 of file msgparse.h.

◆ rr_last

struct rr_parse* rrset_parse::rr_last

last in list of RRs in this rrset.

Definition at line 163 of file msgparse.h.

◆ rrset_all_next

struct rrset_parse* rrset_parse::rrset_all_next

next in list of all rrsets

Definition at line 139 of file msgparse.h.

◆ rrset_bucket_next

struct rrset_parse* rrset_parse::rrset_bucket_next

next in hash bucket

Definition at line 137 of file msgparse.h.

◆ rrset_class

uint16_t rrset_parse::rrset_class

class, network order. var name so that it is not a c++ keyword.

Definition at line 153 of file msgparse.h.

◆ rrsig_count

size_t rrset_parse::rrsig_count

number of RRSIGs over this rrset.

Definition at line 165 of file msgparse.h.

◆ rrsig_first

struct rr_parse* rrset_parse::rrsig_first

linked list of RRsig RRs over this rrset.

Definition at line 167 of file msgparse.h.

◆ rrsig_last

struct rr_parse* rrset_parse::rrsig_last

last in list of RRSIG RRs over this rrset.

Definition at line 169 of file msgparse.h.

◆ section

sldns_pkt_section rrset_parse::section

which section was it found in: one of LDNS_SECTION_ANSWER, LDNS_SECTION_AUTHORITY, LDNS_SECTION_ADDITIONAL

Definition at line 145 of file msgparse.h.

◆ size

size_t rrset_parse::size

sum of RR rdata sizes

Definition at line 159 of file msgparse.h.

◆ type

uint16_t rrset_parse::type

type, host order.

Definition at line 151 of file msgparse.h.


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