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_t hash
 hash value of rrset
ldns_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.
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

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(), parse_extract_edns(), rrset_parse_equals(), and synth_cname_rrset().

number of RRSIGs over this rrset.

Referenced by add_rr_to_rrset(), change_rrsig_rrset(), moveover_rrsigs(), new_rrset(), and parse_rr_copy().

linked list of RRsig RRs over this rrset.

Referenced by add_rr_to_rrset(), change_rrsig_rrset(), moveover_rrsigs(), new_rrset(), parse_rr_copy(), and sig_is_double().

last in list of RRSIG RRs over this rrset.

Referenced by add_rr_to_rrset(), change_rrsig_rrset(), moveover_rrsigs(), and new_rrset().


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

Generated on Sun Sep 21 16:24:57 2008 for unbound by  doxygen 1.5.6