unbound: rr_parse Struct Reference

unbound 0.1

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.
int | outside_packet
| true if ttl_data is not part of the packet, but elsewhere in mem.
size_t | size
| the length of the rdata if allocated (with no dname compression)
struct rr_parse * | next
| 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 add_rr_to_rrset(), get_additional_name(), moveover_rrsigs(), parse_extract_edns_from_response_msg(), parse_get_cname_target(), priv_rrset_bad(), rdata_copy(), rrset_has_sigover(), sanitize_nsec_is_overreach(), sig_is_double(), soa_find_minttl(), 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 add_rr_to_rrset(), moveover_rrsigs(), parse_get_cname_target(), rdata_copy(), and synth_cname_rrset().

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

- util/data/msgparse.h