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. More...
 
uint8_t _minimum
 Minimum number of rdata fields in the RRs of this type. More...
 
uint8_t _maximum
 Maximum number of rdata fields in the RRs of this type. More...
 
const sldns_rdf_type * _wireformat
 Wireformat specification for the rr, i.e. More...
 
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

◆ _name

const char* sldns_struct_rr_descriptor::_name

Textual name of the RR type.


Referenced by print_ext(), and sldns_wire2str_type_print().

◆ _minimum

uint8_t sldns_struct_rr_descriptor::_minimum

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


Referenced by 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 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(), and sldns_rr_descriptor_field_type().


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