unbound  0.1
Data Fields
rrset_parse Struct Reference

Data stored for an rrset during parsing. More...

#include <msgparse.h>

Data Fields

struct rrset_parserrset_bucket_next
 next in hash bucket
 
struct rrset_parserrset_all_next
 next in list of all rrsets
 
hashvalue_type hash
 hash value of rrset
 
sldns_pkt_section section
 which section was it found in: one of LDNS_SECTION_ANSWER, LDNS_SECTION_AUTHORITY, LDNS_SECTION_ADDITIONAL
 
uint8_t * dname
 start of (possibly compressed) dname in packet
 
size_t dname_len
 length of the dname uncompressed wireformat
 
uint16_t type
 type, host order. More...
 
uint16_t rrset_class
 class, network order. More...
 
uint32_t flags
 the flags for the rrset, like for packedrrset
 
size_t rr_count
 number of RRs in the rr list
 
size_t size
 sum of RR rdata sizes
 
struct rr_parserr_first
 linked list of RRs in this rrset. More...
 
struct rr_parserr_last
 last in list of RRs in this rrset. More...
 
size_t rrsig_count
 number of RRSIGs over this rrset. More...
 
struct rr_parserrsig_first
 linked list of RRsig RRs over this rrset. More...
 
struct rr_parserrsig_last
 last in list of RRSIG RRs over this rrset. More...
 

Detailed Description

Data stored for an rrset during parsing.

Field Documentation

◆ type

uint16_t rrset_parse::type

◆ rrset_class

uint16_t rrset_parse::rrset_class

class, network order.

var name so that it is not a c++ keyword.

Referenced by change_rrsig_rrset(), mark_additional_rrset(), new_rrset(), parse_copy_decompress_rrset(), priv_rrset_bad(), rrset_parse_equals(), and synth_cname_rrset().

◆ rr_first

struct rr_parse* rrset_parse::rr_first

◆ rr_last

struct rr_parse* rrset_parse::rr_last

last in list of RRs in this rrset.

Referenced by moveover_rrsigs(), new_rrset(), parse_get_cname_target(), remove_rr(), and synth_cname_rrset().

◆ rrsig_count

size_t rrset_parse::rrsig_count

number of RRSIGs over this rrset.

Referenced by moveover_rrsigs(), new_rrset(), parse_create_rrset(), and parse_rr_copy().

◆ rrsig_first

struct rr_parse* rrset_parse::rrsig_first

linked list of RRsig RRs over this rrset.

Referenced by moveover_rrsigs(), new_rrset(), parse_get_cname_target(), parse_rr_copy(), and sig_is_double().

◆ rrsig_last

struct rr_parse* rrset_parse::rrsig_last

last in list of RRSIG RRs over this rrset.

Referenced by moveover_rrsigs(), and new_rrset().


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