Update generated files for BIND 9.4.1

This commit is contained in:
Doug Barton 2007-06-02 23:24:14 +00:00
parent 270517749e
commit 47f2e4235c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170224
9 changed files with 512 additions and 220 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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)); \

View File

@ -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,

View File

@ -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)

File diff suppressed because it is too large Load Diff

View File

@ -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.

View File

@ -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

View File

@ -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 */