|
Electroneum
|

Go to the source code of this file.
Classes | |
| struct | sldns_struct_rr_descriptor |
Typedefs | |
| typedef enum sldns_enum_rr_class | sldns_rr_class |
| typedef enum sldns_enum_rr_compress | sldns_rr_compress |
| typedef enum sldns_enum_rr_type | sldns_rr_type |
| typedef enum sldns_enum_rdf_type | sldns_rdf_type |
| typedef enum sldns_enum_algorithm | sldns_algorithm |
| typedef enum sldns_enum_hash | sldns_hash |
| typedef enum sldns_enum_cert_algorithm | sldns_cert_algorithm |
| typedef enum sldns_enum_edns_option | sldns_edns_option |
| typedef struct sldns_struct_rr_descriptor | sldns_rr_descriptor |
Functions | |
| const sldns_rr_descriptor * | sldns_rr_descript (uint16_t type) |
| size_t | sldns_rr_descriptor_minimum (const sldns_rr_descriptor *descriptor) |
| size_t | sldns_rr_descriptor_maximum (const sldns_rr_descriptor *descriptor) |
| sldns_rdf_type | sldns_rr_descriptor_field_type (const sldns_rr_descriptor *descriptor, size_t field) |
| sldns_rr_type | sldns_get_rr_type_by_name (const char *name) |
| sldns_rr_class | sldns_get_rr_class_by_name (const char *name) |
Variables | |
| struct sldns_struct_lookup_table * | sldns_rr_classes |
Defines resource record types and constants.
Definition in file rrdef.h.
| #define LDNS_KEY_REVOKE_KEY 0x0080 /* used to revoke KSK, rfc 5011 */ |
| #define LDNS_KEY_ZONE_KEY 0x0100 /* set for ZSK&KSK, rfc 4034 */ |
| #define LDNS_MAX_DOMAINLEN 255 |
| #define LDNS_MAX_POINTERS 65535 |
| #define LDNS_RR_OVERHEAD 10 |
| #define LDNS_TSIG_ERROR_NOERROR 0 |
| typedef enum sldns_enum_algorithm sldns_algorithm |
| typedef enum sldns_enum_cert_algorithm sldns_cert_algorithm |
| typedef enum sldns_enum_edns_option sldns_edns_option |
| typedef enum sldns_enum_hash sldns_hash |
| typedef enum sldns_enum_rdf_type sldns_rdf_type |
| typedef enum sldns_enum_rr_class sldns_rr_class |
| typedef enum sldns_enum_rr_compress sldns_rr_compress |
| typedef struct sldns_struct_rr_descriptor sldns_rr_descriptor |
| typedef enum sldns_enum_rr_type sldns_rr_type |
| enum sldns_enum_algorithm |
Algorithms used in dns
Definition at line 365 of file rrdef.h.
algorithms used in CERT rrs
| Enumerator | |
|---|---|
| LDNS_CERT_PKIX | |
| LDNS_CERT_SPKI | |
| LDNS_CERT_PGP | |
| LDNS_CERT_IPKIX | |
| LDNS_CERT_ISPKI | |
| LDNS_CERT_IPGP | |
| LDNS_CERT_ACPKIX | |
| LDNS_CERT_IACPKIX | |
| LDNS_CERT_URI | |
| LDNS_CERT_OID | |
Definition at line 402 of file rrdef.h.
| enum sldns_enum_hash |
| enum sldns_enum_rdf_type |
The different types of RDATA fields.
Definition at line 265 of file rrdef.h.
| enum sldns_enum_rr_class |
The different RR classes.
Definition at line 49 of file rrdef.h.
Used to specify whether compression is allowed.
| Enumerator | |
|---|---|
| LDNS_RR_COMPRESS | compression is allowed |
| LDNS_RR_NO_COMPRESS | |
| enum sldns_enum_rr_type |
The different RR types.
Definition at line 82 of file rrdef.h.
| sldns_rr_class sldns_get_rr_class_by_name | ( | const char * | name | ) |
retrieves a class by looking up its name.
| [in] | name | string with the name |
| sldns_rr_type sldns_get_rr_type_by_name | ( | const char * | name | ) |
retrieves a rrtype by looking up its name.
| [in] | name | a string with the name |
| const sldns_rr_descriptor * sldns_rr_descript | ( | uint16_t | type | ) |
returns the resource record descriptor for the given rr type.
| [in] | type | the type value of the rr type |
| sldns_rdf_type sldns_rr_descriptor_field_type | ( | const sldns_rr_descriptor * | descriptor, |
| size_t | field ) |
returns the rdf type for the given rdata field number of the rr type for the given descriptor.
| [in] | descriptor | for an rr type |
| [in] | field | the field number |
| size_t sldns_rr_descriptor_maximum | ( | const sldns_rr_descriptor * | descriptor | ) |
returns the maximum number of rdata fields of the rr type this descriptor describes.
| [in] | descriptor | for an rr type |
| size_t sldns_rr_descriptor_minimum | ( | const sldns_rr_descriptor * | descriptor | ) |
returns the minimum number of rdata fields of the rr type this descriptor describes.
| [in] | descriptor | for an rr type |
|
extern |
lookuptable for rr classes