unbound 0.1
sldns_struct_rr_descriptor Struct Reference

Contains all information about resource record types. More...

#include <rrdef.h>

Data Fields

sldns_rr_type _type
 Type of the RR that is described here.
const char * _name
 Textual name of the RR type.
uint8_t _minimum
 Minimum number of rdata fields in the RRs of this type.
uint8_t _maximum
 Maximum number of rdata fields in the RRs of this type.
const sldns_rdf_type * _wireformat
 Wireformat specification for the rr, i.e.
sldns_rdf_type _variable
 Special rdf types.
sldns_rr_compress _compress
 Specifies whether compression can be used for dnames in this RR type.
uint8_t _dname_count
 The number of DNAMEs in the _wireformat string, for parsing.

Detailed Description

Contains all information about resource record types.

This structure contains, for all rr types, the rdata fields that are defined.

Field Documentation

◆ _type

sldns_rr_type sldns_struct_rr_descriptor::_type

Type of the RR that is described here.

Referenced by sldns_get_rr_type_by_name().

◆ _name

const char* sldns_struct_rr_descriptor::_name

◆ _minimum

uint8_t sldns_struct_rr_descriptor::_minimum

Minimum number of rdata fields in the RRs of this type.

Referenced by canonical_compare(), and sldns_rr_descriptor_minimum().

◆ _maximum

uint8_t sldns_struct_rr_descriptor::_maximum

Maximum number of rdata fields in the RRs of this type.

Referenced by canonical_compare(), and sldns_rr_descriptor_maximum().

◆ _wireformat

const sldns_rdf_type* sldns_struct_rr_descriptor::_wireformat

Wireformat specification for the rr, i.e.

the types of rdata fields in their respective order.

Referenced by analyze_rdata(), calc_size(), canonical_compare_byfield(), compress_rdata(), decompress_rr_into_buffer(), rdata_copy(), and sldns_rr_descriptor_field_type().

◆ _variable

sldns_rdf_type sldns_struct_rr_descriptor::_variable

Special rdf types.

Referenced by sldns_rr_descriptor_field_type(), and sldns_rr_descriptor_maximum().

◆ _dname_count

uint8_t sldns_struct_rr_descriptor::_dname_count

The number of DNAMEs in the _wireformat string, for parsing.

Referenced by analyze_rdata(), calc_size(), canonical_compare_byfield(), compress_rdata(), decompress_rr_into_buffer(), and rdata_copy().


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