Maintained by: NLnet Labs
Data Fields
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. More...
 
uint8_t _dname_count
 The number of DNAMEs in the _wireformat string, for parsing. More...
 

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

◆ _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(), and sldns_rr_descriptor_field_type().

◆ _compress

sldns_rr_compress sldns_struct_rr_descriptor::_compress

Specifies whether compression can be used for dnames in this RR type.

◆ _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(), and compress_rdata().


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