Data Fields
rr_parse Struct Reference

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

#include <msgparse.h>

Data Fields

uint8_t * ttl_data
 Pointer to the RR. More...
 
int outside_packet
 true if ttl_data is not part of the packet, but elsewhere in mem. More...
 
size_t size
 the length of the rdata if allocated (with no dname compression)
 
struct rr_parsenext
 next in list of RRs. More...
 

Detailed Description

Data stored for an RR during parsing.

Field Documentation

uint8_t* rr_parse::ttl_data

Pointer to the RR.

Points to start of TTL value in the packet. Rdata length and rdata follow it. its dname, type and class are the same and stored for the rrset.

Referenced by add_rr_to_rrset(), get_additional_name(), moveover_rrsigs(), parse_extract_edns(), parse_get_cname_target(), priv_rrset_bad(), rdata_copy(), rrset_has_sigover(), sanitize_nsec_is_overreach(), sig_is_double(), and synth_cname_rrset().

int rr_parse::outside_packet

true if ttl_data is not part of the packet, but elsewhere in mem.

Set for generated CNAMEs for DNAMEs.

Referenced by add_rr_to_rrset(), moveover_rrsigs(), rdata_copy(), and synth_cname_rrset().

struct rr_parse* rr_parse::next

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