diff options
author | dougb <dougb@FreeBSD.org> | 2007-06-02 23:24:14 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2007-06-02 23:24:14 +0000 |
commit | 5b21df8b3033100585043560a105fc40260fad80 (patch) | |
tree | 9096e6328b2e6776d5218c3b3373ca19f78222f2 | |
parent | 326847364a45b4d0595ea4baa8e080c6b53fdb13 (diff) | |
download | FreeBSD-src-5b21df8b3033100585043560a105fc40260fad80.zip FreeBSD-src-5b21df8b3033100585043560a105fc40260fad80.tar.gz |
Update generated files for BIND 9.4.1
-rw-r--r-- | lib/bind/bind/port_before.h | 4 | ||||
-rw-r--r-- | lib/bind/config.h | 105 | ||||
-rw-r--r-- | lib/bind/dns/code.h | 51 | ||||
-rw-r--r-- | lib/bind/dns/dns/enumclass.h | 6 | ||||
-rw-r--r-- | lib/bind/dns/dns/enumtype.h | 6 | ||||
-rw-r--r-- | lib/bind/dns/dns/rdatastruct.h | 419 | ||||
-rw-r--r-- | lib/bind/isc/isc/platform.h | 124 | ||||
-rw-r--r-- | lib/bind/lwres/lwres/netdb.h | 6 | ||||
-rw-r--r-- | lib/bind/lwres/lwres/platform.h | 11 |
9 files changed, 512 insertions, 220 deletions
diff --git a/lib/bind/bind/port_before.h b/lib/bind/bind/port_before.h index f18021a..2edd09a 100644 --- a/lib/bind/bind/port_before.h +++ b/lib/bind/bind/port_before.h @@ -24,7 +24,7 @@ struct timezone; /* silence warning */ #undef HAVE_MD5 #undef SOLARIS2 -#undef DO_PTHREADS +#define DO_PTHREADS 1 #define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, int *ngroups #define GETNETBYADDR_ADDR_T unsigned long int #define SETPWENT_VOID 1 @@ -150,3 +150,5 @@ struct timezone; /* silence warning */ #endif #endif + +/*! \file */ diff --git a/lib/bind/config.h b/lib/bind/config.h index ea158f8..b248f94 100644 --- a/lib/bind/config.h +++ b/lib/bind/config.h @@ -3,7 +3,7 @@ /* config.h. Generated by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -19,102 +19,106 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: acconfig.h,v 1.35.2.4.2.10 2004/12/04 06:50:02 marka Exp $ */ +/* $Id: acconfig.h,v 1.44.18.5 2005/04/29 00:15:20 marka Exp $ */ + +/*! \file */ /*** *** This file is not to be included by any public header files, because *** it does not get installed. ***/ -/* define to `int' if <sys/types.h> doesn't define. */ +/** define to `int' if <sys/types.h> doesn't define. */ /* #undef ssize_t */ -/* define on DEC OSF to enable 4.4BSD style sa_len support */ +/** define on DEC OSF to enable 4.4BSD style sa_len support */ /* #undef _SOCKADDR_LEN */ -/* define if your system needs pthread_init() before using pthreads */ +/** define if your system needs pthread_init() before using pthreads */ /* #undef NEED_PTHREAD_INIT */ -/* define if your system has sigwait() */ -/* #undef HAVE_SIGWAIT */ +/** define if your system has sigwait() */ +#define HAVE_SIGWAIT 1 -/* define if sigwait() is the UnixWare flavor */ +/** define if sigwait() is the UnixWare flavor */ /* #undef HAVE_UNIXWARE_SIGWAIT */ -/* define on Solaris to get sigwait() to work using pthreads semantics */ +/** define on Solaris to get sigwait() to work using pthreads semantics */ /* #undef _POSIX_PTHREAD_SEMANTICS */ -/* define if LinuxThreads is in use */ +/** define if LinuxThreads is in use */ /* #undef HAVE_LINUXTHREADS */ -/* define if sysconf() is available */ -/* #undef HAVE_SYSCONF */ +/** define if sysconf() is available */ +#define HAVE_SYSCONF 1 -/* define if sysctlbyname() is available */ +/** define if sysctlbyname() is available */ #define HAVE_SYSCTLBYNAME 1 -/* define if catgets() is available */ +/** define if catgets() is available */ #define HAVE_CATGETS 1 -/* define if getifaddrs() exists */ +/** define if getifaddrs() exists */ #define HAVE_GETIFADDRS 1 -/* define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */ +/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */ #define HAVE_IFLIST_SYSCTL 1 -/* define if chroot() is available */ +/** define if chroot() is available */ #define HAVE_CHROOT 1 -/* define if tzset() is available */ +/** define if tzset() is available */ #define HAVE_TZSET 1 -/* define if struct addrinfo exists */ +/** define if struct addrinfo exists */ #define HAVE_ADDRINFO 1 -/* define if getaddrinfo() exists */ +/** define if getaddrinfo() exists */ #define HAVE_GETADDRINFO 1 -/* define if gai_strerror() exists */ +/** define if gai_strerror() exists */ #define HAVE_GAISTRERROR 1 -/* define if arc4random() exists */ +/** define if arc4random() exists */ #define HAVE_ARC4RANDOM 1 -/* define if pthread_setconcurrency() should be called to tell the +/** + * define if pthread_setconcurrency() should be called to tell the * OS how many threads we might want to run. */ /* #undef CALL_PTHREAD_SETCONCURRENCY */ -/* define if IPv6 is not disabled */ +/** define if IPv6 is not disabled */ /* #undef WANT_IPV6 */ -/* define if flockfile() is available */ +/** define if flockfile() is available */ #define HAVE_FLOCKFILE 1 -/* define if getc_unlocked() is available */ +/** define if getc_unlocked() is available */ #define HAVE_GETCUNLOCKED 1 -/* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */ +/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */ /* #undef SHUTUP_SPUTAUX */ #ifdef SHUTUP_SPUTAUX struct __sFILE; extern __inline int __sputaux(int _c, struct __sFILE *_p); #endif -/* Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */ +/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */ /* #undef SHUTUP_SIGWAIT */ #ifdef SHUTUP_SIGWAIT int sigwait(const unsigned int *set, int *sig); #endif -/* Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */ +/** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */ /* #undef SHUTUP_STDARG_CAST */ #if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__) -#include <stdarg.h> /* Grr. Must be included *every time*. */ -/* +#include <stdarg.h> /** Grr. Must be included *every time*. */ +/** * The silly continuation line is to keep configure from * commenting out the #undef. */ + #undef \ va_start #define va_start(ap, last) \ @@ -123,21 +127,21 @@ int sigwait(const unsigned int *set, int *sig); _u.konst = &(last); \ ap = (va_list)(_u.var + __va_words(__typeof(last))); \ } while (0) -#endif /* SHUTUP_STDARG_CAST && __GNUC__ */ +#endif /** SHUTUP_STDARG_CAST && __GNUC__ */ -/* define if the system has a random number generating device */ +/** define if the system has a random number generating device */ #define PATH_RANDOMDEV "/dev/random" -/* define if pthread_attr_getstacksize() is available */ -/* #undef HAVE_PTHREAD_ATTR_GETSTACKSIZE */ +/** define if pthread_attr_getstacksize() is available */ +#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1 -/* define if pthread_attr_setstacksize() is available */ -/* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */ +/** define if pthread_attr_setstacksize() is available */ +#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 -/* define if you have strerror in the C library. */ +/** define if you have strerror in the C library. */ #define HAVE_STRERROR 1 -/* Define if you are running under Compaq TruCluster. */ +/** Define if you are running under Compaq TruCluster. */ /* #undef HAVE_TRUCLUSTER */ /* Define if OpenSSL includes DSA support */ @@ -156,12 +160,6 @@ int sigwait(const unsigned int *set, int *sig); /* Define if you cannot bind() before connect() for TCP sockets. */ /* #undef BROKEN_TCP_BIND_BEFORE_CONNECT */ -/* Define if libcrypto has DH_generate_parameters */ -#define HAVE_DH_GENERATE_PARAMETERS 1 - -/* Define if libcrypto has DSA_generate_parameters */ -#define HAVE_DSA_GENERATE_PARAMETERS 1 - /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 @@ -192,14 +190,17 @@ int sigwait(const unsigned int *set, int *sig); /* Define to 1 if you have the <linux/capability.h> header file. */ /* #undef HAVE_LINUX_CAPABILITY_H */ +/* Define to 1 if you have the <locale.h> header file. */ +#define HAVE_LOCALE_H 1 + /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the <net/if6.h> header file. */ /* #undef HAVE_NET_IF6_H */ -/* Define if libcrypto has RSA_generate_key */ -#define HAVE_RSA_GENERATE_KEY 1 +/* Define to 1 if you have the `setlocale' function. */ +#define HAVE_SETLOCALE 1 /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 @@ -237,6 +238,9 @@ int sigwait(const unsigned int *set, int *sig); /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 +/* Define to 1 if you have the <sys/un.h> header file. */ +#define HAVE_SYS_UN_H 1 + /* Define if running under Compaq TruCluster */ /* #undef HAVE_TRUCLUSTER */ @@ -246,6 +250,10 @@ int sigwait(const unsigned int *set, int *sig); /* Defined if extern char *optarg is not declared. */ /* #undef NEED_OPTARG */ +/* Define if connect does not honour the permission on the UNIX domain socket. + */ +/* #undef NEED_SECURE_DIRECTORY */ + /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "" @@ -275,6 +283,9 @@ int sigwait(const unsigned int *set, int *sig); non-blocking. */ /* #undef USE_FIONBIO_IOCTL */ +/* define if idnkit support is to be included. */ +/* #undef WITH_IDN */ + /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ /* #undef WORDS_BIGENDIAN */ diff --git a/lib/bind/dns/code.h b/lib/bind/dns/code.h index ff6cb71..0fccb43 100644 --- a/lib/bind/dns/code.h +++ b/lib/bind/dns/code.h @@ -24,6 +24,8 @@ *************** ***************/ +/*! \file */ + #ifndef DNS_CODE_H #define DNS_CODE_H 1 @@ -33,6 +35,7 @@ #include <dns/name.h> #include "rdata/in_1/a_1.c" +#include "rdata/ch_3/a_1.c" #include "rdata/hs_4/a_1.c" #include "rdata/generic/ns_2.c" #include "rdata/generic/md_3.c" @@ -73,9 +76,11 @@ #include "rdata/in_1/apl_42.c" #include "rdata/generic/ds_43.c" #include "rdata/generic/sshfp_44.c" +#include "rdata/generic/ipseckey_45.c" #include "rdata/generic/rrsig_46.c" #include "rdata/generic/nsec_47.c" #include "rdata/generic/dnskey_48.c" +#include "rdata/generic/spf_99.c" #include "rdata/generic/unspec_103.c" #include "rdata/generic/tkey_249.c" #include "rdata/any_255/tsig_250.c" @@ -87,6 +92,7 @@ switch (type) { \ case 1: switch (rdclass) { \ case 1: result = fromtext_in_a(rdclass, type, lexer, origin, options, target, callbacks); break; \ + case 3: result = fromtext_ch_a(rdclass, type, lexer, origin, options, target, callbacks); break; \ case 4: result = fromtext_hs_a(rdclass, type, lexer, origin, options, target, callbacks); break; \ default: result = DNS_R_UNKNOWN; break; \ } \ @@ -170,9 +176,11 @@ break; \ case 43: result = fromtext_ds(rdclass, type, lexer, origin, options, target, callbacks); break; \ case 44: result = fromtext_sshfp(rdclass, type, lexer, origin, options, target, callbacks); break; \ + case 45: result = fromtext_ipseckey(rdclass, type, lexer, origin, options, target, callbacks); break; \ case 46: result = fromtext_rrsig(rdclass, type, lexer, origin, options, target, callbacks); break; \ case 47: result = fromtext_nsec(rdclass, type, lexer, origin, options, target, callbacks); break; \ case 48: result = fromtext_dnskey(rdclass, type, lexer, origin, options, target, callbacks); break; \ + case 99: result = fromtext_spf(rdclass, type, lexer, origin, options, target, callbacks); break; \ case 103: result = fromtext_unspec(rdclass, type, lexer, origin, options, target, callbacks); break; \ case 249: result = fromtext_tkey(rdclass, type, lexer, origin, options, target, callbacks); break; \ case 250: switch (rdclass) { \ @@ -188,6 +196,7 @@ switch (rdata->type) { \ case 1: switch (rdata->rdclass) { \ case 1: result = totext_in_a(rdata, tctx, target); break; \ + case 3: result = totext_ch_a(rdata, tctx, target); break; \ case 4: result = totext_hs_a(rdata, tctx, target); break; \ default: use_default = ISC_TRUE; break; \ } \ @@ -271,9 +280,11 @@ break; \ case 43: result = totext_ds(rdata, tctx, target); break; \ case 44: result = totext_sshfp(rdata, tctx, target); break; \ + case 45: result = totext_ipseckey(rdata, tctx, target); break; \ case 46: result = totext_rrsig(rdata, tctx, target); break; \ case 47: result = totext_nsec(rdata, tctx, target); break; \ case 48: result = totext_dnskey(rdata, tctx, target); break; \ + case 99: result = totext_spf(rdata, tctx, target); break; \ case 103: result = totext_unspec(rdata, tctx, target); break; \ case 249: result = totext_tkey(rdata, tctx, target); break; \ case 250: switch (rdata->rdclass) { \ @@ -289,6 +300,7 @@ switch (type) { \ case 1: switch (rdclass) { \ case 1: result = fromwire_in_a(rdclass, type, source, dctx, options, target); break; \ + case 3: result = fromwire_ch_a(rdclass, type, source, dctx, options, target); break; \ case 4: result = fromwire_hs_a(rdclass, type, source, dctx, options, target); break; \ default: use_default = ISC_TRUE; break; \ } \ @@ -372,9 +384,11 @@ break; \ case 43: result = fromwire_ds(rdclass, type, source, dctx, options, target); break; \ case 44: result = fromwire_sshfp(rdclass, type, source, dctx, options, target); break; \ + case 45: result = fromwire_ipseckey(rdclass, type, source, dctx, options, target); break; \ case 46: result = fromwire_rrsig(rdclass, type, source, dctx, options, target); break; \ case 47: result = fromwire_nsec(rdclass, type, source, dctx, options, target); break; \ case 48: result = fromwire_dnskey(rdclass, type, source, dctx, options, target); break; \ + case 99: result = fromwire_spf(rdclass, type, source, dctx, options, target); break; \ case 103: result = fromwire_unspec(rdclass, type, source, dctx, options, target); break; \ case 249: result = fromwire_tkey(rdclass, type, source, dctx, options, target); break; \ case 250: switch (rdclass) { \ @@ -390,6 +404,7 @@ switch (rdata->type) { \ case 1: switch (rdata->rdclass) { \ case 1: result = towire_in_a(rdata, cctx, target); break; \ + case 3: result = towire_ch_a(rdata, cctx, target); break; \ case 4: result = towire_hs_a(rdata, cctx, target); break; \ default: use_default = ISC_TRUE; break; \ } \ @@ -473,9 +488,11 @@ break; \ case 43: result = towire_ds(rdata, cctx, target); break; \ case 44: result = towire_sshfp(rdata, cctx, target); break; \ + case 45: result = towire_ipseckey(rdata, cctx, target); break; \ case 46: result = towire_rrsig(rdata, cctx, target); break; \ case 47: result = towire_nsec(rdata, cctx, target); break; \ case 48: result = towire_dnskey(rdata, cctx, target); break; \ + case 99: result = towire_spf(rdata, cctx, target); break; \ case 103: result = towire_unspec(rdata, cctx, target); break; \ case 249: result = towire_tkey(rdata, cctx, target); break; \ case 250: switch (rdata->rdclass) { \ @@ -491,6 +508,7 @@ switch (rdata1->type) { \ case 1: switch (rdata1->rdclass) { \ case 1: result = compare_in_a(rdata1, rdata2); break; \ + case 3: result = compare_ch_a(rdata1, rdata2); break; \ case 4: result = compare_hs_a(rdata1, rdata2); break; \ default: use_default = ISC_TRUE; break; \ } \ @@ -574,9 +592,11 @@ break; \ case 43: result = compare_ds(rdata1, rdata2); break; \ case 44: result = compare_sshfp(rdata1, rdata2); break; \ + case 45: result = compare_ipseckey(rdata1, rdata2); break; \ case 46: result = compare_rrsig(rdata1, rdata2); break; \ case 47: result = compare_nsec(rdata1, rdata2); break; \ case 48: result = compare_dnskey(rdata1, rdata2); break; \ + case 99: result = compare_spf(rdata1, rdata2); break; \ case 103: result = compare_unspec(rdata1, rdata2); break; \ case 249: result = compare_tkey(rdata1, rdata2); break; \ case 250: switch (rdata1->rdclass) { \ @@ -592,6 +612,7 @@ switch (type) { \ case 1: switch (rdclass) { \ case 1: result = fromstruct_in_a(rdclass, type, source, target); break; \ + case 3: result = fromstruct_ch_a(rdclass, type, source, target); break; \ case 4: result = fromstruct_hs_a(rdclass, type, source, target); break; \ default: use_default = ISC_TRUE; break; \ } \ @@ -675,9 +696,11 @@ break; \ case 43: result = fromstruct_ds(rdclass, type, source, target); break; \ case 44: result = fromstruct_sshfp(rdclass, type, source, target); break; \ + case 45: result = fromstruct_ipseckey(rdclass, type, source, target); break; \ case 46: result = fromstruct_rrsig(rdclass, type, source, target); break; \ case 47: result = fromstruct_nsec(rdclass, type, source, target); break; \ case 48: result = fromstruct_dnskey(rdclass, type, source, target); break; \ + case 99: result = fromstruct_spf(rdclass, type, source, target); break; \ case 103: result = fromstruct_unspec(rdclass, type, source, target); break; \ case 249: result = fromstruct_tkey(rdclass, type, source, target); break; \ case 250: switch (rdclass) { \ @@ -693,6 +716,7 @@ switch (rdata->type) { \ case 1: switch (rdata->rdclass) { \ case 1: result = tostruct_in_a(rdata, target, mctx); break; \ + case 3: result = tostruct_ch_a(rdata, target, mctx); break; \ case 4: result = tostruct_hs_a(rdata, target, mctx); break; \ default: use_default = ISC_TRUE; break; \ } \ @@ -776,9 +800,11 @@ break; \ case 43: result = tostruct_ds(rdata, target, mctx); break; \ case 44: result = tostruct_sshfp(rdata, target, mctx); break; \ + case 45: result = tostruct_ipseckey(rdata, target, mctx); break; \ case 46: result = tostruct_rrsig(rdata, target, mctx); break; \ case 47: result = tostruct_nsec(rdata, target, mctx); break; \ case 48: result = tostruct_dnskey(rdata, target, mctx); break; \ + case 99: result = tostruct_spf(rdata, target, mctx); break; \ case 103: result = tostruct_unspec(rdata, target, mctx); break; \ case 249: result = tostruct_tkey(rdata, target, mctx); break; \ case 250: switch (rdata->rdclass) { \ @@ -794,6 +820,7 @@ switch (common->rdtype) { \ case 1: switch (common->rdclass) { \ case 1: freestruct_in_a(source); break; \ + case 3: freestruct_ch_a(source); break; \ case 4: freestruct_hs_a(source); break; \ default: break; \ } \ @@ -877,9 +904,11 @@ break; \ case 43: freestruct_ds(source); break; \ case 44: freestruct_sshfp(source); break; \ + case 45: freestruct_ipseckey(source); break; \ case 46: freestruct_rrsig(source); break; \ case 47: freestruct_nsec(source); break; \ case 48: freestruct_dnskey(source); break; \ + case 99: freestruct_spf(source); break; \ case 103: freestruct_unspec(source); break; \ case 249: freestruct_tkey(source); break; \ case 250: switch (common->rdclass) { \ @@ -895,6 +924,7 @@ switch (rdata->type) { \ case 1: switch (rdata->rdclass) { \ case 1: result = additionaldata_in_a(rdata, add, arg); break; \ + case 3: result = additionaldata_ch_a(rdata, add, arg); break; \ case 4: result = additionaldata_hs_a(rdata, add, arg); break; \ default: use_default = ISC_TRUE; break; \ } \ @@ -978,9 +1008,11 @@ break; \ case 43: result = additionaldata_ds(rdata, add, arg); break; \ case 44: result = additionaldata_sshfp(rdata, add, arg); break; \ + case 45: result = additionaldata_ipseckey(rdata, add, arg); break; \ case 46: result = additionaldata_rrsig(rdata, add, arg); break; \ case 47: result = additionaldata_nsec(rdata, add, arg); break; \ case 48: result = additionaldata_dnskey(rdata, add, arg); break; \ + case 99: result = additionaldata_spf(rdata, add, arg); break; \ case 103: result = additionaldata_unspec(rdata, add, arg); break; \ case 249: result = additionaldata_tkey(rdata, add, arg); break; \ case 250: switch (rdata->rdclass) { \ @@ -996,6 +1028,7 @@ switch (rdata->type) { \ case 1: switch (rdata->rdclass) { \ case 1: result = digest_in_a(rdata, digest, arg); break; \ + case 3: result = digest_ch_a(rdata, digest, arg); break; \ case 4: result = digest_hs_a(rdata, digest, arg); break; \ default: use_default = ISC_TRUE; break; \ } \ @@ -1079,9 +1112,11 @@ break; \ case 43: result = digest_ds(rdata, digest, arg); break; \ case 44: result = digest_sshfp(rdata, digest, arg); break; \ + case 45: result = digest_ipseckey(rdata, digest, arg); break; \ case 46: result = digest_rrsig(rdata, digest, arg); break; \ case 47: result = digest_nsec(rdata, digest, arg); break; \ case 48: result = digest_dnskey(rdata, digest, arg); break; \ + case 99: result = digest_spf(rdata, digest, arg); break; \ case 103: result = digest_unspec(rdata, digest, arg); break; \ case 249: result = digest_tkey(rdata, digest, arg); break; \ case 250: switch (rdata->rdclass) { \ @@ -1097,6 +1132,7 @@ switch (type) { \ case 1: switch (rdclass) { \ case 1: result = checkowner_in_a(name, rdclass, type, wildcard); break; \ + case 3: result = checkowner_ch_a(name, rdclass, type, wildcard); break; \ case 4: result = checkowner_hs_a(name, rdclass, type, wildcard); break; \ default: result = ISC_TRUE; break; \ } \ @@ -1180,9 +1216,11 @@ break; \ case 43: result = checkowner_ds(name, rdclass, type, wildcard); break; \ case 44: result = checkowner_sshfp(name, rdclass, type, wildcard); break; \ + case 45: result = checkowner_ipseckey(name, rdclass, type, wildcard); break; \ case 46: result = checkowner_rrsig(name, rdclass, type, wildcard); break; \ case 47: result = checkowner_nsec(name, rdclass, type, wildcard); break; \ case 48: result = checkowner_dnskey(name, rdclass, type, wildcard); break; \ + case 99: result = checkowner_spf(name, rdclass, type, wildcard); break; \ case 103: result = checkowner_unspec(name, rdclass, type, wildcard); break; \ case 249: result = checkowner_tkey(name, rdclass, type, wildcard); break; \ case 250: switch (rdclass) { \ @@ -1198,6 +1236,7 @@ switch (rdata->type) { \ case 1: switch (rdata->rdclass) { \ case 1: result = checknames_in_a(rdata, owner, bad); break; \ + case 3: result = checknames_ch_a(rdata, owner, bad); break; \ case 4: result = checknames_hs_a(rdata, owner, bad); break; \ default: result = ISC_TRUE; break; \ } \ @@ -1281,9 +1320,11 @@ break; \ case 43: result = checknames_ds(rdata, owner, bad); break; \ case 44: result = checknames_sshfp(rdata, owner, bad); break; \ + case 45: result = checknames_ipseckey(rdata, owner, bad); break; \ case 46: result = checknames_rrsig(rdata, owner, bad); break; \ case 47: result = checknames_nsec(rdata, owner, bad); break; \ case 48: result = checknames_dnskey(rdata, owner, bad); break; \ + case 99: result = checknames_spf(rdata, owner, bad); break; \ case 103: result = checknames_unspec(rdata, owner, bad); break; \ case 249: result = checknames_tkey(rdata, owner, bad); break; \ case 250: switch (rdata->rdclass) { \ @@ -1431,6 +1472,9 @@ case 128: \ RDATATYPE_COMPARE("sshfp", 44, _typename, _length, _typep); \ break; \ + case 105: \ + RDATATYPE_COMPARE("ipseckey", 45, _typename, _length, _typep); \ + break; \ case 225: \ RDATATYPE_COMPARE("rrsig", 46, _typename, _length, _typep); \ break; \ @@ -1440,6 +1484,9 @@ case 26: \ RDATATYPE_COMPARE("dnskey", 48, _typename, _length, _typep); \ break; \ + case 4: \ + RDATATYPE_COMPARE("spf", 99, _typename, _length, _typep); \ + break; \ case 230: \ RDATATYPE_COMPARE("uinfo", 100, _typename, _length, _typep); \ break; \ @@ -1517,9 +1564,11 @@ case 42: return (RRTYPE_APL_ATTRIBUTES); \ case 43: return (RRTYPE_DS_ATTRIBUTES); \ case 44: return (RRTYPE_SSHFP_ATTRIBUTES); \ + case 45: return (RRTYPE_IPSECKEY_ATTRIBUTES); \ case 46: return (RRTYPE_RRSIG_ATTRIBUTES); \ case 47: return (RRTYPE_NSEC_ATTRIBUTES); \ case 48: return (RRTYPE_DNSKEY_ATTRIBUTES); \ + case 99: return (RRTYPE_SPF_ATTRIBUTES); \ case 100: return (DNS_RDATATYPEATTR_RESERVED); \ case 101: return (DNS_RDATATYPEATTR_RESERVED); \ case 102: return (DNS_RDATATYPEATTR_RESERVED); \ @@ -1579,9 +1628,11 @@ case 42: return (str_totext("APL", target)); \ case 43: return (str_totext("DS", target)); \ case 44: return (str_totext("SSHFP", target)); \ + case 45: return (str_totext("IPSECKEY", target)); \ case 46: return (str_totext("RRSIG", target)); \ case 47: return (str_totext("NSEC", target)); \ case 48: return (str_totext("DNSKEY", target)); \ + case 99: return (str_totext("SPF", target)); \ case 100: return (str_totext("UINFO", target)); \ case 101: return (str_totext("UID", target)); \ case 102: return (str_totext("GID", target)); \ diff --git a/lib/bind/dns/dns/enumclass.h b/lib/bind/dns/dns/enumclass.h index aa0d3ed..5b44c17 100644 --- a/lib/bind/dns/dns/enumclass.h +++ b/lib/bind/dns/dns/enumclass.h @@ -24,6 +24,8 @@ *************** ***************/ +/*! \file */ + #ifndef DNS_ENUMCLASS_H #define DNS_ENUMCLASS_H 1 @@ -33,10 +35,10 @@ enum { ((dns_rdataclass_t)dns_rdataclass_reserved0) dns_rdataclass_in = 1, #define dns_rdataclass_in ((dns_rdataclass_t)dns_rdataclass_in) - dns_rdataclass_ch = 3, -#define dns_rdataclass_ch ((dns_rdataclass_t)dns_rdataclass_ch) dns_rdataclass_chaos = 3, #define dns_rdataclass_chaos ((dns_rdataclass_t)dns_rdataclass_chaos) + dns_rdataclass_ch = 3, +#define dns_rdataclass_ch ((dns_rdataclass_t)dns_rdataclass_ch) dns_rdataclass_hs = 4, #define dns_rdataclass_hs ((dns_rdataclass_t)dns_rdataclass_hs) dns_rdataclass_none = 254, diff --git a/lib/bind/dns/dns/enumtype.h b/lib/bind/dns/dns/enumtype.h index 4f64ecf..ef6975d 100644 --- a/lib/bind/dns/dns/enumtype.h +++ b/lib/bind/dns/dns/enumtype.h @@ -24,6 +24,8 @@ *************** ***************/ +/*! \file */ + #ifndef DNS_ENUMTYPE_H #define DNS_ENUMTYPE_H 1 @@ -69,9 +71,11 @@ enum { dns_rdatatype_apl = 42, dns_rdatatype_ds = 43, dns_rdatatype_sshfp = 44, + dns_rdatatype_ipseckey = 45, dns_rdatatype_rrsig = 46, dns_rdatatype_nsec = 47, dns_rdatatype_dnskey = 48, + dns_rdatatype_spf = 99, dns_rdatatype_unspec = 103, dns_rdatatype_tkey = 249, dns_rdatatype_tsig = 250, @@ -124,9 +128,11 @@ enum { #define dns_rdatatype_apl ((dns_rdatatype_t)dns_rdatatype_apl) #define dns_rdatatype_ds ((dns_rdatatype_t)dns_rdatatype_ds) #define dns_rdatatype_sshfp ((dns_rdatatype_t)dns_rdatatype_sshfp) +#define dns_rdatatype_ipseckey ((dns_rdatatype_t)dns_rdatatype_ipseckey) #define dns_rdatatype_rrsig ((dns_rdatatype_t)dns_rdatatype_rrsig) #define dns_rdatatype_nsec ((dns_rdatatype_t)dns_rdatatype_nsec) #define dns_rdatatype_dnskey ((dns_rdatatype_t)dns_rdatatype_dnskey) +#define dns_rdatatype_spf ((dns_rdatatype_t)dns_rdatatype_spf) #define dns_rdatatype_unspec ((dns_rdatatype_t)dns_rdatatype_unspec) #define dns_rdatatype_tkey ((dns_rdatatype_t)dns_rdatatype_tkey) #define dns_rdatatype_tsig ((dns_rdatatype_t)dns_rdatatype_tsig) diff --git a/lib/bind/dns/dns/rdatastruct.h b/lib/bind/dns/dns/rdatastruct.h index cd35ab4..ce4bf95 100644 --- a/lib/bind/dns/dns/rdatastruct.h +++ b/lib/bind/dns/dns/rdatastruct.h @@ -24,6 +24,8 @@ *************** ***************/ +/*! \file */ + /* * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. @@ -41,7 +43,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rdatastructpre.h,v 1.13.206.1 2004/03/06 08:14:02 marka Exp $ */ +/* $Id: rdatastructpre.h,v 1.14 2004/03/05 05:10:04 marka Exp $ */ #ifndef DNS_RDATASTRUCT_H #define DNS_RDATASTRUCT_H 1 @@ -67,7 +69,7 @@ typedef struct dns_rdatacommon { ISC_LINK_INIT(&(_data)->common, link); \ } while (0) /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -83,10 +85,11 @@ typedef struct dns_rdatacommon { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef IN_1_A_1_H #define IN_1_A_1_H 1 -/* $Id: a_1.h,v 1.23.206.1 2004/03/06 08:14:16 marka Exp $ */ +/* $Id: a_1.h,v 1.24.18.2 2005/04/29 00:16:41 marka Exp $ */ typedef struct dns_rdata_in_a { dns_rdatacommon_t common; @@ -95,7 +98,41 @@ typedef struct dns_rdata_in_a { #endif /* IN_1_A_1_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC") + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + +/* $Id: a_1.h,v 1.2.2.2 2005/06/05 00:02:22 marka Exp $ */ + +/* by Bjorn.Victor@it.uu.se, 2005-05-07 */ +/* Based on generic/mx_15.h */ + +#ifndef CH_3_A_1_H +#define CH_3_A_1_H 1 + +typedef isc_uint16_t ch_addr_t; + +typedef struct dns_rdata_ch_a { + dns_rdatacommon_t common; + isc_mem_t *mctx; + dns_name_t ch_addr_dom; /* ch-addr domain for back mapping */ + ch_addr_t ch_addr; /* chaos address (16 bit) network order */ +} dns_rdata_ch_a_t; + +#endif /* CH_3_A_1_H */ +/* + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -111,10 +148,11 @@ typedef struct dns_rdata_in_a { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef HS_4_A_1_H #define HS_4_A_1_H 1 -/* $Id: a_1.h,v 1.7.206.1 2004/03/06 08:14:15 marka Exp $ */ +/* $Id: a_1.h,v 1.8.18.2 2005/04/29 00:16:41 marka Exp $ */ typedef struct dns_rdata_hs_a { dns_rdatacommon_t common; @@ -123,7 +161,7 @@ typedef struct dns_rdata_hs_a { #endif /* HS_4_A_1_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -139,10 +177,11 @@ typedef struct dns_rdata_hs_a { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_NS_2_H #define GENERIC_NS_2_H 1 -/* $Id: ns_2.h,v 1.22.206.1 2004/03/06 08:14:09 marka Exp $ */ +/* $Id: ns_2.h,v 1.23.18.2 2005/04/29 00:16:37 marka Exp $ */ typedef struct dns_rdata_ns { dns_rdatacommon_t common; @@ -153,7 +192,7 @@ typedef struct dns_rdata_ns { #endif /* GENERIC_NS_2_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -169,10 +208,11 @@ typedef struct dns_rdata_ns { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_MD_3_H #define GENERIC_MD_3_H 1 -/* $Id: md_3.h,v 1.23.206.1 2004/03/06 08:14:07 marka Exp $ */ +/* $Id: md_3.h,v 1.24.18.2 2005/04/29 00:16:35 marka Exp $ */ typedef struct dns_rdata_md { dns_rdatacommon_t common; @@ -183,7 +223,7 @@ typedef struct dns_rdata_md { #endif /* GENERIC_MD_3_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -199,10 +239,11 @@ typedef struct dns_rdata_md { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_MF_4_H #define GENERIC_MF_4_H 1 -/* $Id: mf_4.h,v 1.21.206.1 2004/03/06 08:14:07 marka Exp $ */ +/* $Id: mf_4.h,v 1.22.18.2 2005/04/29 00:16:35 marka Exp $ */ typedef struct dns_rdata_mf { dns_rdatacommon_t common; @@ -228,7 +269,7 @@ typedef struct dns_rdata_mf { * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: cname_5.h,v 1.23.206.1 2004/03/06 08:14:04 marka Exp $ */ +/* $Id: cname_5.h,v 1.24 2004/03/05 05:10:10 marka Exp $ */ #ifndef GENERIC_CNAME_5_H #define GENERIC_CNAME_5_H 1 @@ -241,7 +282,7 @@ typedef struct dns_rdata_cname { #endif /* GENERIC_CNAME_5_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -257,27 +298,28 @@ typedef struct dns_rdata_cname { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_SOA_6_H #define GENERIC_SOA_6_H 1 -/* $Id: soa_6.h,v 1.27.206.1 2004/03/06 08:14:12 marka Exp $ */ +/* $Id: soa_6.h,v 1.28.18.2 2005/04/29 00:16:40 marka Exp $ */ typedef struct dns_rdata_soa { dns_rdatacommon_t common; isc_mem_t *mctx; dns_name_t origin; dns_name_t contact; - isc_uint32_t serial; /* host order */ - isc_uint32_t refresh; /* host order */ - isc_uint32_t retry; /* host order */ - isc_uint32_t expire; /* host order */ - isc_uint32_t minimum; /* host order */ + isc_uint32_t serial; /*%< host order */ + isc_uint32_t refresh; /*%< host order */ + isc_uint32_t retry; /*%< host order */ + isc_uint32_t expire; /*%< host order */ + isc_uint32_t minimum; /*%< host order */ } dns_rdata_soa_t; #endif /* GENERIC_SOA_6_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -293,10 +335,11 @@ typedef struct dns_rdata_soa { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_MB_7_H #define GENERIC_MB_7_H 1 -/* $Id: mb_7.h,v 1.22.206.1 2004/03/06 08:14:06 marka Exp $ */ +/* $Id: mb_7.h,v 1.23.18.2 2005/04/29 00:16:34 marka Exp $ */ typedef struct dns_rdata_mb { dns_rdatacommon_t common; @@ -306,7 +349,7 @@ typedef struct dns_rdata_mb { #endif /* GENERIC_MB_7_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -322,10 +365,11 @@ typedef struct dns_rdata_mb { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_MG_8_H #define GENERIC_MG_8_H 1 -/* $Id: mg_8.h,v 1.21.206.1 2004/03/06 08:14:07 marka Exp $ */ +/* $Id: mg_8.h,v 1.22.18.2 2005/04/29 00:16:35 marka Exp $ */ typedef struct dns_rdata_mg { dns_rdatacommon_t common; @@ -335,7 +379,7 @@ typedef struct dns_rdata_mg { #endif /* GENERIC_MG_8_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -351,10 +395,11 @@ typedef struct dns_rdata_mg { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_MR_9_H #define GENERIC_MR_9_H 1 -/* $Id: mr_9.h,v 1.21.206.1 2004/03/06 08:14:08 marka Exp $ */ +/* $Id: mr_9.h,v 1.22.18.2 2005/04/29 00:16:36 marka Exp $ */ typedef struct dns_rdata_mr { dns_rdatacommon_t common; @@ -364,7 +409,7 @@ typedef struct dns_rdata_mr { #endif /* GENERIC_MR_9_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -380,10 +425,11 @@ typedef struct dns_rdata_mr { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_NULL_10_H #define GENERIC_NULL_10_H 1 -/* $Id: null_10.h,v 1.20.206.1 2004/03/06 08:14:09 marka Exp $ */ +/* $Id: null_10.h,v 1.21.18.2 2005/04/29 00:16:37 marka Exp $ */ typedef struct dns_rdata_null { dns_rdatacommon_t common; @@ -414,7 +460,7 @@ typedef struct dns_rdata_null { #ifndef IN_1_WKS_11_H #define IN_1_WKS_11_H 1 -/* $Id: wks_11.h,v 1.19.206.1 2004/03/06 08:14:19 marka Exp $ */ +/* $Id: wks_11.h,v 1.20 2004/03/05 05:10:25 marka Exp $ */ typedef struct dns_rdata_in_wks { dns_rdatacommon_t common; @@ -427,7 +473,7 @@ typedef struct dns_rdata_in_wks { #endif /* IN_1_WKS_11_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -443,10 +489,11 @@ typedef struct dns_rdata_in_wks { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_PTR_12_H #define GENERIC_PTR_12_H 1 -/* $Id: ptr_12.h,v 1.22.206.1 2004/03/06 08:14:11 marka Exp $ */ +/* $Id: ptr_12.h,v 1.23.18.2 2005/04/29 00:16:39 marka Exp $ */ typedef struct dns_rdata_ptr { dns_rdatacommon_t common; @@ -475,7 +522,7 @@ typedef struct dns_rdata_ptr { #ifndef GENERIC_HINFO_13_H #define GENERIC_HINFO_13_H 1 -/* $Id: hinfo_13.h,v 1.22.206.1 2004/03/06 08:14:05 marka Exp $ */ +/* $Id: hinfo_13.h,v 1.23 2004/03/05 05:10:12 marka Exp $ */ typedef struct dns_rdata_hinfo { dns_rdatacommon_t common; @@ -488,7 +535,7 @@ typedef struct dns_rdata_hinfo { #endif /* GENERIC_HINFO_13_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -504,10 +551,11 @@ typedef struct dns_rdata_hinfo { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_MINFO_14_H #define GENERIC_MINFO_14_H 1 -/* $Id: minfo_14.h,v 1.22.206.1 2004/03/06 08:14:08 marka Exp $ */ +/* $Id: minfo_14.h,v 1.23.18.2 2005/04/29 00:16:35 marka Exp $ */ typedef struct dns_rdata_minfo { dns_rdatacommon_t common; @@ -518,7 +566,7 @@ typedef struct dns_rdata_minfo { #endif /* GENERIC_MINFO_14_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -534,10 +582,11 @@ typedef struct dns_rdata_minfo { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_MX_15_H #define GENERIC_MX_15_H 1 -/* $Id: mx_15.h,v 1.24.206.1 2004/03/06 08:14:09 marka Exp $ */ +/* $Id: mx_15.h,v 1.25.18.2 2005/04/29 00:16:36 marka Exp $ */ typedef struct dns_rdata_mx { dns_rdatacommon_t common; @@ -548,7 +597,7 @@ typedef struct dns_rdata_mx { #endif /* GENERIC_MX_15_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -564,10 +613,11 @@ typedef struct dns_rdata_mx { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_TXT_16_H #define GENERIC_TXT_16_H 1 -/* $Id: txt_16.h,v 1.23.206.1 2004/03/06 08:14:14 marka Exp $ */ +/* $Id: txt_16.h,v 1.24.18.2 2005/04/29 00:16:40 marka Exp $ */ typedef struct dns_rdata_txt_string { isc_uint8_t length; @@ -599,7 +649,7 @@ dns_rdata_txt_current(dns_rdata_txt_t *, dns_rdata_txt_string_t *); #endif /* GENERIC_TXT_16_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -618,9 +668,10 @@ dns_rdata_txt_current(dns_rdata_txt_t *, dns_rdata_txt_string_t *); #ifndef GENERIC_RP_17_H #define GENERIC_RP_17_H 1 -/* $Id: rp_17.h,v 1.16.206.1 2004/03/06 08:14:11 marka Exp $ */ +/* $Id: rp_17.h,v 1.17.18.2 2005/04/29 00:16:39 marka Exp $ */ -/* RFC 1183 */ +/*! + * \brief Per RFC1183 */ typedef struct dns_rdata_rp { dns_rdatacommon_t common; @@ -632,7 +683,7 @@ typedef struct dns_rdata_rp { #endif /* GENERIC_RP_17_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -651,9 +702,10 @@ typedef struct dns_rdata_rp { #ifndef GENERIC_AFSDB_18_H #define GENERIC_AFSDB_18_H 1 -/* $Id: afsdb_18.h,v 1.15.206.1 2004/03/06 08:14:03 marka Exp $ */ +/* $Id: afsdb_18.h,v 1.16.18.2 2005/04/29 00:16:30 marka Exp $ */ -/* RFC 1183 */ +/*! + * \brief Per RFC1183 */ typedef struct dns_rdata_afsdb { dns_rdatacommon_t common; @@ -665,7 +717,7 @@ typedef struct dns_rdata_afsdb { #endif /* GENERIC_AFSDB_18_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -684,9 +736,10 @@ typedef struct dns_rdata_afsdb { #ifndef GENERIC_X25_19_H #define GENERIC_X25_19_H 1 -/* $Id: x25_19.h,v 1.13.206.1 2004/03/06 08:14:14 marka Exp $ */ +/* $Id: x25_19.h,v 1.14.18.2 2005/04/29 00:16:40 marka Exp $ */ -/* RFC 1183 */ +/*! + * \brief Per RFC1183 */ typedef struct dns_rdata_x25 { dns_rdatacommon_t common; @@ -697,7 +750,7 @@ typedef struct dns_rdata_x25 { #endif /* GENERIC_X25_19_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -716,9 +769,10 @@ typedef struct dns_rdata_x25 { #ifndef GENERIC_ISDN_20_H #define GENERIC_ISDN_20_H 1 -/* $Id: isdn_20.h,v 1.13.206.1 2004/03/06 08:14:05 marka Exp $ */ +/* $Id: isdn_20.h,v 1.14.18.2 2005/04/29 00:16:33 marka Exp $ */ -/* RFC 1183 */ +/*! + * \brief Per RFC1183 */ typedef struct dns_rdata_isdn { dns_rdatacommon_t common; @@ -731,7 +785,7 @@ typedef struct dns_rdata_isdn { #endif /* GENERIC_ISDN_20_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -750,9 +804,10 @@ typedef struct dns_rdata_isdn { #ifndef GENERIC_RT_21_H #define GENERIC_RT_21_H 1 -/* $Id: rt_21.h,v 1.16.206.1 2004/03/06 08:14:12 marka Exp $ */ +/* $Id: rt_21.h,v 1.17.18.2 2005/04/29 00:16:40 marka Exp $ */ -/* RFC 1183 */ +/*! + * \brief Per RFC1183 */ typedef struct dns_rdata_rt { dns_rdatacommon_t common; @@ -763,7 +818,7 @@ typedef struct dns_rdata_rt { #endif /* GENERIC_RT_21_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -782,9 +837,10 @@ typedef struct dns_rdata_rt { #ifndef IN_1_NSAP_22_H #define IN_1_NSAP_22_H 1 -/* $Id: nsap_22.h,v 1.13.206.1 2004/03/06 08:14:18 marka Exp $ */ +/* $Id: nsap_22.h,v 1.14.18.2 2005/04/29 00:16:43 marka Exp $ */ -/* RFC 1706 */ +/*! + * \brief Per RFC1706 */ typedef struct dns_rdata_in_nsap { dns_rdatacommon_t common; @@ -795,7 +851,7 @@ typedef struct dns_rdata_in_nsap { #endif /* IN_1_NSAP_22_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -814,9 +870,10 @@ typedef struct dns_rdata_in_nsap { #ifndef IN_1_NSAP_PTR_23_H #define IN_1_NSAP_PTR_23_H 1 -/* $Id: nsap-ptr_23.h,v 1.14.206.1 2004/03/06 08:14:18 marka Exp $ */ +/* $Id: nsap-ptr_23.h,v 1.15.18.2 2005/04/29 00:16:43 marka Exp $ */ -/* RFC 1348. Obsoleted in RFC 1706 - use PTR instead. */ +/*! + * \brief Per RFC1348. Obsoleted in RFC 1706 - use PTR instead. */ typedef struct dns_rdata_in_nsap_ptr { dns_rdatacommon_t common; @@ -826,7 +883,7 @@ typedef struct dns_rdata_in_nsap_ptr { #endif /* IN_1_NSAP_PTR_23_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -845,9 +902,10 @@ typedef struct dns_rdata_in_nsap_ptr { #ifndef GENERIC_SIG_24_H #define GENERIC_SIG_24_H 1 -/* $Id: sig_24.h,v 1.21.206.1 2004/03/06 08:14:12 marka Exp $ */ +/* $Id: sig_24.h,v 1.22.18.2 2005/04/29 00:16:40 marka Exp $ */ -/* RFC 2535 */ +/*! + * \brief Per RFC2535 */ typedef struct dns_rdata_sig_t { dns_rdatacommon_t common; @@ -867,7 +925,7 @@ typedef struct dns_rdata_sig_t { #endif /* GENERIC_SIG_24_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -886,9 +944,10 @@ typedef struct dns_rdata_sig_t { #ifndef GENERIC_KEY_25_H #define GENERIC_KEY_25_H 1 -/* $Id: key_25.h,v 1.14.206.1 2004/03/06 08:14:06 marka Exp $ */ +/* $Id: key_25.h,v 1.15.18.2 2005/04/29 00:16:33 marka Exp $ */ -/* RFC 2535 */ +/*! + * \brief Per RFC2535 */ typedef struct dns_rdata_key_t { dns_rdatacommon_t common; @@ -903,7 +962,7 @@ typedef struct dns_rdata_key_t { #endif /* GENERIC_KEY_25_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -922,9 +981,10 @@ typedef struct dns_rdata_key_t { #ifndef IN_1_PX_26_H #define IN_1_PX_26_H 1 -/* $Id: px_26.h,v 1.14.206.1 2004/03/06 08:14:18 marka Exp $ */ +/* $Id: px_26.h,v 1.15.18.2 2005/04/29 00:16:43 marka Exp $ */ -/* RFC 2163 */ +/*! + * \brief Per RFC2163 */ typedef struct dns_rdata_in_px { dns_rdatacommon_t common; @@ -936,7 +996,7 @@ typedef struct dns_rdata_in_px { #endif /* IN_1_PX_26_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -955,9 +1015,10 @@ typedef struct dns_rdata_in_px { #ifndef GENERIC_GPOS_27_H #define GENERIC_GPOS_27_H 1 -/* $Id: gpos_27.h,v 1.12.206.1 2004/03/06 08:14:04 marka Exp $ */ +/* $Id: gpos_27.h,v 1.13.18.2 2005/04/29 00:16:32 marka Exp $ */ -/* RFC 1712 */ +/*! + * \brief per RFC1712 */ typedef struct dns_rdata_gpos { dns_rdatacommon_t common; @@ -972,7 +1033,7 @@ typedef struct dns_rdata_gpos { #endif /* GENERIC_GPOS_27_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -991,9 +1052,10 @@ typedef struct dns_rdata_gpos { #ifndef IN_1_AAAA_28_H #define IN_1_AAAA_28_H 1 -/* $Id: aaaa_28.h,v 1.16.206.1 2004/03/06 08:14:16 marka Exp $ */ +/* $Id: aaaa_28.h,v 1.17.18.2 2005/04/29 00:16:42 marka Exp $ */ -/* RFC 1886 */ +/*! + * \brief Per RFC1886 */ typedef struct dns_rdata_in_aaaa { dns_rdatacommon_t common; @@ -1002,7 +1064,7 @@ typedef struct dns_rdata_in_aaaa { #endif /* IN_1_AAAA_28_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1021,9 +1083,10 @@ typedef struct dns_rdata_in_aaaa { #ifndef GENERIC_LOC_29_H #define GENERIC_LOC_29_H 1 -/* $Id: loc_29.h,v 1.14.206.1 2004/03/06 08:14:06 marka Exp $ */ +/* $Id: loc_29.h,v 1.15.18.2 2005/04/29 00:16:34 marka Exp $ */ -/* RFC 1876 */ +/*! + * \brief Per RFC1876 */ typedef struct dns_rdata_loc_0 { isc_uint8_t version; /* must be first and zero */ @@ -1044,7 +1107,7 @@ typedef struct dns_rdata_loc { #endif /* GENERIC_LOC_29_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2002 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1063,9 +1126,10 @@ typedef struct dns_rdata_loc { #ifndef GENERIC_NXT_30_H #define GENERIC_NXT_30_H 1 -/* $Id: nxt_30.h,v 1.18.12.3 2004/03/08 09:04:41 marka Exp $ */ +/* $Id: nxt_30.h,v 1.21.18.2 2005/04/29 00:16:38 marka Exp $ */ -/* RFC 2535 */ +/*! + * \brief RFC2535 */ typedef struct dns_rdata_nxt { dns_rdatacommon_t common; @@ -1077,7 +1141,7 @@ typedef struct dns_rdata_nxt { #endif /* GENERIC_NXT_30_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1096,11 +1160,12 @@ typedef struct dns_rdata_nxt { #ifndef IN_1_SRV_33_H #define IN_1_SRV_33_H 1 -/* $Id: srv_33.h,v 1.14.206.1 2004/03/06 08:14:19 marka Exp $ */ +/* $Id: srv_33.h,v 1.15.18.2 2005/04/29 00:16:43 marka Exp $ */ /* Reviewed: Fri Mar 17 13:01:00 PST 2000 by bwelling */ -/* RFC 2782 */ +/*! + * \brief Per RFC2782 */ typedef struct dns_rdata_in_srv { dns_rdatacommon_t common; @@ -1113,7 +1178,7 @@ typedef struct dns_rdata_in_srv { #endif /* IN_1_SRV_33_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1132,9 +1197,10 @@ typedef struct dns_rdata_in_srv { #ifndef IN_1_NAPTR_35_H #define IN_1_NAPTR_35_H 1 -/* $Id: naptr_35.h,v 1.18.206.1 2004/03/06 08:14:17 marka Exp $ */ +/* $Id: naptr_35.h,v 1.19.18.2 2005/04/29 00:16:42 marka Exp $ */ -/* RFC 2915 */ +/*! + * \brief Per RFC2915 */ typedef struct dns_rdata_in_naptr { dns_rdatacommon_t common; @@ -1152,7 +1218,7 @@ typedef struct dns_rdata_in_naptr { #endif /* IN_1_NAPTR_35_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1171,9 +1237,10 @@ typedef struct dns_rdata_in_naptr { #ifndef IN_1_KX_36_H #define IN_1_KX_36_H 1 -/* $Id: kx_36.h,v 1.15.206.1 2004/03/06 08:14:17 marka Exp $ */ +/* $Id: kx_36.h,v 1.16.18.2 2005/04/29 00:16:42 marka Exp $ */ -/* RFC 2230 */ +/*! + * \brief Per RFC2230 */ typedef struct dns_rdata_in_kx { dns_rdatacommon_t common; @@ -1184,7 +1251,7 @@ typedef struct dns_rdata_in_kx { #endif /* IN_1_KX_36_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1200,12 +1267,12 @@ typedef struct dns_rdata_in_kx { * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: cert_37.h,v 1.15.206.1 2004/03/06 08:14:03 marka Exp $ */ +/* $Id: cert_37.h,v 1.16.18.2 2005/04/29 00:16:31 marka Exp $ */ -/* RFC 2538 */ #ifndef GENERIC_CERT_37_H #define GENERIC_CERT_37_H 1 +/*% RFC2538 */ typedef struct dns_rdata_cert { dns_rdatacommon_t common; isc_mem_t *mctx; @@ -1218,7 +1285,7 @@ typedef struct dns_rdata_cert { #endif /* GENERIC_CERT_37_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1237,9 +1304,10 @@ typedef struct dns_rdata_cert { #ifndef IN_1_A6_38_H #define IN_1_A6_38_H 1 -/* $Id: a6_38.h,v 1.19.206.1 2004/03/06 08:14:15 marka Exp $ */ +/* $Id: a6_38.h,v 1.20.18.2 2005/04/29 00:16:41 marka Exp $ */ -/* RFC2874 */ +/*! + * \brief Per RFC2874 */ typedef struct dns_rdata_in_a6 { dns_rdatacommon_t common; @@ -1251,7 +1319,7 @@ typedef struct dns_rdata_in_a6 { #endif /* IN_1_A6_38_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1270,9 +1338,10 @@ typedef struct dns_rdata_in_a6 { #ifndef GENERIC_DNAME_39_H #define GENERIC_DNAME_39_H 1 -/* $Id: dname_39.h,v 1.16.206.1 2004/03/06 08:14:04 marka Exp $ */ +/* $Id: dname_39.h,v 1.17.18.2 2005/04/29 00:16:31 marka Exp $ */ -/* RFC2672 */ +/*! + * \brief per RFC2672 */ typedef struct dns_rdata_dname { dns_rdatacommon_t common; @@ -1282,7 +1351,7 @@ typedef struct dns_rdata_dname { #endif /* GENERIC_DNAME_39_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1301,9 +1370,10 @@ typedef struct dns_rdata_dname { #ifndef GENERIC_OPT_41_H #define GENERIC_OPT_41_H 1 -/* $Id: opt_41.h,v 1.13.206.1 2004/03/06 08:14:10 marka Exp $ */ +/* $Id: opt_41.h,v 1.14.18.2 2005/04/29 00:16:38 marka Exp $ */ -/* RFC 2671 */ +/*! + * \brief Per RFC2671 */ typedef struct dns_rdata_opt_opcode { isc_uint16_t opcode; @@ -1336,7 +1406,7 @@ dns_rdata_opt_current(dns_rdata_opt_t *, dns_rdata_opt_opcode_t *); #endif /* GENERIC_OPT_41_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2002 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1352,10 +1422,11 @@ dns_rdata_opt_current(dns_rdata_opt_t *, dns_rdata_opt_opcode_t *); * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef IN_1_APL_42_H #define IN_1_APL_42_H 1 -/* $Id: apl_42.h,v 1.1.202.3 2004/03/08 09:04:44 marka Exp $ */ +/* $Id: apl_42.h,v 1.2.18.2 2005/04/29 00:16:42 marka Exp $ */ typedef struct dns_rdata_apl_ent { isc_boolean_t negative; @@ -1391,7 +1462,7 @@ dns_rdata_apl_current(dns_rdata_in_apl_t *, dns_rdata_apl_ent_t *); #endif /* IN_1_APL_42_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2002 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1407,12 +1478,13 @@ dns_rdata_apl_current(dns_rdata_in_apl_t *, dns_rdata_apl_ent_t *); * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: ds_43.h,v 1.3.2.1 2004/03/08 02:08:03 marka Exp $ */ +/* $Id: ds_43.h,v 1.3.20.2 2005/04/29 00:16:32 marka Exp $ */ -/* draft-ietf-dnsext-delegation-signer-05.txt */ #ifndef GENERIC_DS_43_H #define GENERIC_DS_43_H 1 +/*! + * \brief per draft-ietf-dnsext-delegation-signer-05.txt */ typedef struct dns_rdata_ds { dns_rdatacommon_t common; isc_mem_t *mctx; @@ -1425,7 +1497,7 @@ typedef struct dns_rdata_ds { #endif /* GENERIC_DS_43_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2003 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1441,9 +1513,10 @@ typedef struct dns_rdata_ds { * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: sshfp_44.h,v 1.1.8.2 2004/03/06 08:14:13 marka Exp $ */ +/* $Id: sshfp_44.h,v 1.2.18.3 2006/03/10 04:04:32 marka Exp $ */ -/* draft-ietf-secsh-dns-05.txt */ +/*! + * \brief Per RFC 4255 */ #ifndef GENERIC_SSHFP_44_H #define GENERIC_SSHFP_44_H 1 @@ -1459,7 +1532,42 @@ typedef struct dns_rdata_sshfp { #endif /* GENERIC_SSHFP_44_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC") + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + +/* $Id: ipseckey_45.h,v 1.2.2.1 2005/07/07 03:17:36 marka Exp $ */ + +#ifndef GENERIC_IPSECKEY_45_H +#define GENERIC_IPSECKEY_45_H 1 + +typedef struct dns_rdata_ipseckey { + dns_rdatacommon_t common; + isc_mem_t *mctx; + isc_uint8_t precedence; + isc_uint8_t gateway_type; + isc_uint8_t algorithm; + struct in_addr in_addr; /* gateway type 1 */ + struct in6_addr in6_addr; /* gateway type 2 */ + dns_name_t gateway; /* gateway type 3 */ + unsigned char *key; + isc_uint16_t keylength; +} dns_rdata_ipseckey_t; + +#endif /* GENERIC_IPSECKEY_45_H */ +/* + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2003 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1478,9 +1586,10 @@ typedef struct dns_rdata_sshfp { #ifndef GENERIC_DNSSIG_46_H #define GENERIC_DNSSIG_46_H 1 -/* $Id: rrsig_46.h,v 1.3.2.1 2004/03/08 02:08:04 marka Exp $ */ +/* $Id: rrsig_46.h,v 1.3.20.2 2005/04/29 00:16:39 marka Exp $ */ -/* RFC 2535 */ +/*! + * \brief Per RFC2535 */ typedef struct dns_rdata_rrsig { dns_rdatacommon_t common; isc_mem_t * mctx; @@ -1499,7 +1608,7 @@ typedef struct dns_rdata_rrsig { #endif /* GENERIC_DNSSIG_46_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2003 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1518,9 +1627,10 @@ typedef struct dns_rdata_rrsig { #ifndef GENERIC_NSEC_47_H #define GENERIC_NSEC_47_H 1 -/* $Id: nsec_47.h,v 1.4.2.1 2004/03/08 02:08:03 marka Exp $ */ +/* $Id: nsec_47.h,v 1.4.20.2 2005/04/29 00:16:37 marka Exp $ */ -/* draft-ietf-dnsext-nsec-rdata-01.txt */ +/*! + * \brief Per draft-ietf-dnsext-nsec-rdata-01.txt */ typedef struct dns_rdata_nsec { dns_rdatacommon_t common; @@ -1532,7 +1642,7 @@ typedef struct dns_rdata_nsec { #endif /* GENERIC_NSEC_47_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2003 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1551,9 +1661,10 @@ typedef struct dns_rdata_nsec { #ifndef GENERIC_DNSKEY_48_H #define GENERIC_DNSKEY_48_H 1 -/* $Id: dnskey_48.h,v 1.3.2.1 2004/03/08 02:08:02 marka Exp $ */ +/* $Id: dnskey_48.h,v 1.3.20.2 2005/04/29 00:16:32 marka Exp $ */ -/* RFC 2535 */ +/*! + * \brief per RFC2535 */ typedef struct dns_rdata_dnskey { dns_rdatacommon_t common; @@ -1568,7 +1679,58 @@ typedef struct dns_rdata_dnskey { #endif /* GENERIC_DNSKEY_48_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 1998-2001 Internet Software Consortium. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef GENERIC_SPF_99_H +#define GENERIC_SPF_99_H 1 + +/* $Id: spf_99.h,v 1.1.2.2 2005/07/16 00:40:54 marka Exp $ */ + +typedef struct dns_rdata_spf_string { + isc_uint8_t length; + unsigned char *data; +} dns_rdata_spf_string_t; + +typedef struct dns_rdata_spf { + dns_rdatacommon_t common; + isc_mem_t *mctx; + unsigned char *txt; + isc_uint16_t txt_len; + /* private */ + isc_uint16_t offset; +} dns_rdata_spf_t; + +/* + * ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done + * via rdatastructpre.h and rdatastructsuf.h. + */ + +isc_result_t +dns_rdata_spf_first(dns_rdata_spf_t *); + +isc_result_t +dns_rdata_spf_next(dns_rdata_spf_t *); + +isc_result_t +dns_rdata_spf_current(dns_rdata_spf_t *, dns_rdata_spf_string_t *); + +#endif /* GENERIC_SPF_99_H */ +/* + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1584,10 +1746,11 @@ typedef struct dns_rdata_dnskey { * PERFORMANCE OF THIS SOFTWARE. */ +/* */ #ifndef GENERIC_UNSPEC_103_H #define GENERIC_UNSPEC_103_H 1 -/* $Id: unspec_103.h,v 1.12.206.1 2004/03/06 08:14:14 marka Exp $ */ +/* $Id: unspec_103.h,v 1.13.18.2 2005/04/29 00:16:40 marka Exp $ */ typedef struct dns_rdata_unspec_t { dns_rdatacommon_t common; @@ -1598,7 +1761,7 @@ typedef struct dns_rdata_unspec_t { #endif /* GENERIC_UNSPEC_103_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001, 2003 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1617,9 +1780,10 @@ typedef struct dns_rdata_unspec_t { #ifndef GENERIC_TKEY_249_H #define GENERIC_TKEY_249_H 1 -/* $Id: tkey_249.h,v 1.18.206.2 2004/03/06 08:14:13 marka Exp $ */ +/* $Id: tkey_249.h,v 1.20.18.2 2005/04/29 00:16:40 marka Exp $ */ -/* draft-ietf-dnsind-tkey-00.txt */ +/*! + * \brief Per draft-ietf-dnsind-tkey-00.txt */ typedef struct dns_rdata_tkey { dns_rdatacommon_t common; @@ -1638,7 +1802,7 @@ typedef struct dns_rdata_tkey { #endif /* GENERIC_TKEY_249_H */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -1654,13 +1818,12 @@ typedef struct dns_rdata_tkey { * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: tsig_250.h,v 1.20.206.1 2004/03/06 08:14:02 marka Exp $ */ - -/* RFC 2845 */ +/* $Id: tsig_250.h,v 1.21.18.2 2005/04/29 00:16:29 marka Exp $ */ #ifndef ANY_255_TSIG_250_H #define ANY_255_TSIG_250_H 1 +/*% RFC2845 */ typedef struct dns_rdata_any_tsig { dns_rdatacommon_t common; isc_mem_t * mctx; @@ -1692,7 +1855,7 @@ typedef struct dns_rdata_any_tsig { * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dlv_32769.h,v 1.2.4.2 2006/02/19 06:50:46 marka Exp $ */ +/* $Id: dlv_32769.h,v 1.2.2.2 2006/02/19 06:50:47 marka Exp $ */ /* draft-ietf-dnsext-delegation-signer-05.txt */ #ifndef GENERIC_DLV_32769_H @@ -1726,7 +1889,7 @@ typedef struct dns_rdata_dlv { * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rdatastructsuf.h,v 1.7.206.1 2004/03/06 08:14:02 marka Exp $ */ +/* $Id: rdatastructsuf.h,v 1.8 2004/03/05 05:10:04 marka Exp $ */ ISC_LANG_ENDDECLS diff --git a/lib/bind/isc/isc/platform.h b/lib/bind/isc/isc/platform.h index ae1cdc2..0548b97 100644 --- a/lib/bind/isc/isc/platform.h +++ b/lib/bind/isc/isc/platform.h @@ -1,7 +1,7 @@ /* $FreeBSD$ */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -17,11 +17,13 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: platform.h.in,v 1.24.2.1.10.11 2004/03/08 09:04:52 marka Exp $ */ +/* $Id: platform.h.in,v 1.34.18.7 2007/02/13 00:04:50 marka Exp $ */ #ifndef ISC_PLATFORM_H #define ISC_PLATFORM_H 1 +/*! \file */ + /***** ***** Platform-dependent defines. *****/ @@ -30,195 +32,239 @@ *** Network. ***/ -/* +/*! \brief * Define if this system needs the <netinet/in6.h> header file included * for full IPv6 support (pretty much only UnixWare). */ #undef ISC_PLATFORM_NEEDNETINETIN6H -/* +/*! \brief * Define if this system needs the <netinet6/in6.h> header file included * to support in6_pkinfo (pretty much only BSD/OS). */ #undef ISC_PLATFORM_NEEDNETINET6IN6H -/* +/*! \brief * If sockaddrs on this system have an sa_len field, ISC_PLATFORM_HAVESALEN * will be defined. */ #define ISC_PLATFORM_HAVESALEN 1 -/* +/*! \brief * If this system has the IPv6 structure definitions, ISC_PLATFORM_HAVEIPV6 * will be defined. */ #define ISC_PLATFORM_HAVEIPV6 1 -/* +/*! \brief * If this system is missing in6addr_any, ISC_PLATFORM_NEEDIN6ADDRANY will * be defined. */ #undef ISC_PLATFORM_NEEDIN6ADDRANY -/* +/*! \brief * If this system is missing in6addr_loopback, ISC_PLATFORM_NEEDIN6ADDRLOOPBACK * will be defined. */ #undef ISC_PLATFORM_NEEDIN6ADDRLOOPBACK -/* +/*! \brief * If this system has in6_pktinfo, ISC_PLATFORM_HAVEIN6PKTINFO will be * defined. */ #define ISC_PLATFORM_HAVEIN6PKTINFO 1 -/* +/*! \brief * If this system has in_addr6, rather than in6_addr, ISC_PLATFORM_HAVEINADDR6 * will be defined. */ #undef ISC_PLATFORM_HAVEINADDR6 -/* +/*! \brief * If this system has sin6_scope_id, ISC_PLATFORM_HAVESCOPEID will be defined. */ #define ISC_PLATFORM_HAVESCOPEID 1 -/* +/*! \brief * If this system needs inet_ntop(), ISC_PLATFORM_NEEDNTOP will be defined. */ #undef ISC_PLATFORM_NEEDNTOP -/* +/*! \brief * If this system needs inet_pton(), ISC_PLATFORM_NEEDPTON will be defined. */ #undef ISC_PLATFORM_NEEDPTON -/* +/*! \brief * If this system needs inet_aton(), ISC_PLATFORM_NEEDATON will be defined. */ #undef ISC_PLATFORM_NEEDATON -/* +/*! \brief * If this system needs in_port_t, ISC_PLATFORM_NEEDPORTT will be defined. */ #undef ISC_PLATFORM_NEEDPORTT -/* +/*! \brief * If the system needs strsep(), ISC_PLATFORM_NEEDSTRSEP will be defined. */ #undef ISC_PLATFORM_NEEDSTRSEP -/* +/*! \brief * If the system needs strlcpy(), ISC_PLATFORM_NEEDSTRLCPY will be defined. */ #undef ISC_PLATFORM_NEEDSTRLCPY -/* +/*! \brief * If the system needs strlcat(), ISC_PLATFORM_NEEDSTRLCAT will be defined. */ #undef ISC_PLATFORM_NEEDSTRLCAT -/* +/*! \brief * Define either ISC_PLATFORM_BSD44MSGHDR or ISC_PLATFORM_BSD43MSGHDR. */ #define ISC_NET_BSD44MSGHDR 1 -/* +/*! \brief * Define if PTHREAD_ONCE_INIT should be surrounded by braces to * prevent compiler warnings (such as with gcc on Solaris 2.8). */ #undef ISC_PLATFORM_BRACEPTHREADONCEINIT -/* +/*! \brief * Define on some UnixWare systems to fix erroneous definitions of various * IN6_IS_ADDR_* macros. */ #undef ISC_PLATFORM_FIXIN6ISADDR -/*** +/* *** Printing. ***/ -/* +/*! \brief * If this system needs vsnprintf() and snprintf(), ISC_PLATFORM_NEEDVSNPRINTF * will be defined. */ #undef ISC_PLATFORM_NEEDVSNPRINTF -/* +/*! \brief * If this system need a modern sprintf() that returns (int) not (char*). */ #undef ISC_PLATFORM_NEEDSPRINTF -/* +/*! \brief * The printf format string modifier to use with isc_uint64_t values. */ #define ISC_PLATFORM_QUADFORMAT "ll" -/* +/*! \brief * Defined if we are using threads. */ -#undef ISC_PLATFORM_USETHREADS +#define ISC_PLATFORM_USETHREADS 1 -/* +/*! \brief * Defined if unistd.h does not cause fd_set to be delared. */ #undef ISC_PLATFORM_NEEDSYSSELECTH -/* +/*! \brief * Type used for resource limits. */ #define ISC_PLATFORM_RLIMITTYPE rlim_t -/* +/*! \brief * Define if your compiler supports "long long int". */ #define ISC_PLATFORM_HAVELONGLONG 1 -/* +/*! \brief * Define if the system has struct lifconf which is a extended struct ifconf * for IPv6. */ #undef ISC_PLATFORM_HAVELIFCONF -/* +/*! \brief * Define if the system has struct if_laddrconf which is a extended struct * ifconf for IPv6. */ #undef ISC_PLATFORM_HAVEIF_LADDRCONF -/* +/*! \brief * Define if the system has struct if_laddrreq. */ #undef ISC_PLATFORM_HAVEIF_LADDRREQ -/* +/*! \brief * Used to control how extern data is linked; needed for Win32 platforms. */ #undef ISC_PLATFORM_USEDECLSPEC -/* +/*! \brief * Define if the system supports if_nametoindex. */ #define ISC_PLATFORM_HAVEIFNAMETOINDEX 1 -/* +/*! \brief * Define if this system needs strtoul. */ #undef ISC_PLATFORM_NEEDSTRTOUL -/* +/*! \brief * Define if this system needs memmove. */ #undef ISC_PLATFORM_NEEDMEMMOVE +/* + * Define if the platform has <sys/un.h>. + */ +#define ISC_PLATFORM_HAVESYSUNH 1 + +/* + * If the "xadd" operation is available on this architecture, + * ISC_PLATFORM_HAVEXADD will be defined. + */ +#define ISC_PLATFORM_HAVEXADD 1 + +/* + * If the "atomic swap" operation is available on this architecture, + * ISC_PLATFORM_HAVEATOMICSTORE" will be defined. + */ +#define ISC_PLATFORM_HAVEATOMICSTORE 1 + +/* + * If the "compare-and-exchange" operation is available on this architecture, + * ISC_PLATFORM_HAVECMPXCHG will be defined. + */ +#define ISC_PLATFORM_HAVECMPXCHG 1 + +/* + * Define if gcc ASM extension is available + */ +#define ISC_PLATFORM_USEGCCASM 1 + +/* + * Define if Tru64 style ASM syntax must be used. + */ +#undef ISC_PLATFORM_USEOSFASM + +/* + * Define if the standard __asm function must be used. + */ + + +/* + * Define if MacOS style of PPC assembly must be used. + * e.g. "r6", not "6", for register six. + */ + + #ifndef ISC_PLATFORM_USEDECLSPEC #define LIBISC_EXTERNAL_DATA #define LIBDNS_EXTERNAL_DATA #define LIBISCCC_EXTERNAL_DATA #define LIBISCCFG_EXTERNAL_DATA #define LIBBIND9_EXTERNAL_DATA -#else /* ISC_PLATFORM_USEDECLSPEC */ +#else /*! \brief ISC_PLATFORM_USEDECLSPEC */ #ifdef LIBISC_EXPORTS #define LIBISC_EXTERNAL_DATA __declspec(dllexport) #else @@ -244,7 +290,7 @@ #else #define LIBBIND9_EXTERNAL_DATA __declspec(dllimport) #endif -#endif /* ISC_PLATFORM_USEDECLSPEC */ +#endif /*! \brief ISC_PLATFORM_USEDECLSPEC */ /* * Tell emacs to use C mode for this file. diff --git a/lib/bind/lwres/lwres/netdb.h b/lib/bind/lwres/lwres/netdb.h index 0746e14..7daa388 100644 --- a/lib/bind/lwres/lwres/netdb.h +++ b/lib/bind/lwres/lwres/netdb.h @@ -1,7 +1,7 @@ /* $FreeBSD$ */ /* - * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any @@ -17,7 +17,9 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: netdb.h.in,v 1.34.206.1 2004/03/06 08:15:35 marka Exp $ */ +/* $Id: netdb.h.in,v 1.35.18.2 2005/04/29 00:17:22 marka Exp $ */ + +/*! \file */ #ifndef LWRES_NETDB_H #define LWRES_NETDB_H 1 diff --git a/lib/bind/lwres/lwres/platform.h b/lib/bind/lwres/lwres/platform.h index 556d0d5..87ebb22 100644 --- a/lib/bind/lwres/lwres/platform.h +++ b/lib/bind/lwres/lwres/platform.h @@ -17,7 +17,9 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: platform.h.in,v 1.12.2.1.10.5 2005/06/08 02:08:32 marka Exp $ */ +/* $Id: platform.h.in,v 1.14.18.5 2005/06/08 02:07:59 marka Exp $ */ + +/*! \file */ #ifndef LWRES_PLATFORM_H #define LWRES_PLATFORM_H 1 @@ -110,4 +112,11 @@ #endif #endif +/* + * Tell Emacs to use C mode on this file. + * Local Variables: + * mode: c + * End: + */ + #endif /* LWRES_PLATFORM_H */ |