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.
 

Detailed Description

Data stored for an RR during parsing.

Field Documentation

◆ ttl_data

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 moveover_rrsigs(), parse_get_cname_target(), rrset_has_sigover(), sig_is_double(), and synth_cname_rrset().

◆ outside_packet

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 moveover_rrsigs(), parse_get_cname_target(), and synth_cname_rrset().


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