ldns.h File Reference

Including this file will include all ldns files, and define some lookup tables. More...

Go to the source code of this file.


#define LDNS_IP4ADDRLEN   (32/8)
#define LDNS_IP6ADDRLEN   (128/8)
#define LDNS_PORT   53
#define LDNS_ROOT_LABEL_STR   "."
#define LDNS_DEFAULT_TTL   3600


ldns_lookup_table ldns_certificate_types []
 Taken from RFC 2538, section 2.1. More...
ldns_lookup_table ldns_algorithms []
 Taken from RFC 2535, section 7. More...
ldns_lookup_table ldns_cert_algorithms []
 Taken from RFC 2538. More...
ldns_lookup_table ldns_rr_classes []
 rr types
ldns_lookup_table ldns_rcodes []
 Response codes. More...
ldns_lookup_table ldns_opcodes []
 Operation codes. More...
ldns_lookup_table ldns_edns_flags []
 EDNS flags. More...

Detailed Description

Including this file will include all ldns files, and define some lookup tables.

Definition in file ldns.h.

Macro Definition Documentation


#define LDNS_IP4ADDRLEN   (32/8)

Definition at line 132 of file ldns.h.


#define LDNS_IP6ADDRLEN   (128/8)

Definition at line 133 of file ldns.h.


#define LDNS_PORT   53

Definition at line 134 of file ldns.h.


#define LDNS_ROOT_LABEL_STR   "."

Definition at line 135 of file ldns.h.


#define LDNS_DEFAULT_TTL   3600

Definition at line 136 of file ldns.h.

Variable Documentation

◆ ldns_certificate_types

ldns_lookup_table ldns_certificate_types[]

Taken from RFC 2538, section 2.1.

◆ ldns_algorithms

ldns_lookup_table ldns_algorithms[]

Taken from RFC 2535, section 7.

Definition at line 53 of file host2str.c.

◆ ldns_cert_algorithms

ldns_lookup_table ldns_cert_algorithms[]

Taken from RFC 2538.

Definition at line 84 of file host2str.c.

◆ ldns_rr_classes

ldns_lookup_table ldns_rr_classes[]

rr types

Definition at line 99 of file host2str.c.

◆ ldns_rcodes

ldns_lookup_table ldns_rcodes[]

Response codes.

Definition at line 109 of file host2str.c.

◆ ldns_opcodes

ldns_lookup_table ldns_opcodes[]

Operation codes.

Definition at line 124 of file host2str.c.

◆ ldns_edns_flags

ldns_lookup_table ldns_edns_flags[]

EDNS flags.

Definition at line 33 of file packet.c.