1ldns(25 Apr 2005)                                            ldns(25 Apr 2005)
2
3
4

NAME

6       ldns_rdf, ldns_rdf_type
7
8

SYNOPSIS

10       #ifdef HAVE_STDINT_H
11       #include <stdint.h>
12       #endif /* HAVE_STDINT_H */
13
14       #ifdef HAVE_STDBOOL_H
15       #include <stdbool.h>
16       #endif /* HAVE_STDBOOL_H */
17
18       #include <ldns/ldns.h>
19

DESCRIPTION

21       ldns_rdf
22              Resource record data.
23
24              The  data  is  a  network  ordered array of bytes, which size is
25              specified by
26              the (16-bit) size field. To correctly parse it, use the type
27              specified in the (16-bit) type field.
28              struct ldns_struct_rdf
29              {
30                   The size of the data (in bytes):
31                   size_t _size;
32                   The type of the data:
33                   ldns_rdf_type _type;
34                   Pointer to the data (byte buffer):
35                   void  *_data;
36              };
37              typedef struct ldns_struct_rdf ldns_rdf;
38
39       ldns_rdf_type
40              The different types of RDATA fields.
41              enum ldns_enum_rdf_type
42              {
43                   none:
44                   LDNS_RDF_TYPE_NONE,
45                   domain name:
46                   LDNS_RDF_TYPE_DNAME,
47                   8 bits:
48                   LDNS_RDF_TYPE_INT8,
49                   16 bits:
50                   LDNS_RDF_TYPE_INT16,
51                   32 bits:
52                   LDNS_RDF_TYPE_INT32,
53                   A record:
54                   LDNS_RDF_TYPE_A,
55                   AAAA record:
56                   LDNS_RDF_TYPE_AAAA,
57                   txt string:
58                   LDNS_RDF_TYPE_STR,
59                   apl data:
60                   LDNS_RDF_TYPE_APL,
61                   b64 string:
62                   LDNS_RDF_TYPE_B64,
63                   hex string:
64                   LDNS_RDF_TYPE_HEX,
65                   nsec type codes:
66                   LDNS_RDF_TYPE_NSEC,
67                   a RR type:
68                   LDNS_RDF_TYPE_TYPE,
69                   a class:
70                   LDNS_RDF_TYPE_CLASS,
71                   certificate algorithm:
72                   LDNS_RDF_TYPE_CERT_ALG,
73                   a key algorithm:
74                   LDNS_RDF_TYPE_ALG,
75                   unknown types:
76                   LDNS_RDF_TYPE_UNKNOWN,
77                   time (32 bits):
78                   LDNS_RDF_TYPE_TIME,
79                   period:
80                   LDNS_RDF_TYPE_PERIOD,
81                   tsig time 48 bits:
82                   LDNS_RDF_TYPE_TSIGTIME,
83                   LDNS_RDF_TYPE_TSIG,
84                   /** variable length any type rdata where the length
85                       is specified by the first 2 bytes */
86                   LDNS_RDF_TYPE_INT16_DATA,
87                   protocol and port bitmaps:
88                   LDNS_RDF_TYPE_SERVICE,
89                   location data:
90                   LDNS_RDF_TYPE_LOC,
91                   well known services:
92                   LDNS_RDF_TYPE_WKS,
93                   NSAP:
94                   LDNS_RDF_TYPE_NSAP,
95                   IPSECKEY:
96                   LDNS_RDF_TYPE_IPSECKEY
97              };
98              typedef enum ldns_enum_rdf_type ldns_rdf_type;
99

AUTHOR

101       The ldns team at NLnet Labs. Which consists out of: Jelte Jansen,  Erik
102       Rozendaal and Miek Gieben.
103
104

REPORTING BUGS

106       Please  report  bugs  to  ldns-team@nlnetlabs.nl  or in our Bugzilla at
107       http://www.nlnetlabs.nl/bugs/index.html
108
109       Be sure to select ldns as the product.
110
111
113       Copyright (c) 2004, 2005 NLnet Labs.  Licensed under the  BSD  License.
114       There  is  NO  warranty;  not even for MERCHANTABILITY or FITNESS FOR A
115       PARTICULAR PURPOSE.
116
117

SEE ALSO

119       ldns_rdf_set_size, ldns_rdf_size,  ldns_rdf_new,  ldns_native2rdf_int8,
120       ldns_rdf_address_reverse,  ldns_octet.   And perldoc Net::DNS, RFC1043,
121       RFC1035, RFC4033, RFC4034  and RFC4035.
122

REMARKS

124       This manpage was automaticly generated from the ldns source code by use
125       of Doxygen and some perl.
126
127
128
129                                                             ldns(25 Apr 2005)
Impressum