No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / bind / include / dns / rdatastruct.h
blob931c6f136983b581558a240e3add8eddb59ace25
1 /*
2 * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 1998-2003 Internet Software Consortium.
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
18 /***************
19 ***************
20 *************** THIS FILE IS AUTOMATICALLY GENERATED BY gen.c.
21 *************** DO NOT EDIT!
22 ***************
23 ***************/
25 /*! \file */
28 * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
29 * Copyright (C) 1999-2001 Internet Software Consortium.
31 * Permission to use, copy, modify, and/or distribute this software for any
32 * purpose with or without fee is hereby granted, provided that the above
33 * copyright notice and this permission notice appear in all copies.
35 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
36 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
37 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
38 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
39 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
40 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
41 * PERFORMANCE OF THIS SOFTWARE.
44 /* Id: rdatastructpre.h,v 1.16 2007/06/19 23:47:17 tbox Exp */
46 #ifndef DNS_RDATASTRUCT_H
47 #define DNS_RDATASTRUCT_H 1
49 #include <isc/lang.h>
50 #include <isc/sockaddr.h>
52 #include <dns/name.h>
53 #include <dns/types.h>
55 ISC_LANG_BEGINDECLS
57 typedef struct dns_rdatacommon {
58 dns_rdataclass_t rdclass;
59 dns_rdatatype_t rdtype;
60 ISC_LINK(struct dns_rdatacommon) link;
61 } dns_rdatacommon_t;
63 #define DNS_RDATACOMMON_INIT(_data, _rdtype, _rdclass) \
64 do { \
65 (_data)->common.rdtype = (_rdtype); \
66 (_data)->common.rdclass = (_rdclass); \
67 ISC_LINK_INIT(&(_data)->common, link); \
68 } while (0)
70 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
71 * Copyright (C) 1998-2001 Internet Software Consortium.
73 * Permission to use, copy, modify, and/or distribute this software for any
74 * purpose with or without fee is hereby granted, provided that the above
75 * copyright notice and this permission notice appear in all copies.
77 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
78 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
79 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
80 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
81 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
82 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
83 * PERFORMANCE OF THIS SOFTWARE.
86 /* */
87 #ifndef IN_1_A_1_H
88 #define IN_1_A_1_H 1
90 /* Id: a_1.h,v 1.28 2007/06/19 23:47:17 tbox Exp */
92 typedef struct dns_rdata_in_a {
93 dns_rdatacommon_t common;
94 struct in_addr in_addr;
95 } dns_rdata_in_a_t;
97 #endif /* IN_1_A_1_H */
99 * Copyright (C) 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
101 * Permission to use, copy, modify, and/or distribute this software for any
102 * purpose with or without fee is hereby granted, provided that the above
103 * copyright notice and this permission notice appear in all copies.
105 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
106 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
107 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
108 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
109 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
110 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
111 * PERFORMANCE OF THIS SOFTWARE.
114 /* Id: a_1.h,v 1.5 2007/06/19 23:47:17 tbox Exp */
116 /* by Bjorn.Victor@it.uu.se, 2005-05-07 */
117 /* Based on generic/mx_15.h */
119 #ifndef CH_3_A_1_H
120 #define CH_3_A_1_H 1
122 typedef isc_uint16_t ch_addr_t;
124 typedef struct dns_rdata_ch_a {
125 dns_rdatacommon_t common;
126 isc_mem_t *mctx;
127 dns_name_t ch_addr_dom; /* ch-addr domain for back mapping */
128 ch_addr_t ch_addr; /* chaos address (16 bit) network order */
129 } dns_rdata_ch_a_t;
131 #endif /* CH_3_A_1_H */
133 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
134 * Copyright (C) 1999-2001 Internet Software Consortium.
136 * Permission to use, copy, modify, and/or distribute this software for any
137 * purpose with or without fee is hereby granted, provided that the above
138 * copyright notice and this permission notice appear in all copies.
140 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
141 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
142 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
143 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
144 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
145 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
146 * PERFORMANCE OF THIS SOFTWARE.
149 /* */
150 #ifndef HS_4_A_1_H
151 #define HS_4_A_1_H 1
153 /* Id: a_1.h,v 1.12 2007/06/19 23:47:17 tbox Exp */
155 typedef struct dns_rdata_hs_a {
156 dns_rdatacommon_t common;
157 struct in_addr in_addr;
158 } dns_rdata_hs_a_t;
160 #endif /* HS_4_A_1_H */
162 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
163 * Copyright (C) 1998-2001 Internet Software Consortium.
165 * Permission to use, copy, modify, and/or distribute this software for any
166 * purpose with or without fee is hereby granted, provided that the above
167 * copyright notice and this permission notice appear in all copies.
169 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
170 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
171 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
172 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
173 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
174 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
175 * PERFORMANCE OF THIS SOFTWARE.
178 /* */
179 #ifndef GENERIC_NS_2_H
180 #define GENERIC_NS_2_H 1
182 /* Id: ns_2.h,v 1.27 2007/06/19 23:47:17 tbox Exp */
184 typedef struct dns_rdata_ns {
185 dns_rdatacommon_t common;
186 isc_mem_t *mctx;
187 dns_name_t name;
188 } dns_rdata_ns_t;
191 #endif /* GENERIC_NS_2_H */
193 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
194 * Copyright (C) 1998-2001 Internet Software Consortium.
196 * Permission to use, copy, modify, and/or distribute this software for any
197 * purpose with or without fee is hereby granted, provided that the above
198 * copyright notice and this permission notice appear in all copies.
200 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
201 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
202 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
203 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
204 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
205 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
206 * PERFORMANCE OF THIS SOFTWARE.
209 /* */
210 #ifndef GENERIC_MD_3_H
211 #define GENERIC_MD_3_H 1
213 /* Id: md_3.h,v 1.28 2007/06/19 23:47:17 tbox Exp */
215 typedef struct dns_rdata_md {
216 dns_rdatacommon_t common;
217 isc_mem_t *mctx;
218 dns_name_t md;
219 } dns_rdata_md_t;
222 #endif /* GENERIC_MD_3_H */
224 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
225 * Copyright (C) 1998-2001 Internet Software Consortium.
227 * Permission to use, copy, modify, and/or distribute this software for any
228 * purpose with or without fee is hereby granted, provided that the above
229 * copyright notice and this permission notice appear in all copies.
231 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
232 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
233 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
234 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
235 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
236 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
237 * PERFORMANCE OF THIS SOFTWARE.
240 /* */
241 #ifndef GENERIC_MF_4_H
242 #define GENERIC_MF_4_H 1
244 /* Id: mf_4.h,v 1.26 2007/06/19 23:47:17 tbox Exp */
246 typedef struct dns_rdata_mf {
247 dns_rdatacommon_t common;
248 isc_mem_t *mctx;
249 dns_name_t mf;
250 } dns_rdata_mf_t;
252 #endif /* GENERIC_MF_4_H */
254 * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
255 * Copyright (C) 1998-2001 Internet Software Consortium.
257 * Permission to use, copy, modify, and/or distribute this software for any
258 * purpose with or without fee is hereby granted, provided that the above
259 * copyright notice and this permission notice appear in all copies.
261 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
262 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
263 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
264 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
265 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
266 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
267 * PERFORMANCE OF THIS SOFTWARE.
270 /* Id: cname_5.h,v 1.26 2007/06/19 23:47:17 tbox Exp */
272 #ifndef GENERIC_CNAME_5_H
273 #define GENERIC_CNAME_5_H 1
275 typedef struct dns_rdata_cname {
276 dns_rdatacommon_t common;
277 isc_mem_t *mctx;
278 dns_name_t cname;
279 } dns_rdata_cname_t;
281 #endif /* GENERIC_CNAME_5_H */
283 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
284 * Copyright (C) 1998-2001 Internet Software Consortium.
286 * Permission to use, copy, modify, and/or distribute this software for any
287 * purpose with or without fee is hereby granted, provided that the above
288 * copyright notice and this permission notice appear in all copies.
290 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
291 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
292 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
293 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
294 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
295 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
296 * PERFORMANCE OF THIS SOFTWARE.
299 /* */
300 #ifndef GENERIC_SOA_6_H
301 #define GENERIC_SOA_6_H 1
303 /* Id: soa_6.h,v 1.32 2007/06/19 23:47:17 tbox Exp */
305 typedef struct dns_rdata_soa {
306 dns_rdatacommon_t common;
307 isc_mem_t *mctx;
308 dns_name_t origin;
309 dns_name_t contact;
310 isc_uint32_t serial; /*%< host order */
311 isc_uint32_t refresh; /*%< host order */
312 isc_uint32_t retry; /*%< host order */
313 isc_uint32_t expire; /*%< host order */
314 isc_uint32_t minimum; /*%< host order */
315 } dns_rdata_soa_t;
318 #endif /* GENERIC_SOA_6_H */
320 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
321 * Copyright (C) 1998-2001 Internet Software Consortium.
323 * Permission to use, copy, modify, and/or distribute this software for any
324 * purpose with or without fee is hereby granted, provided that the above
325 * copyright notice and this permission notice appear in all copies.
327 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
328 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
329 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
330 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
331 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
332 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
333 * PERFORMANCE OF THIS SOFTWARE.
336 /* */
337 #ifndef GENERIC_MB_7_H
338 #define GENERIC_MB_7_H 1
340 /* Id: mb_7.h,v 1.27 2007/06/19 23:47:17 tbox Exp */
342 typedef struct dns_rdata_mb {
343 dns_rdatacommon_t common;
344 isc_mem_t *mctx;
345 dns_name_t mb;
346 } dns_rdata_mb_t;
348 #endif /* GENERIC_MB_7_H */
350 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
351 * Copyright (C) 1998-2001 Internet Software Consortium.
353 * Permission to use, copy, modify, and/or distribute this software for any
354 * purpose with or without fee is hereby granted, provided that the above
355 * copyright notice and this permission notice appear in all copies.
357 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
358 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
359 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
360 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
361 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
362 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
363 * PERFORMANCE OF THIS SOFTWARE.
366 /* */
367 #ifndef GENERIC_MG_8_H
368 #define GENERIC_MG_8_H 1
370 /* Id: mg_8.h,v 1.26 2007/06/19 23:47:17 tbox Exp */
372 typedef struct dns_rdata_mg {
373 dns_rdatacommon_t common;
374 isc_mem_t *mctx;
375 dns_name_t mg;
376 } dns_rdata_mg_t;
378 #endif /* GENERIC_MG_8_H */
380 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
381 * Copyright (C) 1998-2001 Internet Software Consortium.
383 * Permission to use, copy, modify, and/or distribute this software for any
384 * purpose with or without fee is hereby granted, provided that the above
385 * copyright notice and this permission notice appear in all copies.
387 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
388 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
389 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
390 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
391 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
392 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
393 * PERFORMANCE OF THIS SOFTWARE.
396 /* */
397 #ifndef GENERIC_MR_9_H
398 #define GENERIC_MR_9_H 1
400 /* Id: mr_9.h,v 1.26 2007/06/19 23:47:17 tbox Exp */
402 typedef struct dns_rdata_mr {
403 dns_rdatacommon_t common;
404 isc_mem_t *mctx;
405 dns_name_t mr;
406 } dns_rdata_mr_t;
408 #endif /* GENERIC_MR_9_H */
410 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
411 * Copyright (C) 1998-2001 Internet Software Consortium.
413 * Permission to use, copy, modify, and/or distribute this software for any
414 * purpose with or without fee is hereby granted, provided that the above
415 * copyright notice and this permission notice appear in all copies.
417 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
418 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
419 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
420 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
421 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
422 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
423 * PERFORMANCE OF THIS SOFTWARE.
426 /* */
427 #ifndef GENERIC_NULL_10_H
428 #define GENERIC_NULL_10_H 1
430 /* Id: null_10.h,v 1.25 2007/06/19 23:47:17 tbox Exp */
432 typedef struct dns_rdata_null {
433 dns_rdatacommon_t common;
434 isc_mem_t *mctx;
435 isc_uint16_t length;
436 unsigned char *data;
437 } dns_rdata_null_t;
440 #endif /* GENERIC_NULL_10_H */
442 * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
443 * Copyright (C) 1999-2001 Internet Software Consortium.
445 * Permission to use, copy, modify, and/or distribute this software for any
446 * purpose with or without fee is hereby granted, provided that the above
447 * copyright notice and this permission notice appear in all copies.
449 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
450 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
451 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
452 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
453 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
454 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
455 * PERFORMANCE OF THIS SOFTWARE.
458 #ifndef IN_1_WKS_11_H
459 #define IN_1_WKS_11_H 1
461 /* Id: wks_11.h,v 1.22 2007/06/19 23:47:17 tbox Exp */
463 typedef struct dns_rdata_in_wks {
464 dns_rdatacommon_t common;
465 isc_mem_t *mctx;
466 struct in_addr in_addr;
467 isc_uint16_t protocol;
468 unsigned char *map;
469 isc_uint16_t map_len;
470 } dns_rdata_in_wks_t;
472 #endif /* IN_1_WKS_11_H */
474 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
475 * Copyright (C) 1998-2001 Internet Software Consortium.
477 * Permission to use, copy, modify, and/or distribute this software for any
478 * purpose with or without fee is hereby granted, provided that the above
479 * copyright notice and this permission notice appear in all copies.
481 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
482 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
483 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
484 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
485 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
486 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
487 * PERFORMANCE OF THIS SOFTWARE.
490 /* */
491 #ifndef GENERIC_PTR_12_H
492 #define GENERIC_PTR_12_H 1
494 /* Id: ptr_12.h,v 1.27 2007/06/19 23:47:17 tbox Exp */
496 typedef struct dns_rdata_ptr {
497 dns_rdatacommon_t common;
498 isc_mem_t *mctx;
499 dns_name_t ptr;
500 } dns_rdata_ptr_t;
502 #endif /* GENERIC_PTR_12_H */
504 * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
505 * Copyright (C) 1998-2001 Internet Software Consortium.
507 * Permission to use, copy, modify, and/or distribute this software for any
508 * purpose with or without fee is hereby granted, provided that the above
509 * copyright notice and this permission notice appear in all copies.
511 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
512 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
513 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
514 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
515 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
516 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
517 * PERFORMANCE OF THIS SOFTWARE.
520 #ifndef GENERIC_HINFO_13_H
521 #define GENERIC_HINFO_13_H 1
523 /* Id: hinfo_13.h,v 1.25 2007/06/19 23:47:17 tbox Exp */
525 typedef struct dns_rdata_hinfo {
526 dns_rdatacommon_t common;
527 isc_mem_t *mctx;
528 char *cpu;
529 char *os;
530 isc_uint8_t cpu_len;
531 isc_uint8_t os_len;
532 } dns_rdata_hinfo_t;
534 #endif /* GENERIC_HINFO_13_H */
536 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
537 * Copyright (C) 1998-2001 Internet Software Consortium.
539 * Permission to use, copy, modify, and/or distribute this software for any
540 * purpose with or without fee is hereby granted, provided that the above
541 * copyright notice and this permission notice appear in all copies.
543 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
544 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
545 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
546 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
547 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
548 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
549 * PERFORMANCE OF THIS SOFTWARE.
552 /* */
553 #ifndef GENERIC_MINFO_14_H
554 #define GENERIC_MINFO_14_H 1
556 /* Id: minfo_14.h,v 1.27 2007/06/19 23:47:17 tbox Exp */
558 typedef struct dns_rdata_minfo {
559 dns_rdatacommon_t common;
560 isc_mem_t *mctx;
561 dns_name_t rmailbox;
562 dns_name_t emailbox;
563 } dns_rdata_minfo_t;
565 #endif /* GENERIC_MINFO_14_H */
567 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
568 * Copyright (C) 1998-2001 Internet Software Consortium.
570 * Permission to use, copy, modify, and/or distribute this software for any
571 * purpose with or without fee is hereby granted, provided that the above
572 * copyright notice and this permission notice appear in all copies.
574 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
575 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
576 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
577 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
578 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
579 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
580 * PERFORMANCE OF THIS SOFTWARE.
583 /* */
584 #ifndef GENERIC_MX_15_H
585 #define GENERIC_MX_15_H 1
587 /* Id: mx_15.h,v 1.29 2007/06/19 23:47:17 tbox Exp */
589 typedef struct dns_rdata_mx {
590 dns_rdatacommon_t common;
591 isc_mem_t *mctx;
592 isc_uint16_t pref;
593 dns_name_t mx;
594 } dns_rdata_mx_t;
596 #endif /* GENERIC_MX_15_H */
598 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
599 * Copyright (C) 1998-2001 Internet Software Consortium.
601 * Permission to use, copy, modify, and/or distribute this software for any
602 * purpose with or without fee is hereby granted, provided that the above
603 * copyright notice and this permission notice appear in all copies.
605 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
606 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
607 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
608 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
609 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
610 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
611 * PERFORMANCE OF THIS SOFTWARE.
614 /* */
615 #ifndef GENERIC_TXT_16_H
616 #define GENERIC_TXT_16_H 1
618 /* Id: txt_16.h,v 1.28 2007/06/19 23:47:17 tbox Exp */
620 typedef struct dns_rdata_txt_string {
621 isc_uint8_t length;
622 unsigned char *data;
623 } dns_rdata_txt_string_t;
625 typedef struct dns_rdata_txt {
626 dns_rdatacommon_t common;
627 isc_mem_t *mctx;
628 unsigned char *txt;
629 isc_uint16_t txt_len;
630 /* private */
631 isc_uint16_t offset;
632 } dns_rdata_txt_t;
635 * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
636 * via rdatastructpre.h and rdatastructsuf.h.
639 isc_result_t
640 dns_rdata_txt_first(dns_rdata_txt_t *);
642 isc_result_t
643 dns_rdata_txt_next(dns_rdata_txt_t *);
645 isc_result_t
646 dns_rdata_txt_current(dns_rdata_txt_t *, dns_rdata_txt_string_t *);
648 #endif /* GENERIC_TXT_16_H */
650 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
651 * Copyright (C) 1999-2001 Internet Software Consortium.
653 * Permission to use, copy, modify, and/or distribute this software for any
654 * purpose with or without fee is hereby granted, provided that the above
655 * copyright notice and this permission notice appear in all copies.
657 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
658 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
659 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
660 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
661 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
662 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
663 * PERFORMANCE OF THIS SOFTWARE.
666 #ifndef GENERIC_RP_17_H
667 #define GENERIC_RP_17_H 1
669 /* Id: rp_17.h,v 1.21 2007/06/19 23:47:17 tbox Exp */
672 * \brief Per RFC1183 */
674 typedef struct dns_rdata_rp {
675 dns_rdatacommon_t common;
676 isc_mem_t *mctx;
677 dns_name_t mail;
678 dns_name_t text;
679 } dns_rdata_rp_t;
682 #endif /* GENERIC_RP_17_H */
684 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
685 * Copyright (C) 1999-2001 Internet Software Consortium.
687 * Permission to use, copy, modify, and/or distribute this software for any
688 * purpose with or without fee is hereby granted, provided that the above
689 * copyright notice and this permission notice appear in all copies.
691 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
692 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
693 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
694 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
695 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
696 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
697 * PERFORMANCE OF THIS SOFTWARE.
700 #ifndef GENERIC_AFSDB_18_H
701 #define GENERIC_AFSDB_18_H 1
703 /* Id: afsdb_18.h,v 1.20 2007/06/19 23:47:17 tbox Exp */
706 * \brief Per RFC1183 */
708 typedef struct dns_rdata_afsdb {
709 dns_rdatacommon_t common;
710 isc_mem_t *mctx;
711 isc_uint16_t subtype;
712 dns_name_t server;
713 } dns_rdata_afsdb_t;
715 #endif /* GENERIC_AFSDB_18_H */
718 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
719 * Copyright (C) 1999-2001 Internet Software Consortium.
721 * Permission to use, copy, modify, and/or distribute this software for any
722 * purpose with or without fee is hereby granted, provided that the above
723 * copyright notice and this permission notice appear in all copies.
725 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
726 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
727 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
728 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
729 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
730 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
731 * PERFORMANCE OF THIS SOFTWARE.
734 #ifndef GENERIC_X25_19_H
735 #define GENERIC_X25_19_H 1
737 /* Id: x25_19.h,v 1.18 2007/06/19 23:47:17 tbox Exp */
740 * \brief Per RFC1183 */
742 typedef struct dns_rdata_x25 {
743 dns_rdatacommon_t common;
744 isc_mem_t *mctx;
745 unsigned char *x25;
746 isc_uint8_t x25_len;
747 } dns_rdata_x25_t;
749 #endif /* GENERIC_X25_19_H */
751 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
752 * Copyright (C) 1999-2001 Internet Software Consortium.
754 * Permission to use, copy, modify, and/or distribute this software for any
755 * purpose with or without fee is hereby granted, provided that the above
756 * copyright notice and this permission notice appear in all copies.
758 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
759 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
760 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
761 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
762 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
763 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
764 * PERFORMANCE OF THIS SOFTWARE.
767 #ifndef GENERIC_ISDN_20_H
768 #define GENERIC_ISDN_20_H 1
770 /* Id: isdn_20.h,v 1.18 2007/06/19 23:47:17 tbox Exp */
773 * \brief Per RFC1183 */
775 typedef struct dns_rdata_isdn {
776 dns_rdatacommon_t common;
777 isc_mem_t *mctx;
778 char *isdn;
779 char *subaddress;
780 isc_uint8_t isdn_len;
781 isc_uint8_t subaddress_len;
782 } dns_rdata_isdn_t;
784 #endif /* GENERIC_ISDN_20_H */
786 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
787 * Copyright (C) 1999-2001 Internet Software Consortium.
789 * Permission to use, copy, modify, and/or distribute this software for any
790 * purpose with or without fee is hereby granted, provided that the above
791 * copyright notice and this permission notice appear in all copies.
793 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
794 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
795 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
796 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
797 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
798 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
799 * PERFORMANCE OF THIS SOFTWARE.
802 #ifndef GENERIC_RT_21_H
803 #define GENERIC_RT_21_H 1
805 /* Id: rt_21.h,v 1.21 2007/06/19 23:47:17 tbox Exp */
808 * \brief Per RFC1183 */
810 typedef struct dns_rdata_rt {
811 dns_rdatacommon_t common;
812 isc_mem_t *mctx;
813 isc_uint16_t preference;
814 dns_name_t host;
815 } dns_rdata_rt_t;
817 #endif /* GENERIC_RT_21_H */
819 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
820 * Copyright (C) 1999-2001 Internet Software Consortium.
822 * Permission to use, copy, modify, and/or distribute this software for any
823 * purpose with or without fee is hereby granted, provided that the above
824 * copyright notice and this permission notice appear in all copies.
826 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
827 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
828 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
829 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
830 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
831 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
832 * PERFORMANCE OF THIS SOFTWARE.
835 #ifndef IN_1_NSAP_22_H
836 #define IN_1_NSAP_22_H 1
838 /* Id: nsap_22.h,v 1.18 2007/06/19 23:47:17 tbox Exp */
840 /*!
841 * \brief Per RFC1706 */
843 typedef struct dns_rdata_in_nsap {
844 dns_rdatacommon_t common;
845 isc_mem_t *mctx;
846 unsigned char *nsap;
847 isc_uint16_t nsap_len;
848 } dns_rdata_in_nsap_t;
850 #endif /* IN_1_NSAP_22_H */
852 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
853 * Copyright (C) 1999-2001 Internet Software Consortium.
855 * Permission to use, copy, modify, and/or distribute this software for any
856 * purpose with or without fee is hereby granted, provided that the above
857 * copyright notice and this permission notice appear in all copies.
859 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
860 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
861 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
862 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
863 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
864 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
865 * PERFORMANCE OF THIS SOFTWARE.
868 #ifndef IN_1_NSAP_PTR_23_H
869 #define IN_1_NSAP_PTR_23_H 1
871 /* Id: nsap-ptr_23.h,v 1.19 2007/06/19 23:47:17 tbox Exp */
873 /*!
874 * \brief Per RFC1348. Obsoleted in RFC 1706 - use PTR instead. */
876 typedef struct dns_rdata_in_nsap_ptr {
877 dns_rdatacommon_t common;
878 isc_mem_t *mctx;
879 dns_name_t owner;
880 } dns_rdata_in_nsap_ptr_t;
882 #endif /* IN_1_NSAP_PTR_23_H */
884 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
885 * Copyright (C) 1999-2001 Internet Software Consortium.
887 * Permission to use, copy, modify, and/or distribute this software for any
888 * purpose with or without fee is hereby granted, provided that the above
889 * copyright notice and this permission notice appear in all copies.
891 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
892 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
893 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
894 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
895 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
896 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
897 * PERFORMANCE OF THIS SOFTWARE.
900 #ifndef GENERIC_SIG_24_H
901 #define GENERIC_SIG_24_H 1
903 /* Id: sig_24.h,v 1.26 2007/06/19 23:47:17 tbox Exp */
906 * \brief Per RFC2535 */
908 typedef struct dns_rdata_sig_t {
909 dns_rdatacommon_t common;
910 isc_mem_t * mctx;
911 dns_rdatatype_t covered;
912 dns_secalg_t algorithm;
913 isc_uint8_t labels;
914 isc_uint32_t originalttl;
915 isc_uint32_t timeexpire;
916 isc_uint32_t timesigned;
917 isc_uint16_t keyid;
918 dns_name_t signer;
919 isc_uint16_t siglen;
920 unsigned char * signature;
921 } dns_rdata_sig_t;
924 #endif /* GENERIC_SIG_24_H */
926 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
927 * Copyright (C) 1999-2001 Internet Software Consortium.
929 * Permission to use, copy, modify, and/or distribute this software for any
930 * purpose with or without fee is hereby granted, provided that the above
931 * copyright notice and this permission notice appear in all copies.
933 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
934 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
935 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
936 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
937 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
938 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
939 * PERFORMANCE OF THIS SOFTWARE.
942 #ifndef GENERIC_KEY_25_H
943 #define GENERIC_KEY_25_H 1
945 /* Id: key_25.h,v 1.19 2007/06/19 23:47:17 tbox Exp */
948 * \brief Per RFC2535 */
950 typedef struct dns_rdata_key_t {
951 dns_rdatacommon_t common;
952 isc_mem_t * mctx;
953 isc_uint16_t flags;
954 isc_uint8_t protocol;
955 isc_uint8_t algorithm;
956 isc_uint16_t datalen;
957 unsigned char * data;
958 } dns_rdata_key_t;
961 #endif /* GENERIC_KEY_25_H */
963 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
964 * Copyright (C) 1999-2001 Internet Software Consortium.
966 * Permission to use, copy, modify, and/or distribute this software for any
967 * purpose with or without fee is hereby granted, provided that the above
968 * copyright notice and this permission notice appear in all copies.
970 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
971 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
972 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
973 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
974 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
975 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
976 * PERFORMANCE OF THIS SOFTWARE.
979 #ifndef IN_1_PX_26_H
980 #define IN_1_PX_26_H 1
982 /* Id: px_26.h,v 1.19 2007/06/19 23:47:17 tbox Exp */
984 /*!
985 * \brief Per RFC2163 */
987 typedef struct dns_rdata_in_px {
988 dns_rdatacommon_t common;
989 isc_mem_t *mctx;
990 isc_uint16_t preference;
991 dns_name_t map822;
992 dns_name_t mapx400;
993 } dns_rdata_in_px_t;
995 #endif /* IN_1_PX_26_H */
997 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
998 * Copyright (C) 1999-2001 Internet Software Consortium.
1000 * Permission to use, copy, modify, and/or distribute this software for any
1001 * purpose with or without fee is hereby granted, provided that the above
1002 * copyright notice and this permission notice appear in all copies.
1004 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1005 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1006 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1007 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1008 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1009 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1010 * PERFORMANCE OF THIS SOFTWARE.
1013 #ifndef GENERIC_GPOS_27_H
1014 #define GENERIC_GPOS_27_H 1
1016 /* Id: gpos_27.h,v 1.17 2007/06/19 23:47:17 tbox Exp */
1019 * \brief per RFC1712 */
1021 typedef struct dns_rdata_gpos {
1022 dns_rdatacommon_t common;
1023 isc_mem_t *mctx;
1024 char *longitude;
1025 char *latitude;
1026 char *altitude;
1027 isc_uint8_t long_len;
1028 isc_uint8_t lat_len;
1029 isc_uint8_t alt_len;
1030 } dns_rdata_gpos_t;
1032 #endif /* GENERIC_GPOS_27_H */
1034 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1035 * Copyright (C) 1999-2001 Internet Software Consortium.
1037 * Permission to use, copy, modify, and/or distribute this software for any
1038 * purpose with or without fee is hereby granted, provided that the above
1039 * copyright notice and this permission notice appear in all copies.
1041 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1042 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1043 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1044 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1045 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1046 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1047 * PERFORMANCE OF THIS SOFTWARE.
1050 #ifndef IN_1_AAAA_28_H
1051 #define IN_1_AAAA_28_H 1
1053 /* Id: aaaa_28.h,v 1.21 2007/06/19 23:47:17 tbox Exp */
1055 /*!
1056 * \brief Per RFC1886 */
1058 typedef struct dns_rdata_in_aaaa {
1059 dns_rdatacommon_t common;
1060 struct in6_addr in6_addr;
1061 } dns_rdata_in_aaaa_t;
1063 #endif /* IN_1_AAAA_28_H */
1065 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1066 * Copyright (C) 1999-2001 Internet Software Consortium.
1068 * Permission to use, copy, modify, and/or distribute this software for any
1069 * purpose with or without fee is hereby granted, provided that the above
1070 * copyright notice and this permission notice appear in all copies.
1072 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1073 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1074 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1075 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1076 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1077 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1078 * PERFORMANCE OF THIS SOFTWARE.
1081 #ifndef GENERIC_LOC_29_H
1082 #define GENERIC_LOC_29_H 1
1084 /* Id: loc_29.h,v 1.19 2007/06/19 23:47:17 tbox Exp */
1087 * \brief Per RFC1876 */
1089 typedef struct dns_rdata_loc_0 {
1090 isc_uint8_t version; /* must be first and zero */
1091 isc_uint8_t size;
1092 isc_uint8_t horizontal;
1093 isc_uint8_t vertical;
1094 isc_uint32_t latitude;
1095 isc_uint32_t longitude;
1096 isc_uint32_t altitude;
1097 } dns_rdata_loc_0_t;
1099 typedef struct dns_rdata_loc {
1100 dns_rdatacommon_t common;
1101 union {
1102 dns_rdata_loc_0_t v0;
1103 } v;
1104 } dns_rdata_loc_t;
1106 #endif /* GENERIC_LOC_29_H */
1108 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1109 * Copyright (C) 1999-2002 Internet Software Consortium.
1111 * Permission to use, copy, modify, and/or distribute this software for any
1112 * purpose with or without fee is hereby granted, provided that the above
1113 * copyright notice and this permission notice appear in all copies.
1115 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1116 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1117 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1118 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1119 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1120 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1121 * PERFORMANCE OF THIS SOFTWARE.
1124 #ifndef GENERIC_NXT_30_H
1125 #define GENERIC_NXT_30_H 1
1127 /* Id: nxt_30.h,v 1.25 2007/06/19 23:47:17 tbox Exp */
1130 * \brief RFC2535 */
1132 typedef struct dns_rdata_nxt {
1133 dns_rdatacommon_t common;
1134 isc_mem_t *mctx;
1135 dns_name_t next;
1136 unsigned char *typebits;
1137 isc_uint16_t len;
1138 } dns_rdata_nxt_t;
1140 #endif /* GENERIC_NXT_30_H */
1142 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1143 * Copyright (C) 1999-2001 Internet Software Consortium.
1145 * Permission to use, copy, modify, and/or distribute this software for any
1146 * purpose with or without fee is hereby granted, provided that the above
1147 * copyright notice and this permission notice appear in all copies.
1149 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1150 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1151 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1152 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1153 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1154 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1155 * PERFORMANCE OF THIS SOFTWARE.
1158 #ifndef IN_1_SRV_33_H
1159 #define IN_1_SRV_33_H 1
1161 /* Id: srv_33.h,v 1.19 2007/06/19 23:47:17 tbox Exp */
1163 /* Reviewed: Fri Mar 17 13:01:00 PST 2000 by bwelling */
1165 /*!
1166 * \brief Per RFC2782 */
1168 typedef struct dns_rdata_in_srv {
1169 dns_rdatacommon_t common;
1170 isc_mem_t *mctx;
1171 isc_uint16_t priority;
1172 isc_uint16_t weight;
1173 isc_uint16_t port;
1174 dns_name_t target;
1175 } dns_rdata_in_srv_t;
1177 #endif /* IN_1_SRV_33_H */
1179 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1180 * Copyright (C) 1999-2001 Internet Software Consortium.
1182 * Permission to use, copy, modify, and/or distribute this software for any
1183 * purpose with or without fee is hereby granted, provided that the above
1184 * copyright notice and this permission notice appear in all copies.
1186 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1187 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1188 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1189 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1190 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1191 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1192 * PERFORMANCE OF THIS SOFTWARE.
1195 #ifndef IN_1_NAPTR_35_H
1196 #define IN_1_NAPTR_35_H 1
1198 /* Id: naptr_35.h,v 1.23 2007/06/19 23:47:17 tbox Exp */
1200 /*!
1201 * \brief Per RFC2915 */
1203 typedef struct dns_rdata_in_naptr {
1204 dns_rdatacommon_t common;
1205 isc_mem_t *mctx;
1206 isc_uint16_t order;
1207 isc_uint16_t preference;
1208 char *flags;
1209 isc_uint8_t flags_len;
1210 char *service;
1211 isc_uint8_t service_len;
1212 char *regexp;
1213 isc_uint8_t regexp_len;
1214 dns_name_t replacement;
1215 } dns_rdata_in_naptr_t;
1217 #endif /* IN_1_NAPTR_35_H */
1219 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1220 * Copyright (C) 1999-2001 Internet Software Consortium.
1222 * Permission to use, copy, modify, and/or distribute this software for any
1223 * purpose with or without fee is hereby granted, provided that the above
1224 * copyright notice and this permission notice appear in all copies.
1226 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1227 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1228 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1229 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1230 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1231 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1232 * PERFORMANCE OF THIS SOFTWARE.
1235 #ifndef IN_1_KX_36_H
1236 #define IN_1_KX_36_H 1
1238 /* Id: kx_36.h,v 1.20 2007/06/19 23:47:17 tbox Exp */
1240 /*!
1241 * \brief Per RFC2230 */
1243 typedef struct dns_rdata_in_kx {
1244 dns_rdatacommon_t common;
1245 isc_mem_t *mctx;
1246 isc_uint16_t preference;
1247 dns_name_t exchange;
1248 } dns_rdata_in_kx_t;
1250 #endif /* IN_1_KX_36_H */
1252 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1253 * Copyright (C) 1999-2001 Internet Software Consortium.
1255 * Permission to use, copy, modify, and/or distribute this software for any
1256 * purpose with or without fee is hereby granted, provided that the above
1257 * copyright notice and this permission notice appear in all copies.
1259 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1260 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1261 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1262 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1263 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1264 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1265 * PERFORMANCE OF THIS SOFTWARE.
1268 /* Id: cert_37.h,v 1.20 2007/06/19 23:47:17 tbox Exp */
1270 #ifndef GENERIC_CERT_37_H
1271 #define GENERIC_CERT_37_H 1
1273 /*% RFC2538 */
1274 typedef struct dns_rdata_cert {
1275 dns_rdatacommon_t common;
1276 isc_mem_t *mctx;
1277 isc_uint16_t type;
1278 isc_uint16_t key_tag;
1279 isc_uint8_t algorithm;
1280 isc_uint16_t length;
1281 unsigned char *certificate;
1282 } dns_rdata_cert_t;
1284 #endif /* GENERIC_CERT_37_H */
1286 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1287 * Copyright (C) 1999-2001 Internet Software Consortium.
1289 * Permission to use, copy, modify, and/or distribute this software for any
1290 * purpose with or without fee is hereby granted, provided that the above
1291 * copyright notice and this permission notice appear in all copies.
1293 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1294 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1295 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1296 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1297 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1298 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1299 * PERFORMANCE OF THIS SOFTWARE.
1302 #ifndef IN_1_A6_38_H
1303 #define IN_1_A6_38_H 1
1305 /* Id: a6_38.h,v 1.24 2007/06/19 23:47:17 tbox Exp */
1307 /*!
1308 * \brief Per RFC2874 */
1310 typedef struct dns_rdata_in_a6 {
1311 dns_rdatacommon_t common;
1312 isc_mem_t *mctx;
1313 dns_name_t prefix;
1314 isc_uint8_t prefixlen;
1315 struct in6_addr in6_addr;
1316 } dns_rdata_in_a6_t;
1318 #endif /* IN_1_A6_38_H */
1320 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1321 * Copyright (C) 1999-2001 Internet Software Consortium.
1323 * Permission to use, copy, modify, and/or distribute this software for any
1324 * purpose with or without fee is hereby granted, provided that the above
1325 * copyright notice and this permission notice appear in all copies.
1327 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1328 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1329 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1330 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1331 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1332 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1333 * PERFORMANCE OF THIS SOFTWARE.
1336 #ifndef GENERIC_DNAME_39_H
1337 #define GENERIC_DNAME_39_H 1
1339 /* Id: dname_39.h,v 1.21 2007/06/19 23:47:17 tbox Exp */
1341 /*!
1342 * \brief per RFC2672 */
1344 typedef struct dns_rdata_dname {
1345 dns_rdatacommon_t common;
1346 isc_mem_t *mctx;
1347 dns_name_t dname;
1348 } dns_rdata_dname_t;
1350 #endif /* GENERIC_DNAME_39_H */
1352 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1353 * Copyright (C) 1998-2001 Internet Software Consortium.
1355 * Permission to use, copy, modify, and/or distribute this software for any
1356 * purpose with or without fee is hereby granted, provided that the above
1357 * copyright notice and this permission notice appear in all copies.
1359 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1360 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1361 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1362 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1363 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1364 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1365 * PERFORMANCE OF THIS SOFTWARE.
1368 #ifndef GENERIC_OPT_41_H
1369 #define GENERIC_OPT_41_H 1
1371 /* Id: opt_41.h,v 1.18 2007/06/19 23:47:17 tbox Exp */
1374 * \brief Per RFC2671 */
1376 typedef struct dns_rdata_opt_opcode {
1377 isc_uint16_t opcode;
1378 isc_uint16_t length;
1379 unsigned char *data;
1380 } dns_rdata_opt_opcode_t;
1382 typedef struct dns_rdata_opt {
1383 dns_rdatacommon_t common;
1384 isc_mem_t *mctx;
1385 unsigned char *options;
1386 isc_uint16_t length;
1387 /* private */
1388 isc_uint16_t offset;
1389 } dns_rdata_opt_t;
1392 * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
1393 * via rdatastructpre.h and rdatastructsuf.h.
1396 isc_result_t
1397 dns_rdata_opt_first(dns_rdata_opt_t *);
1399 isc_result_t
1400 dns_rdata_opt_next(dns_rdata_opt_t *);
1402 isc_result_t
1403 dns_rdata_opt_current(dns_rdata_opt_t *, dns_rdata_opt_opcode_t *);
1405 #endif /* GENERIC_OPT_41_H */
1407 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1408 * Copyright (C) 2002 Internet Software Consortium.
1410 * Permission to use, copy, modify, and/or distribute this software for any
1411 * purpose with or without fee is hereby granted, provided that the above
1412 * copyright notice and this permission notice appear in all copies.
1414 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1415 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1416 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1417 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1418 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1419 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1420 * PERFORMANCE OF THIS SOFTWARE.
1423 /* */
1424 #ifndef IN_1_APL_42_H
1425 #define IN_1_APL_42_H 1
1427 /* Id: apl_42.h,v 1.6 2007/06/19 23:47:17 tbox Exp */
1429 typedef struct dns_rdata_apl_ent {
1430 isc_boolean_t negative;
1431 isc_uint16_t family;
1432 isc_uint8_t prefix;
1433 isc_uint8_t length;
1434 unsigned char *data;
1435 } dns_rdata_apl_ent_t;
1437 typedef struct dns_rdata_in_apl {
1438 dns_rdatacommon_t common;
1439 isc_mem_t *mctx;
1440 /* type & class specific elements */
1441 unsigned char *apl;
1442 isc_uint16_t apl_len;
1443 /* private */
1444 isc_uint16_t offset;
1445 } dns_rdata_in_apl_t;
1448 * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
1449 * via rdatastructpre.h and rdatastructsuf.h.
1452 isc_result_t
1453 dns_rdata_apl_first(dns_rdata_in_apl_t *);
1455 isc_result_t
1456 dns_rdata_apl_next(dns_rdata_in_apl_t *);
1458 isc_result_t
1459 dns_rdata_apl_current(dns_rdata_in_apl_t *, dns_rdata_apl_ent_t *);
1461 #endif /* IN_1_APL_42_H */
1463 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1464 * Copyright (C) 2002 Internet Software Consortium.
1466 * Permission to use, copy, modify, and/or distribute this software for any
1467 * purpose with or without fee is hereby granted, provided that the above
1468 * copyright notice and this permission notice appear in all copies.
1470 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1471 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1472 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1473 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1474 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1475 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1476 * PERFORMANCE OF THIS SOFTWARE.
1479 /* Id: ds_43.h,v 1.7 2007/06/19 23:47:17 tbox Exp */
1481 #ifndef GENERIC_DS_43_H
1482 #define GENERIC_DS_43_H 1
1485 * \brief per draft-ietf-dnsext-delegation-signer-05.txt */
1486 typedef struct dns_rdata_ds {
1487 dns_rdatacommon_t common;
1488 isc_mem_t *mctx;
1489 isc_uint16_t key_tag;
1490 isc_uint8_t algorithm;
1491 isc_uint8_t digest_type;
1492 isc_uint16_t length;
1493 unsigned char *digest;
1494 } dns_rdata_ds_t;
1496 #endif /* GENERIC_DS_43_H */
1498 * Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
1499 * Copyright (C) 2003 Internet Software Consortium.
1501 * Permission to use, copy, modify, and/or distribute this software for any
1502 * purpose with or without fee is hereby granted, provided that the above
1503 * copyright notice and this permission notice appear in all copies.
1505 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1506 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1507 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1508 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1509 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1510 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1511 * PERFORMANCE OF THIS SOFTWARE.
1514 /* Id: sshfp_44.h,v 1.8 2007/06/19 23:47:17 tbox Exp */
1517 * \brief Per RFC 4255 */
1519 #ifndef GENERIC_SSHFP_44_H
1520 #define GENERIC_SSHFP_44_H 1
1522 typedef struct dns_rdata_sshfp {
1523 dns_rdatacommon_t common;
1524 isc_mem_t *mctx;
1525 isc_uint8_t algorithm;
1526 isc_uint8_t digest_type;
1527 isc_uint16_t length;
1528 unsigned char *digest;
1529 } dns_rdata_sshfp_t;
1531 #endif /* GENERIC_SSHFP_44_H */
1533 * Copyright (C) 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1535 * Permission to use, copy, modify, and/or distribute this software for any
1536 * purpose with or without fee is hereby granted, provided that the above
1537 * copyright notice and this permission notice appear in all copies.
1539 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1540 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1541 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1542 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1543 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1544 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1545 * PERFORMANCE OF THIS SOFTWARE.
1548 /* Id: ipseckey_45.h,v 1.4 2007/06/19 23:47:17 tbox Exp */
1550 #ifndef GENERIC_IPSECKEY_45_H
1551 #define GENERIC_IPSECKEY_45_H 1
1553 typedef struct dns_rdata_ipseckey {
1554 dns_rdatacommon_t common;
1555 isc_mem_t *mctx;
1556 isc_uint8_t precedence;
1557 isc_uint8_t gateway_type;
1558 isc_uint8_t algorithm;
1559 struct in_addr in_addr; /* gateway type 1 */
1560 struct in6_addr in6_addr; /* gateway type 2 */
1561 dns_name_t gateway; /* gateway type 3 */
1562 unsigned char *key;
1563 isc_uint16_t keylength;
1564 } dns_rdata_ipseckey_t;
1566 #endif /* GENERIC_IPSECKEY_45_H */
1568 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1569 * Copyright (C) 2003 Internet Software Consortium.
1571 * Permission to use, copy, modify, and/or distribute this software for any
1572 * purpose with or without fee is hereby granted, provided that the above
1573 * copyright notice and this permission notice appear in all copies.
1575 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1576 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1577 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1578 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1579 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1580 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1581 * PERFORMANCE OF THIS SOFTWARE.
1584 #ifndef GENERIC_DNSSIG_46_H
1585 #define GENERIC_DNSSIG_46_H 1
1587 /* Id: rrsig_46.h,v 1.7 2007/06/19 23:47:17 tbox Exp */
1590 * \brief Per RFC2535 */
1591 typedef struct dns_rdata_rrsig {
1592 dns_rdatacommon_t common;
1593 isc_mem_t * mctx;
1594 dns_rdatatype_t covered;
1595 dns_secalg_t algorithm;
1596 isc_uint8_t labels;
1597 isc_uint32_t originalttl;
1598 isc_uint32_t timeexpire;
1599 isc_uint32_t timesigned;
1600 isc_uint16_t keyid;
1601 dns_name_t signer;
1602 isc_uint16_t siglen;
1603 unsigned char * signature;
1604 } dns_rdata_rrsig_t;
1607 #endif /* GENERIC_DNSSIG_46_H */
1609 * Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
1610 * Copyright (C) 2003 Internet Software Consortium.
1612 * Permission to use, copy, modify, and/or distribute this software for any
1613 * purpose with or without fee is hereby granted, provided that the above
1614 * copyright notice and this permission notice appear in all copies.
1616 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1617 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1618 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1619 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1620 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1621 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1622 * PERFORMANCE OF THIS SOFTWARE.
1625 #ifndef GENERIC_NSEC_47_H
1626 #define GENERIC_NSEC_47_H 1
1628 /* Id: nsec_47.h,v 1.10 2008/07/15 23:47:21 tbox Exp */
1631 * \brief Per RFC 3845 */
1633 typedef struct dns_rdata_nsec {
1634 dns_rdatacommon_t common;
1635 isc_mem_t *mctx;
1636 dns_name_t next;
1637 unsigned char *typebits;
1638 isc_uint16_t len;
1639 } dns_rdata_nsec_t;
1641 #endif /* GENERIC_NSEC_47_H */
1643 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1644 * Copyright (C) 2003 Internet Software Consortium.
1646 * Permission to use, copy, modify, and/or distribute this software for any
1647 * purpose with or without fee is hereby granted, provided that the above
1648 * copyright notice and this permission notice appear in all copies.
1650 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1651 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1652 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1653 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1654 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1655 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1656 * PERFORMANCE OF THIS SOFTWARE.
1659 #ifndef GENERIC_DNSKEY_48_H
1660 #define GENERIC_DNSKEY_48_H 1
1662 /* Id: dnskey_48.h,v 1.7 2007/06/19 23:47:17 tbox Exp */
1665 * \brief per RFC2535 */
1667 typedef struct dns_rdata_dnskey {
1668 dns_rdatacommon_t common;
1669 isc_mem_t * mctx;
1670 isc_uint16_t flags;
1671 isc_uint8_t protocol;
1672 isc_uint8_t algorithm;
1673 isc_uint16_t datalen;
1674 unsigned char * data;
1675 } dns_rdata_dnskey_t;
1678 #endif /* GENERIC_DNSKEY_48_H */
1680 * Copyright (C) 2006, 2007 Internet Systems Consortium, Inc. ("ISC")
1682 * Permission to use, copy, modify, and/or distribute this software for any
1683 * purpose with or without fee is hereby granted, provided that the above
1684 * copyright notice and this permission notice appear in all copies.
1686 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1687 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1688 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1689 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1690 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1691 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1692 * PERFORMANCE OF THIS SOFTWARE.
1695 /* */
1696 #ifndef IN_1_DHCID_49_H
1697 #define IN_1_DHCID_49_H 1
1699 /* Id: dhcid_49.h,v 1.5 2007/06/19 23:47:17 tbox Exp */
1701 typedef struct dns_rdata_in_dhcid {
1702 dns_rdatacommon_t common;
1703 isc_mem_t *mctx;
1704 unsigned char *dhcid;
1705 unsigned int length;
1706 } dns_rdata_in_dhcid_t;
1708 #endif /* IN_1_DHCID_49_H */
1710 * Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
1712 * Permission to use, copy, modify, and/or distribute this software for any
1713 * purpose with or without fee is hereby granted, provided that the above
1714 * copyright notice and this permission notice appear in all copies.
1716 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1717 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1718 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1719 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1720 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1721 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1722 * PERFORMANCE OF THIS SOFTWARE.
1726 #ifndef GENERIC_NSEC3_50_H
1727 #define GENERIC_NSEC3_50_H 1
1729 /* Id: nsec3_50.h,v 1.4 2008/09/25 04:02:39 tbox Exp */
1732 * \brief Per RFC 5155 */
1734 #include <isc/iterated_hash.h>
1736 typedef struct dns_rdata_nsec3 {
1737 dns_rdatacommon_t common;
1738 isc_mem_t *mctx;
1739 dns_hash_t hash;
1740 unsigned char flags;
1741 dns_iterations_t iterations;
1742 unsigned char salt_length;
1743 unsigned char next_length;
1744 isc_uint16_t len;
1745 unsigned char *salt;
1746 unsigned char *next;
1747 unsigned char *typebits;
1748 } dns_rdata_nsec3_t;
1751 * The corresponding NSEC3 interval is OPTOUT indicating possible
1752 * insecure delegations.
1754 #define DNS_NSEC3FLAG_OPTOUT 0x01U
1757 * Non-standard, NSEC3PARAM only.
1759 * Create a corresponding NSEC3 chain.
1760 * Once the NSEC3 chain is complete this flag will be removed to signal
1761 * that there is a complete chain.
1763 * This flag is automatically set when a NSEC3PARAM record is added to
1764 * the zone via UPDATE.
1766 * NSEC3PARAM records with this flag set are supposed to be ignored by
1767 * RFC 5155 compliant nameservers.
1769 #define DNS_NSEC3FLAG_CREATE 0x80U
1772 * Non-standard, NSEC3PARAM only.
1774 * The corresponding NSEC3 set is to be removed once the NSEC chain
1775 * has been generated.
1777 * This flag is automatically set when the last active NSEC3PARAM record
1778 * is removed from the zone via UPDATE.
1780 * NSEC3PARAM records with this flag set are supposed to be ignored by
1781 * RFC 5155 compliant nameservers.
1783 #define DNS_NSEC3FLAG_REMOVE 0x40U
1786 * Non-standard, NSEC3PARAM only.
1788 * Used to identify NSEC3PARAM records added in this UPDATE request.
1790 #define DNS_NSEC3FLAG_UPDATE 0x20U
1793 * Non-standard, NSEC3PARAM only.
1795 * Prevent the creation of a NSEC chain before the last NSEC3 chain
1796 * is removed. This will normally only be set when the zone is
1797 * transitioning from secure with NSEC3 chains to insecure.
1799 #define DNS_NSEC3FLAG_NONSEC 0x10U
1801 #endif /* GENERIC_NSEC3_50_H */
1803 * Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
1805 * Permission to use, copy, modify, and/or distribute this software for any
1806 * purpose with or without fee is hereby granted, provided that the above
1807 * copyright notice and this permission notice appear in all copies.
1809 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1810 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1811 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1812 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1813 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1814 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1815 * PERFORMANCE OF THIS SOFTWARE.
1819 #ifndef GENERIC_NSEC3PARAM_51_H
1820 #define GENERIC_NSEC3PARAM_51_H 1
1822 /* Id: nsec3param_51.h,v 1.4 2008/09/25 04:02:39 tbox Exp */
1825 * \brief Per RFC 5155 */
1827 #include <isc/iterated_hash.h>
1829 typedef struct dns_rdata_nsec3param {
1830 dns_rdatacommon_t common;
1831 isc_mem_t *mctx;
1832 dns_hash_t hash;
1833 unsigned char flags; /* DNS_NSEC3FLAG_* */
1834 dns_iterations_t iterations;
1835 unsigned char salt_length;
1836 unsigned char *salt;
1837 } dns_rdata_nsec3param_t;
1839 #endif /* GENERIC_NSEC3PARAM_51_H */
1841 * Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
1843 * Permission to use, copy, modify, and/or distribute this software for any
1844 * purpose with or without fee is hereby granted, provided that the above
1845 * copyright notice and this permission notice appear in all copies.
1847 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1848 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1849 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1850 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1851 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1852 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1853 * PERFORMANCE OF THIS SOFTWARE.
1856 /* Id: hip_55.h,v 1.2 2009/02/26 06:09:19 marka Exp */
1858 #ifndef GENERIC_HIP_5_H
1859 #define GENERIC_HIP_5_H 1
1861 /* RFC 5205 */
1863 typedef struct dns_rdata_hip {
1864 dns_rdatacommon_t common;
1865 isc_mem_t * mctx;
1866 unsigned char * hit;
1867 unsigned char * key;
1868 unsigned char * servers;
1869 isc_uint8_t algorithm;
1870 isc_uint8_t hit_len;
1871 isc_uint16_t key_len;
1872 isc_uint16_t servers_len;
1873 /* Private */
1874 isc_uint16_t offset;
1875 } dns_rdata_hip_t;
1877 isc_result_t
1878 dns_rdata_hip_first(dns_rdata_hip_t *);
1880 isc_result_t
1881 dns_rdata_hip_next(dns_rdata_hip_t *);
1883 void
1884 dns_rdata_hip_current(dns_rdata_hip_t *, dns_name_t *);
1886 #endif /* GENERIC_HIP_5_H */
1888 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1889 * Copyright (C) 1998-2001 Internet Software Consortium.
1891 * Permission to use, copy, modify, and/or distribute this software for any
1892 * purpose with or without fee is hereby granted, provided that the above
1893 * copyright notice and this permission notice appear in all copies.
1895 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1896 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1897 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1898 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1899 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1900 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1901 * PERFORMANCE OF THIS SOFTWARE.
1904 #ifndef GENERIC_SPF_99_H
1905 #define GENERIC_SPF_99_H 1
1907 /* Id: spf_99.h,v 1.4 2007/06/19 23:47:17 tbox Exp */
1909 typedef struct dns_rdata_spf_string {
1910 isc_uint8_t length;
1911 unsigned char *data;
1912 } dns_rdata_spf_string_t;
1914 typedef struct dns_rdata_spf {
1915 dns_rdatacommon_t common;
1916 isc_mem_t *mctx;
1917 unsigned char *txt;
1918 isc_uint16_t txt_len;
1919 /* private */
1920 isc_uint16_t offset;
1921 } dns_rdata_spf_t;
1924 * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
1925 * via rdatastructpre.h and rdatastructsuf.h.
1928 isc_result_t
1929 dns_rdata_spf_first(dns_rdata_spf_t *);
1931 isc_result_t
1932 dns_rdata_spf_next(dns_rdata_spf_t *);
1934 isc_result_t
1935 dns_rdata_spf_current(dns_rdata_spf_t *, dns_rdata_spf_string_t *);
1937 #endif /* GENERIC_SPF_99_H */
1939 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1940 * Copyright (C) 1999-2001 Internet Software Consortium.
1942 * Permission to use, copy, modify, and/or distribute this software for any
1943 * purpose with or without fee is hereby granted, provided that the above
1944 * copyright notice and this permission notice appear in all copies.
1946 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1947 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1948 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1949 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1950 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1951 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1952 * PERFORMANCE OF THIS SOFTWARE.
1955 /* */
1956 #ifndef GENERIC_UNSPEC_103_H
1957 #define GENERIC_UNSPEC_103_H 1
1959 /* Id: unspec_103.h,v 1.17 2007/06/19 23:47:17 tbox Exp */
1961 typedef struct dns_rdata_unspec_t {
1962 dns_rdatacommon_t common;
1963 isc_mem_t *mctx;
1964 unsigned char *data;
1965 isc_uint16_t datalen;
1966 } dns_rdata_unspec_t;
1968 #endif /* GENERIC_UNSPEC_103_H */
1970 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
1971 * Copyright (C) 1999-2001, 2003 Internet Software Consortium.
1973 * Permission to use, copy, modify, and/or distribute this software for any
1974 * purpose with or without fee is hereby granted, provided that the above
1975 * copyright notice and this permission notice appear in all copies.
1977 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1978 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1979 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1980 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1981 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1982 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1983 * PERFORMANCE OF THIS SOFTWARE.
1986 #ifndef GENERIC_TKEY_249_H
1987 #define GENERIC_TKEY_249_H 1
1989 /* Id: tkey_249.h,v 1.24 2007/06/19 23:47:17 tbox Exp */
1992 * \brief Per draft-ietf-dnsind-tkey-00.txt */
1994 typedef struct dns_rdata_tkey {
1995 dns_rdatacommon_t common;
1996 isc_mem_t * mctx;
1997 dns_name_t algorithm;
1998 isc_uint32_t inception;
1999 isc_uint32_t expire;
2000 isc_uint16_t mode;
2001 isc_uint16_t error;
2002 isc_uint16_t keylen;
2003 unsigned char * key;
2004 isc_uint16_t otherlen;
2005 unsigned char * other;
2006 } dns_rdata_tkey_t;
2009 #endif /* GENERIC_TKEY_249_H */
2011 * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
2012 * Copyright (C) 1999-2001 Internet Software Consortium.
2014 * Permission to use, copy, modify, and/or distribute this software for any
2015 * purpose with or without fee is hereby granted, provided that the above
2016 * copyright notice and this permission notice appear in all copies.
2018 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
2019 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2020 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
2021 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2022 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
2023 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2024 * PERFORMANCE OF THIS SOFTWARE.
2027 /* Id: tsig_250.h,v 1.25 2007/06/19 23:47:17 tbox Exp */
2029 #ifndef ANY_255_TSIG_250_H
2030 #define ANY_255_TSIG_250_H 1
2032 /*% RFC2845 */
2033 typedef struct dns_rdata_any_tsig {
2034 dns_rdatacommon_t common;
2035 isc_mem_t * mctx;
2036 dns_name_t algorithm;
2037 isc_uint64_t timesigned;
2038 isc_uint16_t fudge;
2039 isc_uint16_t siglen;
2040 unsigned char * signature;
2041 isc_uint16_t originalid;
2042 isc_uint16_t error;
2043 isc_uint16_t otherlen;
2044 unsigned char * other;
2045 } dns_rdata_any_tsig_t;
2047 #endif /* ANY_255_TSIG_250_H */
2049 * Copyright (C) 2004, 2006, 2007 Internet Systems Consortium, Inc. ("ISC")
2051 * Permission to use, copy, modify, and/or distribute this software for any
2052 * purpose with or without fee is hereby granted, provided that the above
2053 * copyright notice and this permission notice appear in all copies.
2055 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
2056 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2057 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
2058 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2059 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
2060 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2061 * PERFORMANCE OF THIS SOFTWARE.
2064 /* Id: dlv_32769.h,v 1.5 2007/06/19 23:47:17 tbox Exp */
2066 /* draft-ietf-dnsext-delegation-signer-05.txt */
2067 #ifndef GENERIC_DLV_32769_H
2068 #define GENERIC_DLV_32769_H 1
2070 typedef struct dns_rdata_dlv {
2071 dns_rdatacommon_t common;
2072 isc_mem_t *mctx;
2073 isc_uint16_t key_tag;
2074 isc_uint8_t algorithm;
2075 isc_uint8_t digest_type;
2076 isc_uint16_t length;
2077 unsigned char *digest;
2078 } dns_rdata_dlv_t;
2080 #endif /* GENERIC_DLV_32769_H */
2082 * Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
2084 * Permission to use, copy, modify, and/or distribute this software for any
2085 * purpose with or without fee is hereby granted, provided that the above
2086 * copyright notice and this permission notice appear in all copies.
2088 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
2089 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2090 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
2091 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2092 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
2093 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2094 * PERFORMANCE OF THIS SOFTWARE.
2097 #ifndef GENERIC_KEYDATA_65533_H
2098 #define GENERIC_KEYDATA_65533_H 1
2100 /* Id: keydata_65533.h,v 1.2 2009/06/30 02:52:32 each Exp */
2102 typedef struct dns_rdata_keydata {
2103 dns_rdatacommon_t common;
2104 isc_mem_t * mctx;
2105 isc_uint32_t refresh; /* Timer for refreshing data */
2106 isc_uint32_t addhd; /* Hold-down timer for adding */
2107 isc_uint32_t removehd; /* Hold-down timer for removing */
2108 isc_uint16_t flags; /* Copy of DNSKEY_48 */
2109 isc_uint8_t protocol;
2110 isc_uint8_t algorithm;
2111 isc_uint16_t datalen;
2112 unsigned char * data;
2113 } dns_rdata_keydata_t;
2115 #endif /* GENERIC_KEYDATA_65533_H */
2117 * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
2118 * Copyright (C) 1999-2001 Internet Software Consortium.
2120 * Permission to use, copy, modify, and/or distribute this software for any
2121 * purpose with or without fee is hereby granted, provided that the above
2122 * copyright notice and this permission notice appear in all copies.
2124 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
2125 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2126 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
2127 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2128 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
2129 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2130 * PERFORMANCE OF THIS SOFTWARE.
2133 /* Id: rdatastructsuf.h,v 1.10 2007/06/19 23:47:17 tbox Exp */
2135 ISC_LANG_ENDDECLS
2137 #endif /* DNS_RDATASTRUCT_H */