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.
 
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.
 
struct rr_parserr_last
 last in list of RRs in this rrset.
 
size_t rrsig_count
 number of RRSIGs over this rrset.
 
struct rr_parserrsig_first
 linked list of RRsig RRs over this rrset.
 
struct rr_parserrsig_last
 last in list of RRSIG RRs over this rrset.
 

Detailed Description

Data stored for an rrset during parsing.

Field Documentation

◆ 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().


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