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. | |
Contains all information about resource record types.
This structure contains, for all rr types, the rdata fields that are defined.
| const char* sldns_struct_rr_descriptor::_name |
Textual name of the RR type.
Referenced by log_nametypeclass(), log_query_in(), parse_section(), print_ext(), sldns_get_rr_type_by_name(), sldns_wire2str_type_print(), and worker_handle_request().
| 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().
| 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().
| 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().