mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 19:19:59 -04:00
spelling
This commit is contained in:
parent
55c63a0a2a
commit
d7900926bf
109 changed files with 383 additions and 382 deletions
3
FAQ.xml
3
FAQ.xml
|
|
@ -17,7 +17,7 @@
|
|||
- PERFORMANCE OF THIS SOFTWARE.
|
||||
-->
|
||||
|
||||
<!-- $Id: FAQ.xml,v 1.46.56.1 2009/01/18 01:51:13 tbox Exp $ -->
|
||||
<!-- $Id: FAQ.xml,v 1.46.56.2 2009/01/18 23:25:14 marka Exp $ -->
|
||||
|
||||
<article class="faq">
|
||||
<title>Frequently Asked Questions about BIND 9</title>
|
||||
|
|
@ -28,6 +28,7 @@
|
|||
<year>2006</year>
|
||||
<year>2007</year>
|
||||
<year>2008</year>
|
||||
<year>2009</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
<copyright>
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ at least specify `--with-idn' option to enable IDN support.
|
|||
|
||||
`--with-libiconv' assumes that your C compiler has `-R'
|
||||
option, and that the option adds the specified run-time path
|
||||
to an exacutable binary. If `-R' option of your compiler has
|
||||
to an executable binary. If `-R' option of your compiler has
|
||||
different meaning, or your compiler lacks the option, you
|
||||
should use `--with-iconv' option instead. Binary command
|
||||
without run-time path information might be unexecutable.
|
||||
|
|
@ -68,7 +68,7 @@ at least specify `--with-idn' option to enable IDN support.
|
|||
specified, `--with-iconv' is prior to `--with-libiconv'.
|
||||
|
||||
--with-iconv=ICONV_LIBSPEC
|
||||
If your libc doens't provide iconv(), you need to specify the
|
||||
If your libc doesn't provide iconv(), you need to specify the
|
||||
library containing iconv() with this option. `ICONV_LIBSPEC'
|
||||
is the argument(s) to `cc' or `ld' to link the library, for
|
||||
example, `--with-iconv="-L/usr/local/lib -liconv"'.
|
||||
|
|
@ -82,7 +82,7 @@ at least specify `--with-idn' option to enable IDN support.
|
|||
this option is not specified, `-L${PREFIX}/lib -lidnkit' is
|
||||
assumed, where ${PREFIX} is the installation prefix specified
|
||||
with `--with-idn' option above. You may need to use this
|
||||
option to specify extra argments, for example,
|
||||
option to specify extra arguments, for example,
|
||||
`--with-idnlib="-L/usr/local/lib -R/usr/local/lib -lidnkit"'.
|
||||
|
||||
Please consult `README' for other configuration options.
|
||||
|
|
@ -109,4 +109,4 @@ about idnkit and this patch.
|
|||
Bug reports and comments on this kit should be sent to
|
||||
mdnkit-bugs@nic.ad.jp and idn-cmt@nic.ad.jp, respectively.
|
||||
|
||||
; $Id: README.idnkit,v 1.2 2005/09/09 06:13:57 marka Exp $
|
||||
; $Id: README.idnkit,v 1.2.762.1 2009/01/18 23:25:14 marka Exp $
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dig.c,v 1.225 2008/10/28 23:47:06 tbox Exp $ */
|
||||
/* $Id: dig.c,v 1.225.26.1 2009/01/18 23:25:14 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -843,7 +843,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
|
|||
lookup->identify = state;
|
||||
break;
|
||||
case 'g': /* ignore */
|
||||
default: /* Inherets default for compatibility */
|
||||
default: /* Inherits default for compatibility */
|
||||
FULLCHECK("ignore");
|
||||
lookup->ignore = ISC_TRUE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dighost.c,v 1.311.70.5 2009/01/06 23:47:26 tbox Exp $ */
|
||||
/* $Id: dighost.c,v 1.311.70.6 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
* \note
|
||||
|
|
@ -776,7 +776,7 @@ make_empty_lookup(void) {
|
|||
* the query list, since it will be regenerated by the setup_lookup()
|
||||
* function, nor does it queue up the new lookup for processing.
|
||||
* Caution: If you don't clone the servers, you MUST clone the server
|
||||
* list seperately from somewhere else, or construct it by hand.
|
||||
* list separately from somewhere else, or construct it by hand.
|
||||
*/
|
||||
dig_lookup_t *
|
||||
clone_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
|
||||
|
|
@ -1414,7 +1414,7 @@ start_lookup(void) {
|
|||
key_name) == ISC_TRUE)
|
||||
trustedkey = tk_list.key[i];
|
||||
/*
|
||||
* Verifier que la temp est bien la plus basse
|
||||
* Verify temp is really the lowest
|
||||
* WARNING
|
||||
*/
|
||||
}
|
||||
|
|
@ -3345,7 +3345,7 @@ cancel_all(void) {
|
|||
isc_timer_detach(¤t_lookup->timer);
|
||||
q = ISC_LIST_HEAD(current_lookup->q);
|
||||
while (q != NULL) {
|
||||
debug("cancelling query %p, belonging to %p",
|
||||
debug("canceling query %p, belonging to %p",
|
||||
q, current_lookup);
|
||||
nq = ISC_LIST_NEXT(q, link);
|
||||
if (q->sock != NULL) {
|
||||
|
|
@ -5428,7 +5428,7 @@ prove_nx(dns_message_t *msg, dns_name_t *name, dns_rdataclass_t class,
|
|||
isc_result_t ret;
|
||||
dns_rdataset_t *nsecset = NULL;
|
||||
|
||||
printf("We want to prove the non-existance of a type of rdata %d"
|
||||
printf("We want to prove the non-existence of a type of rdata %d"
|
||||
" or of the zone: \n", type);
|
||||
|
||||
if ((ret = dns_message_firstname(msg, DNS_SECTION_AUTHORITY))
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dnssec-signzone.c,v 1.209.12.2 2009/01/06 23:47:26 tbox Exp $ */
|
||||
/* $Id: dnssec-signzone.c,v 1.209.12.3 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -2376,7 +2376,7 @@ usage(void) {
|
|||
fprintf(stderr, "\t-k key_signing_key\n");
|
||||
fprintf(stderr, "\t-l lookasidezone\n");
|
||||
fprintf(stderr, "\t-3 salt (NSEC3 salt)\n");
|
||||
fprintf(stderr, "\t-H interations (NSEC3 interations)\n");
|
||||
fprintf(stderr, "\t-H iterations (NSEC3 iterations)\n");
|
||||
fprintf(stderr, "\t-A (NSEC3 optout)\n");
|
||||
fprintf(stderr, "\t-z:\t");
|
||||
fprintf(stderr, "ignore KSK flag in DNSKEYs");
|
||||
|
|
@ -2451,7 +2451,7 @@ main(int argc, char *argv[]) {
|
|||
#define CMDLINE_FLAGS "3:aAc:d:e:f:ghH:i:I:j:k:l:m:n:N:o:O:pr:s:StUv:z"
|
||||
|
||||
/*
|
||||
* Process memory debugging arguement first.
|
||||
* Process memory debugging argument first.
|
||||
*/
|
||||
while ((ch = isc_commandline_parse(argc, argv, CMDLINE_FLAGS)) != -1) {
|
||||
switch (ch) {
|
||||
|
|
@ -2866,7 +2866,7 @@ main(int argc, char *argv[]) {
|
|||
result = dns_nsec3_maxiterations(gdb, NULL, mctx, &max);
|
||||
check_result(result, "dns_nsec3_maxiterations()");
|
||||
if (iterations > max)
|
||||
fatal("NSEC3 interations too big for weakest DNSKEY "
|
||||
fatal("NSEC3 iterations too big for weakest DNSKEY "
|
||||
"strength. Maximum iterations allowed %u.", max);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: client.c,v 1.259 2008/11/16 20:57:54 marka Exp $ */
|
||||
/* $Id: client.c,v 1.259.12.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1286,7 +1286,7 @@ allowed(isc_netaddr_t *addr, dns_name_t *signer, dns_acl_t *acl) {
|
|||
* delivered to 'myview'.
|
||||
*
|
||||
* We run this unlocked as both the view list and the interface list
|
||||
* are updated when the approprite task has exclusivity.
|
||||
* are updated when the appropriate task has exclusivity.
|
||||
*/
|
||||
isc_boolean_t
|
||||
ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey,
|
||||
|
|
@ -2271,7 +2271,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
|
|||
* Let a new client take our place immediately, before
|
||||
* we wait for a request packet. If we don't,
|
||||
* telnetting to port 53 (once per CPU) will
|
||||
* deny service to legititmate TCP clients.
|
||||
* deny service to legitimate TCP clients.
|
||||
*/
|
||||
result = isc_quota_attach(&ns_g_server->tcpquota,
|
||||
&client->tcpquota);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: client.h,v 1.86 2008/04/03 02:01:08 marka Exp $ */
|
||||
/* $Id: client.h,v 1.86.120.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
#ifndef NAMED_CLIENT_H
|
||||
#define NAMED_CLIENT_H 1
|
||||
|
|
@ -162,7 +162,7 @@ struct ns_client {
|
|||
#define NS_CLIENT_VALID(c) ISC_MAGIC_VALID(c, NS_CLIENT_MAGIC)
|
||||
|
||||
#define NS_CLIENTATTR_TCP 0x01
|
||||
#define NS_CLIENTATTR_RA 0x02 /*%< Client gets recusive service */
|
||||
#define NS_CLIENTATTR_RA 0x02 /*%< Client gets recursive service */
|
||||
#define NS_CLIENTATTR_PKTINFO 0x04 /*%< pktinfo is valid */
|
||||
#define NS_CLIENTATTR_MULTICAST 0x08 /*%< recv'd from multicast */
|
||||
#define NS_CLIENTATTR_WANTDNSSEC 0x10 /*%< include dnssec records */
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: lwdclient.h,v 1.18 2007/06/19 23:46:59 tbox Exp $ */
|
||||
/* $Id: lwdclient.h,v 1.18.332.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
#ifndef NAMED_LWDCLIENT_H
|
||||
#define NAMED_LWDCLIENT_H 1
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
#define LWRD_SHUTDOWN (LWRD_EVENTCLASS + 0x0001)
|
||||
|
||||
/*% Lighweight Resolver Daemon Client */
|
||||
/*% Lightweight Resolver Daemon Client */
|
||||
struct ns_lwdclient {
|
||||
isc_sockaddr_t address; /*%< where to reply */
|
||||
struct in6_pktinfo pktinfo;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: notify.h,v 1.14 2007/06/19 23:46:59 tbox Exp $ */
|
||||
/* $Id: notify.h,v 1.14.332.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
#ifndef NAMED_NOTIFY_H
|
||||
#define NAMED_NOTIFY_H 1
|
||||
|
|
@ -41,7 +41,7 @@ void
|
|||
ns_notify_start(ns_client_t *client);
|
||||
|
||||
/*%<
|
||||
* Examines the incoming message to determine apporiate zone.
|
||||
* Examines the incoming message to determine appropriate zone.
|
||||
* Returns FORMERR if there is not exactly one question.
|
||||
* Returns REFUSED if we do not serve the listed zone.
|
||||
* Pass the message to the zone module for processing
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: interfacemgr.c,v 1.93 2008/07/23 23:27:54 marka Exp $ */
|
||||
/* $Id: interfacemgr.c,v 1.93.70.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -518,7 +518,7 @@ setup_locals(ns_interfacemgr_t *mgr, isc_interface_t *interface) {
|
|||
result = isc_netaddr_masktoprefixlen(&interface->netmask,
|
||||
&prefixlen);
|
||||
|
||||
/* Non contigious netmasks not allowed by IPv6 arch. */
|
||||
/* Non contiguous netmasks not allowed by IPv6 arch. */
|
||||
if (result != ISC_R_SUCCESS && netaddr->family == AF_INET6)
|
||||
return (result);
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: main.c,v 1.166 2008/10/24 01:24:54 marka Exp $ */
|
||||
/* $Id: main.c,v 1.166.34.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ assertion_failed(const char *file, int line, isc_assertiontype_t type,
|
|||
|
||||
if (ns_g_lctx != NULL) {
|
||||
/*
|
||||
* Reset the assetion callback in case it is the log
|
||||
* Reset the assertion callback in case it is the log
|
||||
* routines causing the assertion.
|
||||
*/
|
||||
isc_assertion_setcallback(NULL);
|
||||
|
|
@ -747,7 +747,7 @@ setup(void) {
|
|||
|
||||
#ifdef DLZ
|
||||
/*
|
||||
* Registyer any DLZ drivers.
|
||||
* Register any DLZ drivers.
|
||||
*/
|
||||
result = dlz_drivers_init();
|
||||
if (result != ISC_R_SUCCESS)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: query.c,v 1.313.20.3 2009/01/07 23:47:16 tbox Exp $ */
|
||||
/* $Id: query.c,v 1.313.20.4 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -975,7 +975,7 @@ query_getdb(ns_client_t *client, dns_name_t *name, dns_rdatatype_t qtype,
|
|||
zonep, dbp, versionp);
|
||||
#endif
|
||||
|
||||
/* If successfull, Transfer ownership of zone. */
|
||||
/* If successful, Transfer ownership of zone. */
|
||||
if (result == ISC_R_SUCCESS) {
|
||||
#ifdef DLZ
|
||||
*zonep = zone;
|
||||
|
|
@ -1196,7 +1196,7 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
|
|||
goto cleanup;
|
||||
|
||||
/*
|
||||
* Don't poision caches using the bailiwick protection model.
|
||||
* Don't poison caches using the bailiwick protection model.
|
||||
*/
|
||||
if (!dns_name_issubdomain(name, dns_db_origin(client->query.gluedb)))
|
||||
goto cleanup;
|
||||
|
|
@ -1670,7 +1670,7 @@ query_addadditional2(void *arg, dns_name_t *name, dns_rdatatype_t qtype) {
|
|||
goto cleanup;
|
||||
|
||||
/*
|
||||
* Don't poision caches using the bailiwick protection model.
|
||||
* Don't poison caches using the bailiwick protection model.
|
||||
*/
|
||||
if (!dns_name_issubdomain(name, dns_db_origin(client->query.gluedb)))
|
||||
goto cleanup;
|
||||
|
|
@ -2343,7 +2343,7 @@ mark_secure(ns_client_t *client, dns_db_t *db, dns_name_t *name,
|
|||
|
||||
/*
|
||||
* Find the secure key that corresponds to rrsig.
|
||||
* Note: 'keyrdataset' maintains state between sucessive calls,
|
||||
* Note: 'keyrdataset' maintains state between successive calls,
|
||||
* there may be multiple keys with the same keyid.
|
||||
* Return ISC_FALSE if we have exhausted all the possible keys.
|
||||
*/
|
||||
|
|
@ -2807,7 +2807,7 @@ query_addwildcardproof(ns_client_t *client, dns_db_t *db,
|
|||
node = NULL;
|
||||
|
||||
/*
|
||||
* Get the NOQNAME proof then if !ispositve
|
||||
* Get the NOQNAME proof then if !ispositive
|
||||
* get the NOWILDCARD proof.
|
||||
*
|
||||
* DNS_DBFIND_NOWILD finds the NSEC records that covers the
|
||||
|
|
@ -3097,7 +3097,7 @@ query_resume(isc_task_t *task, isc_event_t *event) {
|
|||
dns_fetchevent_t *devent = (dns_fetchevent_t *)event;
|
||||
dns_fetch_t *fetch;
|
||||
ns_client_t *client;
|
||||
isc_boolean_t fetch_cancelled, client_shuttingdown;
|
||||
isc_boolean_t fetch_canceled, client_shuttingdown;
|
||||
isc_result_t result;
|
||||
isc_logcategory_t *logcategory = NS_LOGCATEGORY_QUERY_EERRORS;
|
||||
int errorloglevel;
|
||||
|
|
@ -3121,17 +3121,17 @@ query_resume(isc_task_t *task, isc_event_t *event) {
|
|||
*/
|
||||
INSIST(devent->fetch == client->query.fetch);
|
||||
client->query.fetch = NULL;
|
||||
fetch_cancelled = ISC_FALSE;
|
||||
fetch_canceled = ISC_FALSE;
|
||||
/*
|
||||
* Update client->now.
|
||||
*/
|
||||
isc_stdtime_get(&client->now);
|
||||
} else {
|
||||
/*
|
||||
* This is a fetch completion event for a cancelled fetch.
|
||||
* This is a fetch completion event for a canceled fetch.
|
||||
* Clean up and don't resume the find.
|
||||
*/
|
||||
fetch_cancelled = ISC_TRUE;
|
||||
fetch_canceled = ISC_TRUE;
|
||||
}
|
||||
UNLOCK(&client->query.fetchlock);
|
||||
INSIST(client->query.fetch == NULL);
|
||||
|
|
@ -3145,7 +3145,7 @@ query_resume(isc_task_t *task, isc_event_t *event) {
|
|||
* has timed out, do not resume the find.
|
||||
*/
|
||||
client_shuttingdown = ns_client_shuttingdown(client);
|
||||
if (fetch_cancelled || client_shuttingdown) {
|
||||
if (fetch_canceled || client_shuttingdown) {
|
||||
if (devent->node != NULL)
|
||||
dns_db_detachnode(devent->db, &devent->node);
|
||||
if (devent->db != NULL)
|
||||
|
|
@ -3154,7 +3154,7 @@ query_resume(isc_task_t *task, isc_event_t *event) {
|
|||
if (devent->sigrdataset != NULL)
|
||||
query_putrdataset(client, &devent->sigrdataset);
|
||||
isc_event_free(&event);
|
||||
if (fetch_cancelled)
|
||||
if (fetch_canceled)
|
||||
query_error(client, DNS_R_SERVFAIL, __LINE__);
|
||||
else
|
||||
query_next(client, ISC_R_CANCELED);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: server.c,v 1.520.12.4 2009/01/09 23:47:15 tbox Exp $ */
|
||||
/* $Id: server.c,v 1.520.12.5 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -214,7 +214,7 @@ static const struct {
|
|||
/* Local IPv6 Unicast Addresses */
|
||||
{ "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA", ISC_FALSE },
|
||||
{ "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA", ISC_FALSE },
|
||||
/* LOCALLY ASSIGNED LOCAL ADDRES S SCOPE */
|
||||
/* LOCALLY ASSIGNED LOCAL ADDRESS SCOPE */
|
||||
{ "D.F.IP6.ARPA", ISC_FALSE },
|
||||
{ "8.E.F.IP6.ARPA", ISC_FALSE }, /* LINK LOCAL */
|
||||
{ "9.E.F.IP6.ARPA", ISC_FALSE }, /* LINK LOCAL */
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: statschannel.c,v 1.14.64.1 2008/12/18 02:40:35 marka Exp $ */
|
||||
/* $Id: statschannel.c,v 1.14.64.2 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ struct ns_statschannel {
|
|||
isc_mem_t *mctx;
|
||||
|
||||
/*
|
||||
* Locked by channel lock: can be refererenced and modified by both
|
||||
* Locked by channel lock: can be referenced and modified by both
|
||||
* the server task and the channel task.
|
||||
*/
|
||||
isc_mutex_t lock;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: update.c,v 1.151 2008/11/19 06:21:45 marka Exp $ */
|
||||
/* $Id: update.c,v 1.151.12.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -198,7 +198,7 @@
|
|||
} while (0)
|
||||
|
||||
/*
|
||||
* Return TRUE if NS_CLIENTATTR_TCP is set in the attibutes other FALSE.
|
||||
* Return TRUE if NS_CLIENTATTR_TCP is set in the attributes other FALSE.
|
||||
*/
|
||||
#define TCPCLIENT(client) (((client)->attributes & NS_CLIENTATTR_TCP) != 0)
|
||||
|
||||
|
|
@ -698,7 +698,7 @@ rrset_visible(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
|
|||
*visible = ISC_TRUE;
|
||||
break;
|
||||
/*
|
||||
* Glue, obsured, deleted or replaced records.
|
||||
* Glue, obscured, deleted or replaced records.
|
||||
*/
|
||||
case DNS_R_DELEGATION:
|
||||
case DNS_R_DNAME:
|
||||
|
|
@ -793,7 +793,7 @@ name_exists(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
|
|||
}
|
||||
|
||||
/*
|
||||
* 'ssu_check_t' is used to pass the arguements to
|
||||
* 'ssu_check_t' is used to pass the arguments to
|
||||
* dns_ssutable_checkrules() to the callback function
|
||||
* ssu_checkrule().
|
||||
*/
|
||||
|
|
@ -852,8 +852,8 @@ ssu_checkall(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
|
|||
* In the RFC2136 section 3.2.5, this is the pseudocode involving
|
||||
* a variable called "temp", a mapping of <name, type> tuples to rrsets.
|
||||
*
|
||||
* Here, we represent the "temp" data structure as (non-minimial) "dns_diff_t"
|
||||
* where each typle has op==DNS_DIFFOP_EXISTS.
|
||||
* Here, we represent the "temp" data structure as (non-minimal) "dns_diff_t"
|
||||
* where each tuple has op==DNS_DIFFOP_EXISTS.
|
||||
*/
|
||||
|
||||
|
||||
|
|
@ -1155,7 +1155,7 @@ rr_equal_p(dns_rdata_t *update_rr, dns_rdata_t *db_rr) {
|
|||
*
|
||||
* Additionally replace RRSIG that have been generated by the same key
|
||||
* for the same type. This simplifies refreshing a offline KSK by not
|
||||
* requiring that the old RRSIG be deleted. It also simpifies key
|
||||
* requiring that the old RRSIG be deleted. It also simplifies key
|
||||
* rollover by only requiring that the new RRSIG be added.
|
||||
*/
|
||||
static isc_boolean_t
|
||||
|
|
@ -2103,7 +2103,7 @@ add_exposed_sigs(ns_client_t *client, dns_zone_t *zone, dns_db_t *db,
|
|||
|
||||
/*%
|
||||
* Update RRSIG, NSEC and NSEC3 records affected by an update. The original
|
||||
* update, including the SOA serial update but exluding the RRSIG & NSEC
|
||||
* update, including the SOA serial update but excluding the RRSIG & NSEC
|
||||
* changes, is in "diff" and has already been applied to "newver" of "db".
|
||||
* The database version prior to the update is "oldver".
|
||||
*
|
||||
|
|
@ -2162,7 +2162,7 @@ update_signatures(ns_client_t *client, dns_zone_t *zone, dns_db_t *db,
|
|||
/*
|
||||
* Do we look at the KSK flag on the DNSKEY to determining which
|
||||
* keys sign which RRsets? First check the zone option then
|
||||
* check the keys flags to make sure atleast one has a ksk set
|
||||
* check the keys flags to make sure at least one has a ksk set
|
||||
* and one doesn't.
|
||||
*/
|
||||
check_ksk = ISC_TF((dns_zone_getoptions(zone) &
|
||||
|
|
@ -2991,7 +2991,7 @@ get_iterations(dns_db_t *db, dns_dbversion_t *ver, unsigned int *iterationsp) {
|
|||
}
|
||||
|
||||
/*
|
||||
* Prevent the zone entering a inconsistant state where
|
||||
* Prevent the zone entering a inconsistent state where
|
||||
* NSEC only DNSKEYs are present with NSEC3 chains.
|
||||
*/
|
||||
static isc_result_t
|
||||
|
|
@ -4093,7 +4093,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
|
|||
#ifdef ALLOW_NSEC3PARAM_UPDATE
|
||||
/*
|
||||
* Cause the zone to add/delete NSEC3 chains for the
|
||||
* defered NSEC3PARAM changes.
|
||||
* deferred NSEC3PARAM changes.
|
||||
*
|
||||
* Note: we are already committed to this course of action.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: xfrout.c,v 1.131.26.2 2009/01/05 23:47:22 tbox Exp $ */
|
||||
/* $Id: xfrout.c,v 1.131.26.3 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1423,7 +1423,7 @@ failure:
|
|||
*
|
||||
* Requires:
|
||||
* The stream iterator is initialized and points at an RR,
|
||||
* or possiby at the end of the stream (that is, the
|
||||
* or possibly at the end of the stream (that is, the
|
||||
* _first method of the iterator has been called).
|
||||
*/
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nsupdate.c,v 1.163 2008/09/25 04:02:38 tbox Exp $ */
|
||||
/* $Id: nsupdate.c,v 1.163.48.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -2505,7 +2505,7 @@ recvgss(isc_task_t *task, isc_event_t *event) {
|
|||
* not a security issue), and Windows clients don't
|
||||
* seem to work if named complies with the spec and
|
||||
* includes the gratuitous TSIG. So we're in the
|
||||
* bizzare situation of having to choose between
|
||||
* bizarre situation of having to choose between
|
||||
* complying with a useless requirement in the spec
|
||||
* and interoperating. This is nuts. If we can
|
||||
* confirm this behavior, we should ask the WG to
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: os.h,v 1.9 2007/06/19 23:46:59 tbox Exp $ */
|
||||
/* $Id: os.h,v 1.9.332.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ FILE *safe_create(const char *filename);
|
|||
|
||||
int set_user(FILE *fd, const char *user);
|
||||
/*%<
|
||||
* Set the owner of the file refernced by 'fd' to 'user'.
|
||||
* Set the owner of the file referenced by 'fd' to 'user'.
|
||||
* Returns:
|
||||
* 0 success
|
||||
* -1 insufficient permissions, or 'user' does not exist.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rndc.c,v 1.122 2008/10/15 03:01:59 marka Exp $ */
|
||||
/* $Id: rndc.c,v 1.122.44.1 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -200,7 +200,7 @@ rndc_recvdone(isc_task_t *task, isc_event_t *event) {
|
|||
"* the remote server is using an older version of"
|
||||
" the command protocol,\n"
|
||||
"* this host is not authorized to connect,\n"
|
||||
"* the clocks are not syncronized, or\n"
|
||||
"* the clocks are not synchronized, or\n"
|
||||
"* the key is invalid.");
|
||||
|
||||
if (ccmsg.result != ISC_R_SUCCESS)
|
||||
|
|
@ -263,7 +263,7 @@ rndc_recvnonce(isc_task_t *task, isc_event_t *event) {
|
|||
"* the remote server is using an older version of"
|
||||
" the command protocol,\n"
|
||||
"* this host is not authorized to connect,\n"
|
||||
"* the clocks are not syncronized, or\n"
|
||||
"* the clocks are not synchronized, or\n"
|
||||
"* the key is invalid.");
|
||||
|
||||
if (ccmsg.result != ISC_R_SUCCESS)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: BINDInstallDlg.cpp,v 1.37.228.2 2008/12/14 21:33:07 tbox Exp $ */
|
||||
/* $Id: BINDInstallDlg.cpp,v 1.37.228.3 2009/01/18 23:25:15 marka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999-2000 by Nortel Networks Corporation
|
||||
|
|
@ -412,7 +412,7 @@ void CBINDInstallDlg::OnInstall() {
|
|||
|
||||
/*
|
||||
* Check that there is not leading / trailing whitespace.
|
||||
* This is for compatability with the standard password dialog.
|
||||
* This is for compatibility with the standard password dialog.
|
||||
* Passwords really should be treated as opaque blobs.
|
||||
*/
|
||||
oldlen = m_accountPassword.GetLength();
|
||||
|
|
|
|||
2
config.guess
vendored
2
config.guess
vendored
|
|
@ -141,7 +141,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
*:NetBSD:*:*)
|
||||
# NetBSD (nbsd) targets should (where applicable) match one or
|
||||
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
||||
# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
|
||||
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
||||
# switched to ELF, *-*-netbsd* would select the old
|
||||
# object file format. This provides both forward
|
||||
|
|
|
|||
12
configure.in
12
configure.in
|
|
@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
|
|||
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
||||
AC_DIVERT_POP()dnl
|
||||
|
||||
AC_REVISION($Revision: 1.457.26.2 $)
|
||||
AC_REVISION($Revision: 1.457.26.3 $)
|
||||
|
||||
AC_INIT(lib/dns/name.c)
|
||||
AC_PREREQ(2.59)
|
||||
|
|
@ -53,7 +53,7 @@ esac
|
|||
#
|
||||
# Make very sure that these are the first files processed by
|
||||
# config.status, since we use the processed output as the input for
|
||||
# AC_SUBST_FILE() subsitutions in other files.
|
||||
# AC_SUBST_FILE() substitutions in other files.
|
||||
#
|
||||
AC_CONFIG_FILES([make/rules make/includes])
|
||||
|
||||
|
|
@ -227,7 +227,7 @@ fi
|
|||
# OS dependent CC flags
|
||||
#
|
||||
case "$host" in
|
||||
# OSF 5.0: recv/send are only avaliable with -D_POSIX_PII_SOCKET or
|
||||
# OSF 5.0: recv/send are only available with -D_POSIX_PII_SOCKET or
|
||||
# -D_XOPEN_SOURCE_EXTENDED.
|
||||
*-dec-osf*)
|
||||
STD_CDEFINES="$STD_CDEFINES -D_POSIX_PII_SOCKET"
|
||||
|
|
@ -1285,7 +1285,7 @@ AC_SUBST(LIBTOOL_IN_MAIN)
|
|||
|
||||
#
|
||||
# Here begins a very long section to determine the system's networking
|
||||
# capabilities. The order of the tests is signficant.
|
||||
# capabilities. The order of the tests is significant.
|
||||
#
|
||||
|
||||
#
|
||||
|
|
@ -1936,7 +1936,7 @@ AC_SUBST(DST_EXTRA_SRCS)
|
|||
# values of type isc_int64_t. This will normally be "ll", but where
|
||||
# the compiler treats "long long" as a alias for "long" and printf
|
||||
# doesn't know about "long long" use "l". Hopefully the sprintf
|
||||
# will produce a inconsistant result in the later case. If the compiler
|
||||
# will produce a inconsistent result in the later case. If the compiler
|
||||
# fails due to seeing "%lld" we fall back to "l".
|
||||
#
|
||||
# Digital Unix 4.0 (gcc?) (long long) is 64 bits as is its long. It uses
|
||||
|
|
@ -2008,7 +2008,7 @@ esac
|
|||
#
|
||||
AC_CHECK_FUNC(tzset, AC_DEFINE(HAVE_TZSET))
|
||||
|
||||
AC_MSG_CHECKING(for optarg decarartion)
|
||||
AC_MSG_CHECKING(for optarg declaration)
|
||||
AC_TRY_COMPILE([
|
||||
#include <unistd.h>
|
||||
],
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: check.c,v 1.95 2008/11/19 05:38:49 marka Exp $ */
|
||||
/* $Id: check.c,v 1.95.12.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -1150,7 +1150,7 @@ check_zoneconf(const cfg_obj_t *zconfig, const cfg_obj_t *voptions,
|
|||
|
||||
/*
|
||||
* Look for an already existing zone.
|
||||
* We need to make this cannonical as isc_symtab_define()
|
||||
* We need to make this canonical as isc_symtab_define()
|
||||
* deals with strings.
|
||||
*/
|
||||
dns_fixedname_init(&fixedname);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: getaddresses.h,v 1.9 2007/06/19 23:47:16 tbox Exp $ */
|
||||
/* $Id: getaddresses.h,v 1.9.332.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
#ifndef BIND9_GETADDRESSES_H
|
||||
#define BIND9_GETADDRESSES_H 1
|
||||
|
|
@ -40,7 +40,7 @@ bind9_getaddresses(const char *hostname, in_port_t port,
|
|||
* first 'addrsize' are returned and the remainder silently truncated.
|
||||
*
|
||||
* This routine may block. If called by a program using the isc_app
|
||||
* framework, it should be surounded by isc_app_block()/isc_app_unblock().
|
||||
* framework, it should be surrounded by isc_app_block()/isc_app_unblock().
|
||||
*
|
||||
* Requires:
|
||||
*\li 'hostname' is not NULL.
|
||||
|
|
@ -48,7 +48,7 @@ bind9_getaddresses(const char *hostname, in_port_t port,
|
|||
*\li 'addrsize' > 0
|
||||
*\li 'addrcount' is not NULL.
|
||||
*
|
||||
*
|
||||
*
|
||||
* Returns:
|
||||
*\li #ISC_R_SUCCESS
|
||||
*\li #ISC_R_NOTFOUND
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: acl.c,v 1.50.44.1 2008/12/24 00:17:11 marka Exp $ */
|
||||
/* $Id: acl.c,v 1.50.44.2 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -264,7 +264,7 @@ dns_acl_match(const isc_netaddr_t *reqaddr,
|
|||
* If pos is set to false, then the nested ACL is to be negated. This
|
||||
* means reverse the sense of each *positive* element or IP table node,
|
||||
* but leave negatives alone, so as to prevent a double-negative causing
|
||||
* an unexpected postive match in the parent ACL.
|
||||
* an unexpected positive match in the parent ACL.
|
||||
*/
|
||||
isc_result_t
|
||||
dns_acl_merge(dns_acl_t *dest, dns_acl_t *source, isc_boolean_t pos)
|
||||
|
|
@ -360,7 +360,7 @@ dns_acl_merge(dns_acl_t *dest, dns_acl_t *source, isc_boolean_t pos)
|
|||
* Like dns_acl_match, but matches against the single ACL element 'e'
|
||||
* rather than a complete ACL, and returns ISC_TRUE iff it matched.
|
||||
*
|
||||
* To determine whether the match was prositive or negative, the
|
||||
* To determine whether the match was positive or negative, the
|
||||
* caller should examine e->negative. Since the element 'e' may be
|
||||
* a reference to a named ACL or a nested ACL, a matching element
|
||||
* returned through 'matchelt' is not necessarily 'e' itself.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: cache.c,v 1.80 2008/09/24 02:46:22 marka Exp $ */
|
||||
/* $Id: cache.c,v 1.80.50.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -61,7 +61,7 @@
|
|||
***/
|
||||
|
||||
/*
|
||||
* A cache_cleaner_t encapsulsates the state of the periodic
|
||||
* A cache_cleaner_t encapsulates the state of the periodic
|
||||
* cache cleaning.
|
||||
*/
|
||||
|
||||
|
|
@ -934,7 +934,7 @@ dns_cache_setcachesize(dns_cache_t *cache, isc_uint32_t size) {
|
|||
REQUIRE(VALID_CACHE(cache));
|
||||
|
||||
/*
|
||||
* Impose a minumum cache size; pathological things happen if there
|
||||
* Impose a minimum cache size; pathological things happen if there
|
||||
* is too little room.
|
||||
*/
|
||||
if (size != 0 && size < DNS_CACHE_MINSIZE)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dispatch.c,v 1.155.12.2 2008/12/10 23:48:13 tbox Exp $ */
|
||||
/* $Id: dispatch.c,v 1.155.12.3 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -2419,7 +2419,7 @@ dispatch_allocate(dns_dispatchmgr_t *mgr, unsigned int maxrequests,
|
|||
|
||||
|
||||
/*
|
||||
* MUST be unlocked, and not used by anthing.
|
||||
* MUST be unlocked, and not used by anything.
|
||||
*/
|
||||
static void
|
||||
dispatch_free(dns_dispatch_t **dispp)
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
* USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dlz.c,v 1.5 2007/06/19 23:47:16 tbox Exp $ */
|
||||
/* $Id: dlz.c,v 1.5.332.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -126,7 +126,7 @@ dns_dlzallowzonexfr(dns_view_t *view, dns_name_t *name,
|
|||
dlzdatabase = view->dlzdatabase;
|
||||
allowzonexfr = dlzdatabase->implementation->methods->allowzonexfr;
|
||||
result = (*allowzonexfr)(dlzdatabase->implementation->driverarg,
|
||||
dlzdatabase->dbdata, dlzdatabase->mctx,
|
||||
dlzdatabase->dbdata, dlzdatabase->mctx,
|
||||
view->rdclass, name, clientaddr, dbp);
|
||||
|
||||
if (result == ISC_R_NOTIMPLEMENTED)
|
||||
|
|
@ -275,7 +275,7 @@ dns_dlzfindzone(dns_view_t *view, dns_name_t *name, unsigned int minlabels,
|
|||
* trying shorter names portions of the name until we find a
|
||||
* match, have an error, or are below the 'minlabels'
|
||||
* threshold. minlabels is 0, if the standard database didn't
|
||||
* have a zone name match. Otherwise minlables is the number
|
||||
* have a zone name match. Otherwise minlabels is the number
|
||||
* of labels in that name. We need to beat that for a
|
||||
* "better" match for the DLZ database to be authoritative
|
||||
* instead of the standard database.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: gen-unix.h,v 1.19 2007/06/19 23:47:16 tbox Exp $ */
|
||||
/* $Id: gen-unix.h,v 1.19.332.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
* \brief
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
* directly portable between Unix-like systems and Windows NT, option
|
||||
* parsing and directory scanning. It is here because it was decided
|
||||
* that the "gen" build utility was not to depend on libisc.a, so
|
||||
* the functions delcared in isc/commandline.h and isc/dir.h could not
|
||||
* the functions declared in isc/commandline.h and isc/dir.h could not
|
||||
* be used.
|
||||
*
|
||||
* The commandline stuff is really just a wrapper around getopt().
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* $Id: gen-win32.h,v 1.23 2007/06/19 23:47:16 tbox Exp $ */
|
||||
/* $Id: gen-win32.h,v 1.23.332.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
* \author Principal Authors: Computer Systems Research Group at UC Berkeley
|
||||
|
|
@ -66,7 +66,7 @@
|
|||
* directly portable between Unix-like systems and Windows NT, option
|
||||
* parsing and directory scanning. It is here because it was decided
|
||||
* that the "gen" build utility was not to depend on libisc.a, so
|
||||
* the functions delcared in isc/commandline.h and isc/dir.h could not
|
||||
* the functions declared in isc/commandline.h and isc/dir.h could not
|
||||
* be used.
|
||||
*
|
||||
* The commandline stuff is pretty much a straight copy from the initial
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: acl.h,v 1.31 2007/12/21 06:46:47 marka Exp $ */
|
||||
/* $Id: acl.h,v 1.31.206.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_ACL_H
|
||||
#define DNS_ACL_H 1
|
||||
|
|
@ -140,7 +140,7 @@ dns_acl_merge(dns_acl_t *dest, dns_acl_t *source, isc_boolean_t pos);
|
|||
* If pos is set to false, then the nested ACL is to be negated. This
|
||||
* means reverse the sense of each *positive* element or IP table node,
|
||||
* but leave negatives alone, so as to prevent a double-negative causing
|
||||
* an unexpected postive match in the parent ACL.
|
||||
* an unexpected positive match in the parent ACL.
|
||||
*/
|
||||
|
||||
void
|
||||
|
|
@ -154,7 +154,7 @@ dns_acl_isinsecure(const dns_acl_t *a);
|
|||
/*%<
|
||||
* Return #ISC_TRUE iff the acl 'a' is considered insecure, that is,
|
||||
* if it contains IP addresses other than those of the local host.
|
||||
* This is intended for applications such as printing warning
|
||||
* This is intended for applications such as printing warning
|
||||
* messages for suspect ACLs; it is not intended for making access
|
||||
* control decisions. We make no guarantee that an ACL for which
|
||||
* this function returns #ISC_FALSE is safe.
|
||||
|
|
@ -211,7 +211,7 @@ dns_aclelement_match(const isc_netaddr_t *reqaddr,
|
|||
* Like dns_acl_match, but matches against the single ACL element 'e'
|
||||
* rather than a complete ACL, and returns ISC_TRUE iff it matched.
|
||||
*
|
||||
* To determine whether the match was prositive or negative, the
|
||||
* To determine whether the match was positive or negative, the
|
||||
* caller should examine e->negative. Since the element 'e' may be
|
||||
* a reference to a named ACL or a nested ACL, a matching element
|
||||
* returned through 'matchelt' is not necessarily 'e' itself.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: compress.h,v 1.40 2007/06/19 23:47:16 tbox Exp $ */
|
||||
/* $Id: compress.h,v 1.40.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_COMPRESS_H
|
||||
#define DNS_COMPRESS_H 1
|
||||
|
|
@ -77,7 +77,7 @@ struct dns_decompress {
|
|||
isc_result_t
|
||||
dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx);
|
||||
/*%<
|
||||
* Inialise the compression context structure pointed to by 'cctx'.
|
||||
* Initialise the compression context structure pointed to by 'cctx'.
|
||||
*
|
||||
* Requires:
|
||||
* \li 'cctx' is a valid dns_compress_t structure.
|
||||
|
|
@ -136,7 +136,7 @@ dns_compress_setsensitive(dns_compress_t *cctx, isc_boolean_t sensitive);
|
|||
isc_boolean_t
|
||||
dns_compress_getsensitive(dns_compress_t *cctx);
|
||||
/*
|
||||
* Return whether case is to be preservered when compressing
|
||||
* Return whether case is to be preserved when compressing
|
||||
* domain names.
|
||||
*
|
||||
* Requires:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: db.h,v 1.93.50.2 2009/01/05 23:47:23 tbox Exp $ */
|
||||
/* $Id: db.h,v 1.93.50.3 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_DB_H
|
||||
#define DNS_DB_H 1
|
||||
|
|
@ -1072,7 +1072,7 @@ isc_result_t
|
|||
dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
|
||||
isc_stdtime_t now, dns_rdatasetiter_t **iteratorp);
|
||||
/*%<
|
||||
* Make '*iteratorp' an rdataset iteratator for all rdatasets at 'node' in
|
||||
* Make '*iteratorp' an rdataset iterator for all rdatasets at 'node' in
|
||||
* version 'version' of 'db'.
|
||||
*
|
||||
* Notes:
|
||||
|
|
@ -1259,7 +1259,7 @@ dns_db_getsoaserial(dns_db_t *db, dns_dbversion_t *ver, isc_uint32_t *serialp);
|
|||
void
|
||||
dns_db_overmem(dns_db_t *db, isc_boolean_t overmem);
|
||||
/*%<
|
||||
* Enable / disable agressive cache cleaning.
|
||||
* Enable / disable aggressive cache cleaning.
|
||||
*/
|
||||
|
||||
unsigned int
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: diff.h,v 1.15 2008/04/02 02:37:42 marka Exp $ */
|
||||
/* $Id: diff.h,v 1.15.120.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_DIFF_H
|
||||
#define DNS_DIFF_H 1
|
||||
|
|
@ -110,7 +110,7 @@ struct dns_diff {
|
|||
ISC_LIST(dns_difftuple_t) tuples;
|
||||
};
|
||||
|
||||
/* Type of comparision function for sorting diffs. */
|
||||
/* Type of comparison function for sorting diffs. */
|
||||
typedef int dns_diff_compare_func(const void *, const void *);
|
||||
|
||||
/***
|
||||
|
|
@ -121,7 +121,7 @@ ISC_LANG_BEGINDECLS
|
|||
|
||||
/**************************************************************************/
|
||||
/*
|
||||
* Maniuplation of diffs and tuples.
|
||||
* Manipulation of diffs and tuples.
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
* USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dlz.h,v 1.7 2007/06/19 23:47:16 tbox Exp $ */
|
||||
/* $Id: dlz.h,v 1.7.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file dns/dlz.h */
|
||||
|
||||
|
|
@ -133,7 +133,7 @@ typedef void
|
|||
/*%<
|
||||
* Method prototype. Drivers implementing the DLZ interface MUST
|
||||
* supply a destroy method. This method is called when the DNS server
|
||||
* is shuting down and no longer needs the driver.
|
||||
* is shutting down and no longer needs the driver.
|
||||
*/
|
||||
|
||||
typedef isc_result_t
|
||||
|
|
@ -157,7 +157,7 @@ typedef isc_result_t
|
|||
* \li 3) we run out of domain name labels. I.E. we have tried the
|
||||
* shortest domain name
|
||||
* \li 4) the number of labels in the domain name is less than
|
||||
* min_lables for dns_dlzfindzone
|
||||
* min_labels for dns_dlzfindzone
|
||||
*
|
||||
* The driver's find zone method should return ISC_R_SUCCESS and a
|
||||
* database pointer to the name server if the zone is supported by the
|
||||
|
|
@ -202,7 +202,7 @@ dns_dlzallowzonexfr(dns_view_t *view, dns_name_t *name,
|
|||
|
||||
/*%<
|
||||
* This method is called when the DNS server is performing a zone
|
||||
* transfer query. It will call the DLZ driver's allow zone tranfer
|
||||
* transfer query. It will call the DLZ driver's allow zone transfer
|
||||
* method.
|
||||
*/
|
||||
|
||||
|
|
@ -223,7 +223,7 @@ void
|
|||
dns_dlzdestroy(dns_dlzdb_t **dbp);
|
||||
|
||||
/*%<
|
||||
* This method is called when the DNS server is shuting down and no
|
||||
* This method is called when the DNS server is shutting down and no
|
||||
* longer needs the driver. If the DLZ driver supplies a destroy
|
||||
* methods, this function will call it.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: journal.h,v 1.33 2008/04/01 23:47:10 tbox Exp $ */
|
||||
/* $Id: journal.h,v 1.33.120.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_JOURNAL_H
|
||||
#define DNS_JOURNAL_H 1
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
/*! \file dns/journal.h
|
||||
* \brief
|
||||
* Database journalling.
|
||||
* Database journaling.
|
||||
*/
|
||||
|
||||
/***
|
||||
|
|
@ -193,7 +193,7 @@ dns_journal_iter_init(dns_journal_t *j,
|
|||
* Returns:
|
||||
*\li ISC_R_SUCCESS
|
||||
*\li ISC_R_RANGE begin_serial is outside the addressable range.
|
||||
*\li ISC_R_NOTFOUND begin_serial is within the range of adressable
|
||||
*\li ISC_R_NOTFOUND begin_serial is within the range of addressable
|
||||
* serial numbers covered by the journal, but
|
||||
* this particular serial number does not exist.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: log.h,v 1.42 2007/06/18 23:47:42 tbox Exp $ */
|
||||
/* $Id: log.h,v 1.42.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file dns/log.h
|
||||
* \author Principal Authors: DCL */
|
||||
|
|
@ -88,7 +88,7 @@ dns_log_init(isc_log_t *lctx);
|
|||
*\li dns_log_init() is called only once.
|
||||
*
|
||||
* Ensures:
|
||||
* \li The catgories and modules defined above are available for
|
||||
* \li The categories and modules defined above are available for
|
||||
* use by isc_log_usechannnel() and isc_log_write().
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: lookup.h,v 1.12 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: lookup.h,v 1.12.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_LOOKUP_H
|
||||
#define DNS_LOOKUP_H 1
|
||||
|
|
@ -27,8 +27,8 @@
|
|||
/*! \file dns/lookup.h
|
||||
* \brief
|
||||
* The lookup module performs simple DNS lookups. It implements
|
||||
* the full resolver algorithm, both looking for local data and
|
||||
* resoving external names as necessary.
|
||||
* the full resolver algorithm, both looking for local data and
|
||||
* resolving external names as necessary.
|
||||
*
|
||||
* MP:
|
||||
*\li The module ensures appropriate synchronization of data structures it
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: message.h,v 1.125 2008/04/03 06:09:04 tbox Exp $ */
|
||||
/* $Id: message.h,v 1.125.118.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_MESSAGE_H
|
||||
#define DNS_MESSAGE_H 1
|
||||
|
|
@ -161,7 +161,7 @@ typedef int dns_messagetextflag_t;
|
|||
occurs */
|
||||
#define DNS_MESSAGEPARSE_CLONEBUFFER 0x0004 /*%< save a copy of the
|
||||
source buffer */
|
||||
#define DNS_MESSAGEPARSE_IGNORETRUNCATION 0x0008 /*%< trucation errors are
|
||||
#define DNS_MESSAGEPARSE_IGNORETRUNCATION 0x0008 /*%< truncation errors are
|
||||
* not fatal. */
|
||||
|
||||
/*
|
||||
|
|
@ -1199,7 +1199,7 @@ dns_message_takebuffer(dns_message_t *msg, isc_buffer_t **buffer);
|
|||
*\li msg be a valid message.
|
||||
*
|
||||
*\li buffer != NULL && *buffer is a valid isc_buffer_t, which was
|
||||
* dynamincally allocated via isc_buffer_allocate().
|
||||
* dynamically allocated via isc_buffer_allocate().
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: name.h,v 1.126 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: name.h,v 1.126.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_NAME_H
|
||||
#define DNS_NAME_H 1
|
||||
|
|
@ -243,7 +243,7 @@ dns_name_setbuffer(dns_name_t *name, isc_buffer_t *buffer);
|
|||
*
|
||||
* Notes:
|
||||
* \li Specification of a target buffer in dns_name_fromwire(),
|
||||
* dns_name_fromtext(), and dns_name_concatentate() is optional if
|
||||
* dns_name_fromtext(), and dns_name_concatenate() is optional if
|
||||
* 'name' has a dedicated buffer.
|
||||
*
|
||||
* \li The caller must not write to buffer until the name has been
|
||||
|
|
@ -722,7 +722,7 @@ dns_name_fromwire(dns_name_t *name, isc_buffer_t *source,
|
|||
|
||||
isc_result_t
|
||||
dns_name_towire(const dns_name_t *name, dns_compress_t *cctx,
|
||||
isc_buffer_t *target);
|
||||
isc_buffer_t *target);
|
||||
/*%<
|
||||
* Convert 'name' into wire format, compressing it as specified by the
|
||||
* compression context 'cctx', and storing the result in 'target'.
|
||||
|
|
@ -841,7 +841,7 @@ dns_name_totext(dns_name_t *name, isc_boolean_t omit_final_dot,
|
|||
* name as generated by dns_name_totext(). This does not
|
||||
* include space for a terminating NULL.
|
||||
*
|
||||
* This definition is conservative - the actual maximum
|
||||
* This definition is conservative - the actual maximum
|
||||
* is 1004, derived as follows:
|
||||
*
|
||||
* A backslash-decimal escaped character takes 4 bytes.
|
||||
|
|
@ -953,7 +953,7 @@ dns_name_split(dns_name_t *name, unsigned int suffixlabels,
|
|||
*
|
||||
* Notes:
|
||||
* \li 'name' is split such that 'suffix' holds the most significant
|
||||
* 'suffixlabels' labels. All other labels are stored in 'prefix'.
|
||||
* 'suffixlabels' labels. All other labels are stored in 'prefix'.
|
||||
*
|
||||
*\li Copying name data is avoided as much as possible, so 'prefix'
|
||||
* and 'suffix' will end up pointing at the data for 'name'.
|
||||
|
|
@ -1083,7 +1083,7 @@ dns_name_dynamic(dns_name_t *name);
|
|||
*
|
||||
* Returns:
|
||||
*
|
||||
*\li 'ISC_TRUE' if the name is dynamic othewise 'ISC_FALSE'.
|
||||
*\li 'ISC_TRUE' if the name is dynamic otherwise 'ISC_FALSE'.
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
|
|
@ -1186,7 +1186,7 @@ dns_name_ishostname(const dns_name_t *name, isc_boolean_t wildcard);
|
|||
* Requires:
|
||||
* 'name' to be valid.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
isc_boolean_t
|
||||
dns_name_ismailbox(const dns_name_t *name);
|
||||
|
|
@ -1221,7 +1221,7 @@ dns_name_destroy(void);
|
|||
ISC_LANG_ENDDECLS
|
||||
|
||||
/*
|
||||
*** High Peformance Macros
|
||||
*** High Performance Macros
|
||||
***/
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nsec3.h,v 1.5 2008/09/24 03:16:58 tbox Exp $ */
|
||||
/* $Id: nsec3.h,v 1.5.48.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_NSEC3_H
|
||||
#define DNS_NSEC3_H 1
|
||||
|
|
@ -121,7 +121,7 @@ dns_nsec3_addnsec3s(dns_db_t *db, dns_dbversion_t *version,
|
|||
*
|
||||
* dns_nsec3_addnsec3s() will examine the NSEC3PARAM RRset to determine which
|
||||
* chains to be updated. NSEC3PARAM records with the DNS_NSEC3FLAG_CREATE
|
||||
* will be preferentially choosen over NSEC3PARAM records without
|
||||
* will be preferentially chosen over NSEC3PARAM records without
|
||||
* DNS_NSEC3FLAG_CREATE set. NSEC3PARAM records with DNS_NSEC3FLAG_REMOVE
|
||||
* set will be ignored by dns_nsec3_addnsec3s(). If DNS_NSEC3FLAG_CREATE
|
||||
* is set then the new NSEC3 will have OPTOUT set to match the that in the
|
||||
|
|
@ -167,7 +167,7 @@ dns_nsec3_active(dns_db_t *db, dns_dbversion_t *version,
|
|||
isc_boolean_t complete, isc_boolean_t *answer);
|
||||
/*%<
|
||||
* Check if there are any complete/to be built NSEC3 chains.
|
||||
* If 'complete' is ISC_TRUE only complete chains will be recognised.
|
||||
* If 'complete' is ISC_TRUE only complete chains will be recognized.
|
||||
*
|
||||
* Requires:
|
||||
* 'db' to be valid.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: peer.h,v 1.33 2008/04/03 06:09:05 tbox Exp $ */
|
||||
/* $Id: peer.h,v 1.33.118.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_PEER_H
|
||||
#define DNS_PEER_H 1
|
||||
|
|
@ -78,7 +78,7 @@ struct dns_peer {
|
|||
isc_sockaddr_t *transfer_source;
|
||||
isc_sockaddr_t *notify_source;
|
||||
isc_sockaddr_t *query_source;
|
||||
isc_uint16_t udpsize; /* recieve size */
|
||||
isc_uint16_t udpsize; /* receive size */
|
||||
isc_uint16_t maxudp; /* transmit size */
|
||||
|
||||
isc_uint32_t bitflags;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rbt.h,v 1.71 2008/09/25 04:02:39 tbox Exp $ */
|
||||
/* $Id: rbt.h,v 1.71.48.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_RBT_H
|
||||
#define DNS_RBT_H 1
|
||||
|
|
@ -93,7 +93,7 @@ struct dns_rbtnode {
|
|||
/*!
|
||||
* The following bitfields add up to a total bitwidth of 32.
|
||||
* The range of values necessary for each item is indicated,
|
||||
* but in the case of "attributes" the field is wider to accomodate
|
||||
* but in the case of "attributes" the field is wider to accommodate
|
||||
* possible future expansion. "offsetlen" could be one bit
|
||||
* narrower by always adjusting its value by 1 to find the real
|
||||
* offsetlen, but doing so does not gain anything (except perhaps
|
||||
|
|
@ -155,7 +155,7 @@ typedef isc_result_t (*dns_rbtfindcallback_t)(dns_rbtnode_t *node,
|
|||
* tree when a node is added). The obvious implication of this is that for a
|
||||
* chain to remain valid, the tree has to be locked down against writes for the
|
||||
* duration of the useful life of the chain, because additions or removals can
|
||||
* change the path from the root to the node the chain has targetted.
|
||||
* change the path from the root to the node the chain has targeted.
|
||||
*
|
||||
* The dns_rbtnodechain_ functions _first, _last, _prev and _next all take
|
||||
* dns_name_t parameters for the name and the origin, which can be NULL. If
|
||||
|
|
@ -407,7 +407,7 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
|
|||
*\li The 'level_count' of the chain indicates how deep the chain to the
|
||||
* predecessor name is, as an index into the 'levels[]' array. It does
|
||||
* not count name elements, per se, but only levels of the tree of trees,
|
||||
* the distinction arrising because multiple labels from a name can be
|
||||
* the distinction arising because multiple labels from a name can be
|
||||
* stored on only one level. It is also does not include the level
|
||||
* that has the node, since that level is not stored in levels[].
|
||||
*
|
||||
|
|
@ -435,7 +435,7 @@ dns_rbt_findnode(dns_rbt_t *rbt, dns_name_t *name, dns_name_t *foundname,
|
|||
*\li rbt is a valid rbt manager.
|
||||
*\li dns_name_isabsolute(name) == TRUE.
|
||||
*\li node != NULL && *node == NULL.
|
||||
*\li #DNS_RBTFIND_NOEXACT and DNS_RBTFIND_NOPREDECESSOR are mutally
|
||||
*\li #DNS_RBTFIND_NOEXACT and DNS_RBTFIND_NOPREDECESSOR are mutually
|
||||
* exclusive.
|
||||
*
|
||||
* Ensures:
|
||||
|
|
@ -544,7 +544,7 @@ dns_rbt_deletenode(dns_rbt_t *rbt, dns_rbtnode_t *node, isc_boolean_t recurse);
|
|||
* 'node' does not appear in the tree with data; however,
|
||||
* the node might still exist if it serves as a pointer to
|
||||
* a lower tree level as long as 'recurse' was false, hence
|
||||
* the node could can be found with dns_rbt_findnode whem
|
||||
* the node could can be found with dns_rbt_findnode when
|
||||
* that function's empty_data_ok parameter is true.
|
||||
*
|
||||
*\li If result is ISC_R_NOMEMORY or ISC_R_NOSPACE:
|
||||
|
|
@ -868,7 +868,7 @@ isc_result_t
|
|||
dns_rbtnodechain_down(dns_rbtnodechain_t *chain, dns_name_t *name,
|
||||
dns_name_t *origin);
|
||||
/*%<
|
||||
* Decend down if possible.
|
||||
* Descend down if possible.
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rdata.h,v 1.70 2008/04/02 02:37:42 marka Exp $ */
|
||||
/* $Id: rdata.h,v 1.70.120.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_RDATA_H
|
||||
#define DNS_RDATA_H 1
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
* build process from a set of source files, one per rdata type. For
|
||||
* portability, it's probably best that the building be done by a C
|
||||
* program. Adding a new rdata type will be a simple matter of adding
|
||||
* a file to a directory and rebuilding the server. *All* knowlege of
|
||||
* a file to a directory and rebuilding the server. *All* knowledge of
|
||||
* the format of a particular rdata type is in this file.
|
||||
*
|
||||
* MP:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rdataset.h,v 1.65 2008/09/24 02:46:23 marka Exp $ */
|
||||
/* $Id: rdataset.h,v 1.65.50.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_RDATASET_H
|
||||
#define DNS_RDATASET_H 1
|
||||
|
|
@ -427,7 +427,7 @@ dns_rdataset_towiresorted(dns_rdataset_t *rdataset,
|
|||
unsigned int *countp);
|
||||
/*%<
|
||||
* Like dns_rdataset_towire(), but sorting the rdatasets according to
|
||||
* the integer value returned by 'order' when called witih the rdataset
|
||||
* the integer value returned by 'order' when called with the rdataset
|
||||
* and 'order_arg' as arguments.
|
||||
*
|
||||
* Requires:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: request.h,v 1.27 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: request.h,v 1.27.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_REQUEST_H
|
||||
#define DNS_REQUEST_H 1
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
#define DNS_REQUESTOPT_TCP 0x00000001U
|
||||
|
||||
typedef struct dns_requestevent {
|
||||
ISC_EVENT_COMMON(struct dns_requestevent);
|
||||
ISC_EVENT_COMMON(struct dns_requestevent);
|
||||
isc_result_t result;
|
||||
dns_request_t *request;
|
||||
} dns_requestevent_t;
|
||||
|
|
@ -217,7 +217,7 @@ dns_request_createvia3(dns_requestmgr_t *requestmgr, dns_message_t *message,
|
|||
unsigned int udpretries, isc_task_t *task,
|
||||
isc_taskaction_t action, void *arg,
|
||||
dns_request_t **requestp);
|
||||
/*%<
|
||||
/*%<
|
||||
* Create and send a request.
|
||||
*
|
||||
* Notes:
|
||||
|
|
@ -271,7 +271,7 @@ dns_request_createraw3(dns_requestmgr_t *requestmgr, isc_buffer_t *msgbuf,
|
|||
unsigned int udptimeout, unsigned int udpretries,
|
||||
isc_task_t *task, isc_taskaction_t action, void *arg,
|
||||
dns_request_t **requestp);
|
||||
/*!<
|
||||
/*!<
|
||||
* \brief Create and send a request.
|
||||
*
|
||||
* Notes:
|
||||
|
|
@ -280,7 +280,7 @@ dns_request_createraw3(dns_requestmgr_t *requestmgr, isc_buffer_t *msgbuf,
|
|||
* #DNS_REQUESTOPT_TCP option is set, TCP will be used. The request
|
||||
* will timeout after 'timeout' seconds. UDP requests will be resent
|
||||
* at 'udptimeout' intervals if non-zero or if 'udpretries' is not zero.
|
||||
*
|
||||
*
|
||||
*\li When the request completes, successfully, due to a timeout, or
|
||||
* because it was canceled, a completion event will be sent to 'task'.
|
||||
*
|
||||
|
|
@ -344,7 +344,7 @@ dns_request_usedtcp(dns_request_t *request);
|
|||
/*%<
|
||||
* Return whether this query used TCP or not. Setting #DNS_REQUESTOPT_TCP
|
||||
* in the call to dns_request_create() will cause the function to return
|
||||
* #ISC_TRUE, othewise the result is based on the query message size.
|
||||
* #ISC_TRUE, otherwise the result is based on the query message size.
|
||||
*
|
||||
* Requires:
|
||||
*\li 'request' is a valid request.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: sdb.h,v 1.21 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: sdb.h,v 1.21.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_SDB_H
|
||||
#define DNS_SDB_H 1
|
||||
|
|
@ -127,12 +127,12 @@ dns_sdb_register(const char *drivername, const dns_sdbmethods_t *methods,
|
|||
* The allnodes function, if non-NULL, fills in an opaque structure to be
|
||||
* used by a database iterator. This allows the zone to be transferred.
|
||||
* This may use a considerable amount of memory for large zones, and the
|
||||
* zone transfer may not be fully RFC1035 compliant if the zone is
|
||||
* zone transfer may not be fully RFC1035 compliant if the zone is
|
||||
* frequently changed.
|
||||
*
|
||||
* The create function will be called for each zone configured
|
||||
* into the name server using this database type. It can be used
|
||||
* to create a "database object" containg zone specific data,
|
||||
* to create a "database object" containing zone specific data,
|
||||
* which can make use of the database arguments specified in the
|
||||
* name server configuration.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
* USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: sdlz.h,v 1.7 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: sdlz.h,v 1.7.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file dns/sdlz.h */
|
||||
|
||||
|
|
@ -148,7 +148,7 @@ typedef void
|
|||
/*%<
|
||||
* Method prototype. Drivers implementing the SDLZ interface may
|
||||
* supply a destroy method. This method is called when the DNS server
|
||||
* is shuting down and no longer needs the driver. A SDLZ driver does
|
||||
* is shutting down and no longer needs the driver. A SDLZ driver does
|
||||
* not have to implement a destroy method.
|
||||
*/
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ typedef isc_result_t
|
|||
* \li 3) we run out of domain name labels. I.E. we have tried the
|
||||
* shortest domain name
|
||||
*
|
||||
* \li 4) the number of labels in the domain name is less than min_lables
|
||||
* \li 4) the number of labels in the domain name is less than min_labels
|
||||
* for dns_dlzfindzone
|
||||
*
|
||||
* The driver's find zone method should return ISC_R_SUCCESS if the
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: tkey.h,v 1.26 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: tkey.h,v 1.26.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_TKEY_H
|
||||
#define DNS_TKEY_H 1
|
||||
|
|
@ -162,7 +162,7 @@ dns_tkey_builddeletequery(dns_message_t *msg, dns_tsigkey_t *key);
|
|||
|
||||
isc_result_t
|
||||
dns_tkey_processdhresponse(dns_message_t *qmsg, dns_message_t *rmsg,
|
||||
dst_key_t *key, isc_buffer_t *nonce,
|
||||
dst_key_t *key, isc_buffer_t *nonce,
|
||||
dns_tsigkey_t **outkey, dns_tsig_keyring_t *ring);
|
||||
/*%<
|
||||
* Processes a response to a query containing a TKEY that was
|
||||
|
|
@ -219,7 +219,7 @@ dns_tkey_gssnegotiate(dns_message_t *qmsg, dns_message_t *rmsg,
|
|||
isc_boolean_t win2k);
|
||||
|
||||
/*
|
||||
* Client side negotiation of GSS-TSIG. Process the respsonse
|
||||
* Client side negotiation of GSS-TSIG. Process the response
|
||||
* to a TKEY, and establish a TSIG key if negotiation was successful.
|
||||
* Build a response to the input TKEY message. Can take multiple
|
||||
* calls to successfully establish the context.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: types.h,v 1.130 2008/09/24 02:46:23 marka Exp $ */
|
||||
/* $Id: types.h,v 1.130.50.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_TYPES_H
|
||||
#define DNS_TYPES_H 1
|
||||
|
|
@ -271,7 +271,7 @@ enum {
|
|||
dns_trust_glue = 3,
|
||||
#define dns_trust_glue ((dns_trust_t)dns_trust_glue)
|
||||
|
||||
/* Answser from a non-authoritative server */
|
||||
/* Answer from a non-authoritative server */
|
||||
dns_trust_answer = 4,
|
||||
#define dns_trust_answer ((dns_trust_t)dns_trust_answer)
|
||||
|
||||
|
|
@ -280,7 +280,7 @@ enum {
|
|||
dns_trust_authauthority = 5,
|
||||
#define dns_trust_authauthority ((dns_trust_t)dns_trust_authauthority)
|
||||
|
||||
/* Answser from an authoritative server */
|
||||
/* Answer from an authoritative server */
|
||||
dns_trust_authanswer = 6,
|
||||
#define dns_trust_authanswer ((dns_trust_t)dns_trust_authanswer)
|
||||
|
||||
|
|
@ -294,7 +294,7 @@ enum {
|
|||
};
|
||||
|
||||
/*%
|
||||
* Name checking severites.
|
||||
* Name checking severities.
|
||||
*/
|
||||
typedef enum {
|
||||
dns_severity_ignore,
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: validator.h,v 1.41.48.2 2009/01/05 23:47:23 tbox Exp $ */
|
||||
/* $Id: validator.h,v 1.41.48.3 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_VALIDATOR_H
|
||||
#define DNS_VALIDATOR_H 1
|
||||
|
|
@ -210,7 +210,7 @@ dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
|
|||
* options:
|
||||
* If DNS_VALIDATOR_DLV is set the caller knows there is not a
|
||||
* trusted key and the validator should immediately attempt to validate
|
||||
* the answer by looking for a appopriate DLV RRset.
|
||||
* the answer by looking for an appropriate DLV RRset.
|
||||
*/
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: view.h,v 1.111.88.2 2009/01/05 23:47:23 tbox Exp $ */
|
||||
/* $Id: view.h,v 1.111.88.3 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_VIEW_H
|
||||
#define DNS_VIEW_H 1
|
||||
|
|
@ -234,7 +234,7 @@ void
|
|||
dns_view_flushanddetach(dns_view_t **viewp);
|
||||
/*%<
|
||||
* Detach '*viewp' from its view. If this was the last reference
|
||||
* uncommited changed in zones will be flushed to disk.
|
||||
* uncommitted changed in zones will be flushed to disk.
|
||||
*
|
||||
* Requires:
|
||||
*
|
||||
|
|
@ -373,7 +373,7 @@ dns_view_setdstport(dns_view_t *view, in_port_t dstport);
|
|||
*\li 'dstport' is a valid TCP/UDP port number.
|
||||
*
|
||||
* Ensures:
|
||||
*\li External name servers will be assumed to be listning
|
||||
*\li External name servers will be assumed to be listening
|
||||
* on 'dstport'. For servers whose address has already
|
||||
* obtained obtained at the time of the call, the view may
|
||||
* continue to use the previously set port until the address
|
||||
|
|
@ -656,7 +656,7 @@ dns_view_gettsig(dns_view_t *view, dns_name_t *keyname,
|
|||
* Find the TSIG key configured in 'view' with name 'keyname',
|
||||
* if any.
|
||||
*
|
||||
* Reqires:
|
||||
* Requires:
|
||||
*\li keyp points to a NULL dns_tsigkey_t *.
|
||||
*
|
||||
* Returns:
|
||||
|
|
@ -672,7 +672,7 @@ dns_view_getpeertsig(dns_view_t *view, isc_netaddr_t *peeraddr,
|
|||
* Find the TSIG key configured in 'view' for the server whose
|
||||
* address is 'peeraddr', if any.
|
||||
*
|
||||
* Reqires:
|
||||
* Requires:
|
||||
* keyp points to a NULL dns_tsigkey_t *.
|
||||
*
|
||||
* Returns:
|
||||
|
|
@ -795,7 +795,7 @@ dns_view_isdelegationonly(dns_view_t *view, dns_name_t *name);
|
|||
*
|
||||
* Returns:
|
||||
*\li #ISC_TRUE if the name is the table.
|
||||
*\li #ISC_FALSE othewise.
|
||||
*\li #ISC_FALSE otherwise.
|
||||
*/
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: xfrin.h,v 1.28 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: xfrin.h,v 1.28.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_XFRIN_H
|
||||
#define DNS_XFRIN_H 1
|
||||
|
|
@ -90,7 +90,7 @@ dns_xfrin_shutdown(dns_xfrin_ctx_t *xfr);
|
|||
/*%<
|
||||
* If the zone transfer 'xfr' has already finished,
|
||||
* do nothing. Otherwise, abort it and cause it to call
|
||||
* its done callback with a status of ISC_R_CANCELLED.
|
||||
* its done callback with a status of ISC_R_CANCELED.
|
||||
*/
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.h,v 1.160.50.2 2009/01/05 23:47:23 tbox Exp $ */
|
||||
/* $Id: zone.h,v 1.160.50.3 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DNS_ZONE_H
|
||||
#define DNS_ZONE_H 1
|
||||
|
|
@ -419,7 +419,7 @@ dns_zone_refresh(dns_zone_t *zone);
|
|||
isc_result_t
|
||||
dns_zone_flush(dns_zone_t *zone);
|
||||
/*%<
|
||||
* Write the zone to database if there are uncommited changes.
|
||||
* Write the zone to database if there are uncommitted changes.
|
||||
*
|
||||
* Require:
|
||||
*\li 'zone' to be a valid zone.
|
||||
|
|
@ -471,7 +471,7 @@ dns_zone_fulldumptostream(dns_zone_t *zone, FILE *fd);
|
|||
void
|
||||
dns_zone_maintenance(dns_zone_t *zone);
|
||||
/*%<
|
||||
* Perform regular maintenace on the zone. This is called as a
|
||||
* Perform regular maintenance on the zone. This is called as a
|
||||
* result of a zone being managed.
|
||||
*
|
||||
* Require
|
||||
|
|
@ -516,7 +516,7 @@ dns_zone_setalsonotify(dns_zone_t *zone, const isc_sockaddr_t *notify,
|
|||
* Require:
|
||||
*\li 'zone' to be a valid zone.
|
||||
*\li 'notify' to be non-NULL if count != 0.
|
||||
*\li 'count' to be the number of notifyees.
|
||||
*\li 'count' to be the number of notifiees.
|
||||
*
|
||||
* Returns:
|
||||
*\li #ISC_R_SUCCESS
|
||||
|
|
@ -954,13 +954,13 @@ isc_result_t
|
|||
dns_zone_notifyreceive(dns_zone_t *zone, isc_sockaddr_t *from,
|
||||
dns_message_t *msg);
|
||||
/*%<
|
||||
* Tell the zone that it has recieved a NOTIFY message from another
|
||||
* server. This may cause some zone maintainence activity to occur.
|
||||
* Tell the zone that it has received a NOTIFY message from another
|
||||
* server. This may cause some zone maintenance activity to occur.
|
||||
*
|
||||
* Requires:
|
||||
*\li 'zone' to be a valid zone.
|
||||
*\li '*from' to contain the address of the server from which 'msg'
|
||||
* was recieved.
|
||||
* was received.
|
||||
*\li 'msg' a message with opcode NOTIFY and qr clear.
|
||||
*
|
||||
* Returns:
|
||||
|
|
@ -1085,7 +1085,7 @@ dns_zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump);
|
|||
* If "dump" is ISC_TRUE, then the new zone contents are dumped
|
||||
* into to the zone's master file for persistence. When replacing
|
||||
* a zone database by one just loaded from a master file, set
|
||||
* "dump" to ISC_FALSE to avoid a redunant redump of the data just
|
||||
* "dump" to ISC_FALSE to avoid a redundant redump of the data just
|
||||
* loaded. Otherwise, it should be set to ISC_TRUE.
|
||||
*
|
||||
* If the "diff-on-reload" option is enabled in the configuration file,
|
||||
|
|
@ -1097,7 +1097,7 @@ dns_zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump);
|
|||
*
|
||||
* Returns:
|
||||
* \li DNS_R_SUCCESS
|
||||
* \li DNS_R_BADZONE zone failed basic consistancy checks:
|
||||
* \li DNS_R_BADZONE zone failed basic consistency checks:
|
||||
* * a single SOA must exist
|
||||
* * some NS records must exist.
|
||||
* Others
|
||||
|
|
@ -1230,7 +1230,7 @@ dns_zone_forwardupdate(dns_zone_t *zone, dns_message_t *msg,
|
|||
dns_updatecallback_t callback, void *callback_arg);
|
||||
/*%<
|
||||
* Forward 'msg' to each master in turn until we get an answer or we
|
||||
* have exausted the list of masters. 'callback' will be called with
|
||||
* have exhausted the list of masters. 'callback' will be called with
|
||||
* ISC_R_SUCCESS if we get an answer and the returned message will be
|
||||
* passed as 'answer_message', otherwise a non ISC_R_SUCCESS result code
|
||||
* will be passed and answer_message will be NULL. The callback function
|
||||
|
|
@ -1337,7 +1337,7 @@ isc_result_t
|
|||
dns_zonemgr_forcemaint(dns_zonemgr_t *zmgr);
|
||||
/*%<
|
||||
* Force zone maintenance of all zones managed by 'zmgr' at its
|
||||
* earliest conveniene.
|
||||
* earliest convenience.
|
||||
*/
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: gssapi.h,v 1.9 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: gssapi.h,v 1.9.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef DST_GSSAPI_H
|
||||
#define DST_GSSAPI_H 1
|
||||
|
|
@ -160,8 +160,8 @@ void
|
|||
gss_log(int level, const char *fmt, ...)
|
||||
ISC_FORMAT_PRINTF(2, 3);
|
||||
/*
|
||||
* Loging function for GSS.
|
||||
*
|
||||
* Logging function for GSS.
|
||||
*
|
||||
* Requires
|
||||
* 'level' is the log level to be used, as an integer
|
||||
* 'fmt' is a printf format specifier
|
||||
|
|
@ -187,7 +187,7 @@ dst_gssapi_identitymatchesrealmkrb5(dns_name_t *signer, dns_name_t *name,
|
|||
dns_name_t *realm);
|
||||
/*
|
||||
* Compare a "signer" (in the format of a Kerberos-format Kerberos5
|
||||
* printipal: host/example.com@EXAMPLE.COM) to the realm name stored
|
||||
* principal: host/example.com@EXAMPLE.COM) to the realm name stored
|
||||
* in "name" (which represents the realm name).
|
||||
*
|
||||
*/
|
||||
|
|
@ -197,7 +197,7 @@ dst_gssapi_identitymatchesrealmms(dns_name_t *signer, dns_name_t *name,
|
|||
dns_name_t *realm);
|
||||
/*
|
||||
* Compare a "signer" (in the format of a Kerberos-format Kerberos5
|
||||
* printipal: host/example.com@EXAMPLE.COM) to the realm name stored
|
||||
* principal: host/example.com@EXAMPLE.COM) to the realm name stored
|
||||
* in "name" (which represents the realm name).
|
||||
*
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: journal.c,v 1.103 2008/09/25 02:01:45 marka Exp $ */
|
||||
/* $Id: journal.c,v 1.103.48.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
#include <dns/soa.h>
|
||||
|
||||
/*! \file
|
||||
* \brief Journalling.
|
||||
* \brief Journaling.
|
||||
*
|
||||
* A journal file consists of
|
||||
*
|
||||
|
|
@ -172,7 +172,7 @@ dns_db_createsoatuple(dns_db_t *db, dns_dbversion_t *ver, isc_mem_t *mctx,
|
|||
return (result);
|
||||
}
|
||||
|
||||
/* Journalling */
|
||||
/* Journaling */
|
||||
|
||||
/*%
|
||||
* On-disk representation of a "pointer" to a journal entry.
|
||||
|
|
@ -641,7 +641,7 @@ journal_open(isc_mem_t *mctx, const char *filename, isc_boolean_t write,
|
|||
dns_rdata_init(&j->it.rdata);
|
||||
|
||||
/*
|
||||
* Set up empty initial buffers for uncheched and checked
|
||||
* Set up empty initial buffers for unchecked and checked
|
||||
* wire format RR data. They will be reallocated
|
||||
* later.
|
||||
*/
|
||||
|
|
@ -1237,7 +1237,7 @@ roll_forward(dns_journal_t *j, dns_db_t *db, unsigned int options) {
|
|||
dns_diff_init(j->mctx, &diff);
|
||||
|
||||
/*
|
||||
* Set up empty initial buffers for uncheched and checked
|
||||
* Set up empty initial buffers for unchecked and checked
|
||||
* wire format transaction data. They will be reallocated
|
||||
* later.
|
||||
*/
|
||||
|
|
@ -1409,7 +1409,7 @@ dns_journal_print(isc_mem_t *mctx, const char *filename, FILE *file) {
|
|||
dns_diff_init(j->mctx, &diff);
|
||||
|
||||
/*
|
||||
* Set up empty initial buffers for uncheched and checked
|
||||
* Set up empty initial buffers for unchecked and checked
|
||||
* wire format transaction data. They will be reallocated
|
||||
* later.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: master.c,v 1.171 2008/04/02 02:37:42 marka Exp $ */
|
||||
/* $Id: master.c,v 1.171.120.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -1835,7 +1835,7 @@ load_text(dns_loadctx_t *lctx) {
|
|||
/*
|
||||
* Find type in rdatalist.
|
||||
* If it does not exist create new one and prepend to list
|
||||
* as this will mimimise list traversal.
|
||||
* as this will minimise list traversal.
|
||||
*/
|
||||
if (ictx->glue != NULL)
|
||||
this = ISC_LIST_HEAD(glue_list);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: masterdump.c,v 1.94 2008/09/24 02:46:22 marka Exp $ */
|
||||
/* $Id: masterdump.c,v 1.94.50.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -284,7 +284,7 @@ totext_ctx_init(const dns_master_style_t *style, dns_totext_ctx_t *ctx) {
|
|||
/*
|
||||
* Do not return ISC_R_NOSPACE if the line break string
|
||||
* buffer is too small, because that would just make
|
||||
* dump_rdataset() retry indenfinitely with ever
|
||||
* dump_rdataset() retry indefinitely with ever
|
||||
* bigger target buffers. That's a different buffer,
|
||||
* so it won't help. Use DNS_R_TEXTTOOLONG as a substitute.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: message.c,v 1.245 2008/09/24 02:46:22 marka Exp $ */
|
||||
/* $Id: message.c,v 1.245.50.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -170,7 +170,7 @@ static const char *rcodetext[] = {
|
|||
/*%
|
||||
* "helper" type, which consists of a block of some type, and is linkable.
|
||||
* For it to work, sizeof(dns_msgblock_t) must be a multiple of the pointer
|
||||
* size, or the allocated elements will not be alligned correctly.
|
||||
* size, or the allocated elements will not be aligned correctly.
|
||||
*/
|
||||
struct dns_msgblock {
|
||||
unsigned int count;
|
||||
|
|
@ -1960,7 +1960,7 @@ dns_message_rendersection(dns_message_t *msg, dns_section_t sectionid,
|
|||
*
|
||||
* XXXMLG Need to change this when
|
||||
* dns_rdataset_towire() can render partial
|
||||
* sets starting at some arbitary point in the
|
||||
* sets starting at some arbitrary point in the
|
||||
* set. This will include setting a bit in the
|
||||
* rdataset to indicate that a partial
|
||||
* rendering was done, and some state saved
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: openssl_link.c,v 1.22 2008/04/05 23:47:11 tbox Exp $
|
||||
* $Id: openssl_link.c,v 1.22.112.1 2009/01/18 23:25:16 marka Exp $
|
||||
*/
|
||||
#ifdef OPENSSL
|
||||
|
||||
|
|
@ -252,7 +252,7 @@ dst__openssl_init() {
|
|||
for (e = ENGINE_get_first(); e != NULL; e = ENGINE_get_next(e)) {
|
||||
|
||||
/*
|
||||
* Something wierd here. If we call ENGINE_finish()
|
||||
* Something weird here. If we call ENGINE_finish()
|
||||
* ENGINE_get_default_RAND() will fail.
|
||||
*/
|
||||
if (ENGINE_init(e)) {
|
||||
|
|
@ -386,7 +386,7 @@ dst__openssl_setdefault(const char *name) {
|
|||
*
|
||||
* 'engine_id' is the openssl engine name.
|
||||
*
|
||||
* pre_cmds and post_cmds a sequence if command arguement pairs
|
||||
* pre_cmds and post_cmds a sequence if command argument pairs
|
||||
* pre_num and post_num are a count of those pairs.
|
||||
*
|
||||
* "SO_PATH", PKCS11_SO_PATH ("/usr/local/lib/engines/engine_pkcs11.so")
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: opensslrsa_link.c,v 1.20.50.2 2009/01/14 23:47:26 tbox Exp $
|
||||
* $Id: opensslrsa_link.c,v 1.20.50.3 2009/01/18 23:25:16 marka Exp $
|
||||
*/
|
||||
#ifdef OPENSSL
|
||||
#ifndef USE_EVP
|
||||
|
|
@ -64,8 +64,8 @@
|
|||
|
||||
|
||||
/*
|
||||
* XXXMPA Temporarially disable RSA_BLINDING as it requires
|
||||
* good quality random data that cannot currently be guarenteed.
|
||||
* XXXMPA Temporarily disable RSA_BLINDING as it requires
|
||||
* good quality random data that cannot currently be guaranteed.
|
||||
* XXXMPA Find which versions of openssl use pseudo random data
|
||||
* and set RSA_FLAG_BLINDING for those.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rbt.c,v 1.142 2008/09/24 02:46:22 marka Exp $ */
|
||||
/* $Id: rbt.c,v 1.142.50.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ struct dns_rbt {
|
|||
* Chain management.
|
||||
*
|
||||
* The "ancestors" member of chains were removed, with their job now
|
||||
* being wholy handled by parent pointers (which didn't exist, because
|
||||
* being wholly handled by parent pointers (which didn't exist, because
|
||||
* of memory concerns, when chains were first implemented).
|
||||
*/
|
||||
#define ADD_LEVEL(chain, node) \
|
||||
|
|
@ -1940,7 +1940,7 @@ dns_rbt_deletefromlevel(dns_rbtnode_t *delete, dns_rbtnode_t **rootp) {
|
|||
} else {
|
||||
/*
|
||||
* Child is parent's right child.
|
||||
* Everything is doen the same as above,
|
||||
* Everything is done the same as above,
|
||||
* except mirrored.
|
||||
*/
|
||||
sibling = LEFT(parent);
|
||||
|
|
@ -2513,7 +2513,7 @@ dns_rbtnodechain_next(dns_rbtnodechain_t *chain, dns_name_t *name,
|
|||
* reached without having traversed any left links, ascend one
|
||||
* level and look for either a right link off the point of
|
||||
* ascent, or search for a left link upward again, repeating
|
||||
* ascents until either case is true.
|
||||
* ascends until either case is true.
|
||||
*/
|
||||
do {
|
||||
while (! IS_ROOT(current)) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rbtdb.c,v 1.270 2008/11/14 14:07:48 marka Exp $ */
|
||||
/* $Id: rbtdb.c,v 1.270.12.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -621,7 +621,7 @@ static void setnsec3parameters(dns_db_t *db, rbtdb_version_t *version,
|
|||
/*%
|
||||
* 'init_count' is used to initialize 'newheader->count' which inturn
|
||||
* is used to determine where in the cycle rrset-order cyclic starts.
|
||||
* We don't lock this as we don't care about simultanious updates.
|
||||
* We don't lock this as we don't care about simultaneous updates.
|
||||
*
|
||||
* Note:
|
||||
* Both init_count and header->count can be ISC_UINT32_MAX.
|
||||
|
|
@ -4801,8 +4801,8 @@ expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) {
|
|||
|
||||
/*
|
||||
* Note that 'log' can be true IFF rbtdb->overmem is also true.
|
||||
* rbtdb->ovemem can currently only be true for cache databases
|
||||
* -- hence all of the "overmem cache" log strings.
|
||||
* rbtdb->overmem can currently only be true for cache
|
||||
* databases -- hence all of the "overmem cache" log strings.
|
||||
*/
|
||||
log = ISC_TF(isc_log_wouldlog(dns_lctx, level));
|
||||
if (log)
|
||||
|
|
@ -5942,7 +5942,7 @@ addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
|
|||
|
||||
/*
|
||||
* Update the zone's secure status. If version is non-NULL
|
||||
* this is defered until closeversion() is called.
|
||||
* this is deferred until closeversion() is called.
|
||||
*/
|
||||
if (result == ISC_R_SUCCESS && version == NULL && !IS_CACHE(rbtdb))
|
||||
iszonesecure(db, version, rbtdb->origin_node);
|
||||
|
|
@ -6126,7 +6126,7 @@ subtractrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
|
|||
|
||||
/*
|
||||
* Update the zone's secure status. If version is non-NULL
|
||||
* this is defered until closeversion() is called.
|
||||
* this is deferred until closeversion() is called.
|
||||
*/
|
||||
if (result == ISC_R_SUCCESS && version == NULL && !IS_CACHE(rbtdb))
|
||||
iszonesecure(db, rbtdb->current_version, rbtdb->origin_node);
|
||||
|
|
@ -6181,7 +6181,7 @@ deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
|
|||
|
||||
/*
|
||||
* Update the zone's secure status. If version is non-NULL
|
||||
* this is defered until closeversion() is called.
|
||||
* this is deferred until closeversion() is called.
|
||||
*/
|
||||
if (result == ISC_R_SUCCESS && version == NULL && !IS_CACHE(rbtdb))
|
||||
iszonesecure(db, rbtdb->current_version, rbtdb->origin_node);
|
||||
|
|
@ -6872,7 +6872,7 @@ dns_rbtdb_create
|
|||
isc_mem_attach(mctx, &rbtdb->common.mctx);
|
||||
|
||||
/*
|
||||
* Must be initalized before free_rbtdb() is called.
|
||||
* Must be initialized before free_rbtdb() is called.
|
||||
*/
|
||||
isc_ondestroy_init(&rbtdb->common.ondest);
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ipseckey_45.c,v 1.4 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: ipseckey_45.c,v 1.4.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef RDATA_GENERIC_IPSECKEY_45_C
|
||||
#define RDATA_GENERIC_IPSECKEY_45_C
|
||||
|
|
@ -131,15 +131,15 @@ totext_ipseckey(ARGS_TOTEXT) {
|
|||
|
||||
dns_name_init(&name, NULL);
|
||||
dns_name_init(&prefix, NULL);
|
||||
|
||||
|
||||
if (rdata->data[1] > 3U)
|
||||
return (ISC_R_NOTIMPLEMENTED);
|
||||
|
||||
if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
|
||||
RETERR(str_totext("( ", target));
|
||||
if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
|
||||
RETERR(str_totext("( ", target));
|
||||
|
||||
/*
|
||||
* Precendence.
|
||||
* Precedence.
|
||||
*/
|
||||
dns_rdata_toregion(rdata, ®ion);
|
||||
num = uint8_fromregion(®ion);
|
||||
|
|
@ -198,14 +198,14 @@ totext_ipseckey(ARGS_TOTEXT) {
|
|||
tctx->linebreak, target));
|
||||
}
|
||||
|
||||
if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
|
||||
RETERR(str_totext(" )", target));
|
||||
if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
|
||||
RETERR(str_totext(" )", target));
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
static inline isc_result_t
|
||||
fromwire_ipseckey(ARGS_FROMWIRE) {
|
||||
dns_name_t name;
|
||||
dns_name_t name;
|
||||
isc_region_t region;
|
||||
|
||||
REQUIRE(type == 45);
|
||||
|
|
@ -215,7 +215,7 @@ fromwire_ipseckey(ARGS_FROMWIRE) {
|
|||
|
||||
dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
|
||||
|
||||
dns_name_init(&name, NULL);
|
||||
dns_name_init(&name, NULL);
|
||||
|
||||
isc_buffer_activeregion(source, ®ion);
|
||||
if (region.length < 3)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: loc_29.c,v 1.45 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: loc_29.c,v 1.45.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/* Reviewed: Wed Mar 15 18:13:09 PST 2000 by explorer */
|
||||
|
||||
|
|
@ -616,7 +616,7 @@ fromwire_loc(ARGS_FROMWIRE) {
|
|||
return (ISC_R_RANGE);
|
||||
|
||||
/*
|
||||
* Altitiude.
|
||||
* Altitude.
|
||||
* All values possible.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nsec3_50.c,v 1.4 2008/09/25 04:02:39 tbox Exp $ */
|
||||
/* $Id: nsec3_50.c,v 1.4.48.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2004 Nominet, Ltd.
|
||||
|
|
@ -238,7 +238,7 @@ fromwire_nsec3(ARGS_FROMWIRE) {
|
|||
isc_buffer_activeregion(source, &sr);
|
||||
rr = sr;
|
||||
|
||||
/* hash(1), flags(1), interation(2), saltlen(1) */
|
||||
/* hash(1), flags(1), iteration(2), saltlen(1) */
|
||||
if (sr.length < 5U)
|
||||
RETERR(DNS_R_FORMERR);
|
||||
saltlen = sr.base[4];
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nsec3param_51.c,v 1.4 2008/09/25 04:02:39 tbox Exp $ */
|
||||
/* $Id: nsec3param_51.c,v 1.4.48.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2004 Nominet, Ltd.
|
||||
|
|
@ -156,7 +156,7 @@ fromwire_nsec3param(ARGS_FROMWIRE) {
|
|||
isc_buffer_activeregion(source, &sr);
|
||||
rr = sr;
|
||||
|
||||
/* hash(1), flags(1), interations(2), saltlen(1) */
|
||||
/* hash(1), flags(1), iterations(2), saltlen(1) */
|
||||
if (sr.length < 5U)
|
||||
RETERR(DNS_R_FORMERR);
|
||||
saltlen = sr.base[4];
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rdataset.c,v 1.82 2008/09/24 02:46:22 marka Exp $ */
|
||||
/* $Id: rdataset.c,v 1.82.50.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -342,7 +342,7 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name,
|
|||
}
|
||||
|
||||
/*
|
||||
* Do we want to shuffle this anwer?
|
||||
* Do we want to shuffle this answer?
|
||||
*/
|
||||
if (!question && count > 1 &&
|
||||
(!WANT_FIXED(rdataset) || order != NULL) &&
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rdataslab.c,v 1.48 2008/09/24 02:46:22 marka Exp $ */
|
||||
/* $Id: rdataslab.c,v 1.48.50.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
*
|
||||
* DNSSEC order traversal is performed by walking the data records.
|
||||
*
|
||||
* The order is stored with record to allow for efficient reconstuction of
|
||||
* The order is stored with record to allow for efficient reconstruction
|
||||
* of the offset table following a merge or subtraction.
|
||||
*
|
||||
* The iterator methods here currently only support DNSSEC order iteration.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: request.c,v 1.82 2008/07/22 03:43:04 marka Exp $ */
|
||||
/* $Id: request.c,v 1.82.72.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ struct dns_request {
|
|||
#define DNS_REQUEST_F_SENDING 0x0002
|
||||
#define DNS_REQUEST_F_CANCELED 0x0004 /*%< ctlevent received, or otherwise
|
||||
synchronously canceled */
|
||||
#define DNS_REQUEST_F_TIMEDOUT 0x0008 /*%< cancelled due to a timeout */
|
||||
#define DNS_REQUEST_F_TIMEDOUT 0x0008 /*%< canceled due to a timeout */
|
||||
#define DNS_REQUEST_F_TCP 0x0010 /*%< This request used TCP */
|
||||
#define DNS_REQUEST_CANCELED(r) \
|
||||
(((r)->flags & DNS_REQUEST_F_CANCELED) != 0)
|
||||
|
|
@ -197,7 +197,7 @@ dns_requestmgr_create(isc_mem_t *mctx,
|
|||
dns_dispatch_attach(dispatchv6, &requestmgr->dispatchv6);
|
||||
requestmgr->mctx = NULL;
|
||||
isc_mem_attach(mctx, &requestmgr->mctx);
|
||||
requestmgr->eref = 1; /* implict attach */
|
||||
requestmgr->eref = 1; /* implicit attach */
|
||||
requestmgr->iref = 0;
|
||||
ISC_LIST_INIT(requestmgr->whenshutdown);
|
||||
ISC_LIST_INIT(requestmgr->requests);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: resolver.c,v 1.384.14.4 2009/01/07 23:47:16 tbox Exp $ */
|
||||
/* $Id: resolver.c,v 1.384.14.5 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -3839,7 +3839,7 @@ validated(isc_task_t *task, isc_event_t *event) {
|
|||
/*
|
||||
* If we are asking for a SOA record set the cache time
|
||||
* to zero to facilitate locating the containing zone of
|
||||
* a arbitary zone.
|
||||
* a arbitrary zone.
|
||||
*/
|
||||
ttl = fctx->res->view->maxncachettl;
|
||||
if (fctx->type == dns_rdatatype_soa &&
|
||||
|
|
@ -4266,7 +4266,7 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_adbaddrinfo_t *addrinfo,
|
|||
* Defer any further validations.
|
||||
* This prevents multiple validators
|
||||
* from manipulating fctx->rmessage
|
||||
* simultaniously.
|
||||
* simultaneously.
|
||||
*/
|
||||
valoptions |= DNS_VALIDATOR_DEFER;
|
||||
}
|
||||
|
|
@ -4582,7 +4582,7 @@ ncache_message(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo,
|
|||
/*
|
||||
* If we are asking for a SOA record set the cache time
|
||||
* to zero to facilitate locating the containing zone of
|
||||
* a arbitary zone.
|
||||
* a arbitrary zone.
|
||||
*/
|
||||
ttl = fctx->res->view->maxncachettl;
|
||||
if (fctx->type == dns_rdatatype_soa &&
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: spnego.c,v 1.8 2008/04/03 06:09:04 tbox Exp $ */
|
||||
/* $Id: spnego.c,v 1.8.118.1 2009/01/18 23:25:16 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
* \brief
|
||||
|
|
@ -1731,7 +1731,7 @@ spnego_reply(OM_uint32 *minor_status,
|
|||
* to check the MIC -- our preferred mechanism (Kerberos)
|
||||
* authenticates its own messages and is the only mechanism
|
||||
* we'll accept, so if the mechanism negotiation completes
|
||||
* sucessfully, we don't need the MIC. See RFC 4178.
|
||||
* successfully, we don't need the MIC. See RFC 4178.
|
||||
*/
|
||||
|
||||
free_NegTokenResp(&resp);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: time.c,v 1.31 2007/06/19 23:47:16 tbox Exp $ */
|
||||
/* $Id: time.c,v 1.31.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ dns_time64_fromtext(const char *source, isc_int64_t *target) {
|
|||
RANGE(0, 60, second); /* 60 == leap second. */
|
||||
|
||||
/*
|
||||
* Calulate seconds since epoch.
|
||||
* Calculate seconds since epoch.
|
||||
*/
|
||||
value = second + (60 * minute) + (3600 * hour) + ((day - 1) * 86400);
|
||||
for (i = 0; i < (month - 1); i++)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: validator.c,v 1.164.12.2 2009/01/05 23:47:23 tbox Exp $ */
|
||||
/* $Id: validator.c,v 1.164.12.3 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
#define VALID_VALIDATOR(v) ISC_MAGIC_VALID(v, VALIDATOR_MAGIC)
|
||||
|
||||
#define VALATTR_SHUTDOWN 0x0001 /*%< Shutting down. */
|
||||
#define VALATTR_CANCELED 0x0002 /*%< Cancelled. */
|
||||
#define VALATTR_CANCELED 0x0002 /*%< Canceled. */
|
||||
#define VALATTR_TRIEDVERIFY 0x0004 /*%< We have found a key and
|
||||
* have attempted a verify. */
|
||||
#define VALATTR_INSECURITY 0x0010 /*%< Attempting proveunsecure. */
|
||||
|
|
@ -1064,7 +1064,7 @@ nsec3noexistnodata(dns_validator_t *val, dns_name_t* name,
|
|||
* closest encloser that doesn't exist.
|
||||
*
|
||||
* We also need to continue to ensure that we are not
|
||||
* proving the non-existance of a record in a sub-zone.
|
||||
* proving the non-existence of a record in a sub-zone.
|
||||
* If that would be the case we will return ISC_R_IGNORE
|
||||
* above.
|
||||
*/
|
||||
|
|
@ -1509,7 +1509,7 @@ get_dst_key(dns_validator_t *val, dns_rdata_rrsig_t *siginfo,
|
|||
}
|
||||
|
||||
/*%
|
||||
* Get the key that genertated this signature.
|
||||
* Get the key that generated this signature.
|
||||
*/
|
||||
static isc_result_t
|
||||
get_key(dns_validator_t *val, dns_rdata_rrsig_t *siginfo) {
|
||||
|
|
@ -2992,7 +2992,7 @@ dlvfetched(isc_task_t *task, isc_event_t *event) {
|
|||
}
|
||||
|
||||
/*%
|
||||
* Start the DLV lookup proccess.
|
||||
* Start the DLV lookup process.
|
||||
*
|
||||
* Returns
|
||||
* \li ISC_R_SUCCESS
|
||||
|
|
@ -3422,7 +3422,7 @@ dlv_validator_start(dns_validator_t *val) {
|
|||
/*%
|
||||
* Start the validation process.
|
||||
*
|
||||
* Attempt to valididate the answer based on the category it appears to
|
||||
* Attempt to validate the answer based on the category it appears to
|
||||
* fall in.
|
||||
* \li 1. secure positive answer.
|
||||
* \li 2. unsecure positive answer.
|
||||
|
|
@ -3443,7 +3443,7 @@ validator_start(isc_task_t *task, isc_event_t *event) {
|
|||
vevent = (dns_validatorevent_t *)event;
|
||||
val = vevent->validator;
|
||||
|
||||
/* If the validator has been cancelled, val->event == NULL */
|
||||
/* If the validator has been canceled, val->event == NULL */
|
||||
if (val->event == NULL)
|
||||
return;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.483 2008/10/24 00:28:00 marka Exp $ */
|
||||
/* $Id: zone.c,v 1.483.36.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -331,7 +331,7 @@ struct dns_zone {
|
|||
* reload */
|
||||
#define DNS_ZONEFLG_NOMASTERS 0x00001000U /*%< an attempt to refresh a
|
||||
* zone with no masters
|
||||
* occured */
|
||||
* occurred */
|
||||
#define DNS_ZONEFLG_LOADING 0x00002000U /*%< load from disk in progress*/
|
||||
#define DNS_ZONEFLG_HAVETIMERS 0x00004000U /*%< timer values have been set
|
||||
* from SOA (if not set, we
|
||||
|
|
@ -3345,7 +3345,7 @@ dns_zone_setmasterswithkeys(dns_zone_t *zone,
|
|||
goto unlock;
|
||||
|
||||
/*
|
||||
* masters must countain count elements!
|
||||
* masters must contain count elements!
|
||||
*/
|
||||
new = isc_mem_get(zone->mctx, count * sizeof(*new));
|
||||
if (new == NULL) {
|
||||
|
|
@ -4736,7 +4736,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
|||
check_ksk = ksk_sanity(db, version);
|
||||
|
||||
/*
|
||||
* We keep pulling nodes off each interator in turn until
|
||||
* We keep pulling nodes off each iterator in turn until
|
||||
* we have no more nodes to pull off or we reach the limits
|
||||
* for this quantum.
|
||||
*/
|
||||
|
|
@ -5521,7 +5521,7 @@ zone_sign(dns_zone_t *zone) {
|
|||
check_ksk = ksk_sanity(db, version);
|
||||
|
||||
/*
|
||||
* We keep pulling nodes off each interator in turn until
|
||||
* We keep pulling nodes off each iterator in turn until
|
||||
* we have no more nodes to pull off or we reach the limits
|
||||
* for this quantum.
|
||||
*/
|
||||
|
|
@ -6015,7 +6015,7 @@ void
|
|||
dns_zone_markdirty(dns_zone_t *zone) {
|
||||
|
||||
LOCK_ZONE(zone);
|
||||
set_resigntime(zone); /* XXXMPA make seperate call back */
|
||||
set_resigntime(zone); /* XXXMPA make separate call back */
|
||||
zone_needdump(zone, DNS_DUMP_DELAY);
|
||||
UNLOCK_ZONE(zone);
|
||||
}
|
||||
|
|
@ -6965,7 +6965,7 @@ zone_notify(dns_zone_t *zone, isc_time_t *now) {
|
|||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||
dns_rdata_reset(&rdata);
|
||||
/*
|
||||
* Don't notify the master server unless explictly
|
||||
* Don't notify the master server unless explicitly
|
||||
* configured to do so.
|
||||
*/
|
||||
if (!DNS_ZONE_OPTION(zone, DNS_ZONEOPT_NOTIFYTOSOA) &&
|
||||
|
|
@ -7484,7 +7484,7 @@ refresh_callback(isc_task_t *task, isc_event_t *event) {
|
|||
"master %s (source %s)", (int)rb.used, rcode,
|
||||
master, source);
|
||||
/*
|
||||
* Perhaps AXFR/IXFR is allowed even if SOA queries arn't.
|
||||
* Perhaps AXFR/IXFR is allowed even if SOA queries aren't.
|
||||
*/
|
||||
if (msg->rcode == dns_rcode_refused &&
|
||||
zone->type == dns_zone_slave)
|
||||
|
|
@ -9462,7 +9462,7 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
|
|||
|
||||
/*
|
||||
* The initial version of a slave zone is always dumped;
|
||||
* subsequent versions may be journalled instead if this
|
||||
* subsequent versions may be journaled instead if this
|
||||
* is enabled in the configuration.
|
||||
*/
|
||||
if (zone->db != NULL && zone->journal != NULL &&
|
||||
|
|
@ -9545,7 +9545,7 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
|
|||
* The in-memory database just changed, and
|
||||
* because 'dump' is set, it didn't change by
|
||||
* being loaded from disk. Also, we have not
|
||||
* journalled diffs for this change.
|
||||
* journaled diffs for this change.
|
||||
* Therefore, the on-disk journal is missing
|
||||
* the deltas for this change. Since it can
|
||||
* no longer be used to bring the zone
|
||||
|
|
@ -9712,7 +9712,7 @@ zone_xfrdone(dns_zone_t *zone, isc_result_t result) {
|
|||
}
|
||||
|
||||
/*
|
||||
* This is not neccessary if we just performed a AXFR
|
||||
* This is not necessary if we just performed a AXFR
|
||||
* however it is necessary for an IXFR / UPTODATE and
|
||||
* won't hurt with an AXFR.
|
||||
*/
|
||||
|
|
@ -10922,7 +10922,7 @@ zone_saveunique(dns_zone_t *zone, const char *path, const char *templat) {
|
|||
}
|
||||
|
||||
#if 0
|
||||
/* Hook for ondestroy notifcation from a database. */
|
||||
/* Hook for ondestroy notification from a database. */
|
||||
|
||||
static void
|
||||
dns_zonemgr_dbdestroyed(isc_task_t *task, isc_event_t *event) {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: base32.c,v 1.3 2008/04/04 23:47:01 tbox Exp $ */
|
||||
/* $Id: base32.c,v 1.3.116.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -171,7 +171,7 @@ base32_decode_char(base32_decode_ctx_t *ctx, int c) {
|
|||
if (last > 32)
|
||||
last -= 33;
|
||||
/*
|
||||
* Check that padding is contigious.
|
||||
* Check that padding is contiguous.
|
||||
*/
|
||||
if (last != 32 && ctx->seen_32 != 0)
|
||||
return (ISC_R_BADBASE32);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: entropy.c,v 1.18 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: entropy.c,v 1.18.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
* \brief
|
||||
|
|
@ -290,7 +290,7 @@ entropypool_add_word(isc_entropypool_t *rp, isc_uint32_t val) {
|
|||
* If we have looped around the pool, increment the rotate
|
||||
* variable so the next value will get xored in rotated to
|
||||
* a different position.
|
||||
* Increment by a value that is relativly prime to the word size
|
||||
* Increment by a value that is relatively prime to the word size
|
||||
* to try to spread the bits throughout the pool quickly when the
|
||||
* pool is empty.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: entropy.h,v 1.32 2007/06/19 23:47:18 tbox Exp $ */
|
||||
/* $Id: entropy.h,v 1.32.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_ENTROPY_H
|
||||
#define ISC_ENTROPY_H 1
|
||||
|
|
@ -74,7 +74,7 @@ typedef void (*isc_entropystop_t)(isc_entropysource_t *source, void *arg);
|
|||
***/
|
||||
|
||||
/*!
|
||||
* \brief
|
||||
* \brief
|
||||
* Extract only "good" data; return failure if there is not enough
|
||||
* data available and there are no sources which we can poll to get
|
||||
* data, or those sources are empty.
|
||||
|
|
@ -103,7 +103,7 @@ typedef void (*isc_entropystop_t)(isc_entropysource_t *source, void *arg);
|
|||
/*!
|
||||
* \brief
|
||||
* Estimate the amount of entropy contained in the sample pool.
|
||||
* If this is not set, the source will be gathered and perodically
|
||||
* If this is not set, the source will be gathered and periodically
|
||||
* mixed into the entropy pool, but no increment in contained entropy
|
||||
* will be assumed. This flag only makes sense on sample sources.
|
||||
*/
|
||||
|
|
@ -113,12 +113,12 @@ typedef void (*isc_entropystop_t)(isc_entropysource_t *source, void *arg);
|
|||
* For use with isc_entropy_usebestsource().
|
||||
*/
|
||||
/*!
|
||||
* \brief
|
||||
* \brief
|
||||
* Use the keyboard as the only entropy source.
|
||||
*/
|
||||
#define ISC_ENTROPY_KEYBOARDYES 1
|
||||
/*!
|
||||
* \brief
|
||||
* \brief
|
||||
* Never use the keyboard as an entropy source.
|
||||
*/
|
||||
#define ISC_ENTROPY_KEYBOARDNO 2
|
||||
|
|
@ -194,7 +194,7 @@ isc_entropy_createcallbacksource(isc_entropy_t *ent,
|
|||
void *arg,
|
||||
isc_entropysource_t **sourcep);
|
||||
/*!<
|
||||
* \brief Create an entropy source that is polled via a callback.
|
||||
* \brief Create an entropy source that is polled via a callback.
|
||||
*
|
||||
* This would
|
||||
* be used when keyboard input is used, or a GUI input method. It can
|
||||
|
|
@ -220,7 +220,7 @@ isc_result_t
|
|||
isc_entropy_addsample(isc_entropysource_t *source, isc_uint32_t sample,
|
||||
isc_uint32_t extra);
|
||||
/*!<
|
||||
* \brief Add a sample to the sample source.
|
||||
* \brief Add a sample to the sample source.
|
||||
*
|
||||
* The sample MUST be a timestamp
|
||||
* that increases over time, with the exception of wrap-around for
|
||||
|
|
@ -282,11 +282,11 @@ isc_entropy_usebestsource(isc_entropy_t *ectx, isc_entropysource_t **source,
|
|||
*
|
||||
* Notes:
|
||||
*\li If "randomfile" is not NULL, open it with
|
||||
* isc_entropy_createfilesource().
|
||||
* isc_entropy_createfilesource().
|
||||
*
|
||||
*\li If "randomfile" is NULL and the system's random device was detected
|
||||
* when the program was configured and built, open that device with
|
||||
* isc_entropy_createfilesource().
|
||||
* isc_entropy_createfilesource().
|
||||
*
|
||||
*\li If "use_keyboard" is #ISC_ENTROPY_KEYBOARDYES, then always open
|
||||
* the keyboard as an entropy source (possibly in addition to
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: file.h,v 1.33 2007/06/19 23:47:18 tbox Exp $ */
|
||||
/* $Id: file.h,v 1.33.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_FILE_H
|
||||
#define ISC_FILE_H 1
|
||||
|
|
@ -35,7 +35,7 @@ isc_file_settime(const char *file, isc_time_t *time);
|
|||
isc_result_t
|
||||
isc_file_getmodtime(const char *file, isc_time_t *time);
|
||||
/*!<
|
||||
* \brief Get the time of last modication of a file.
|
||||
* \brief Get the time of last modification of a file.
|
||||
*
|
||||
* Notes:
|
||||
*\li The time that is set is relative to the (OS-specific) epoch, as are
|
||||
|
|
@ -204,7 +204,7 @@ isc_result_t
|
|||
isc_file_progname(const char *filename, char *buf, size_t buflen);
|
||||
/*!<
|
||||
* \brief Given an operating system specific file name "filename"
|
||||
* referring to a program, return the canonical program name.
|
||||
* referring to a program, return the canonical program name.
|
||||
*
|
||||
*
|
||||
* Any directory prefix or executable file name extension (if
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: fsaccess.h,v 1.14 2007/06/19 23:47:18 tbox Exp $ */
|
||||
/* $Id: fsaccess.h,v 1.14.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_FSACCESS_H
|
||||
#define ISC_FSACCESS_H 1
|
||||
|
|
@ -25,8 +25,8 @@
|
|||
* and directory access permissions into one API that is meant to be
|
||||
* portable to multiple operating systems.
|
||||
*
|
||||
* The two primary operating system flavors that are initially accomodated are
|
||||
* POSIX and Windows NT 4.0 and later. The Windows NT access model is
|
||||
* The two primary operating system flavors that are initially accommodated
|
||||
* are POSIX and Windows NT 4.0 and later. The Windows NT access model is
|
||||
* considerable more flexible than POSIX's model (as much as I am loathe to
|
||||
* admit it), and so the ISC API has a higher degree of complexity than would
|
||||
* be needed to simply address POSIX's needs.
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
*
|
||||
* The rest of this comment discusses a few of the incompatibilities
|
||||
* between the two systems that need more thought if this API is to
|
||||
* be extended to accomodate them.
|
||||
* be extended to accommodate them.
|
||||
*
|
||||
* The Windows standard access right "DELETE" doesn't have a direct
|
||||
* equivalent in the Unix world, so it isn't clear what should be done
|
||||
|
|
@ -98,7 +98,7 @@
|
|||
* of allowing users to create files in a directory but not delete or
|
||||
* rename them, it does not have a concept of allowing them to be deleted
|
||||
* if they are owned by the user trying to delete/rename. While it is
|
||||
* probable that something could be cobbled together in NT 5 with inheritence,
|
||||
* probable that something could be cobbled together in NT 5 with inheritance,
|
||||
* it can't really be done in NT 4 as a single property that you could
|
||||
* set on a directory. You'd need to coordinate something with file creation
|
||||
* so that every file created had DELETE set for the owner but noone else.
|
||||
|
|
@ -156,7 +156,7 @@
|
|||
* Adding any permission bits beyond 0x200 would mean typedef'ing
|
||||
* isc_fsaccess_t as isc_uint64_t, and redefining this value to
|
||||
* reflect the new range of permission types, Probably to 21 for
|
||||
* maximum flexibility. The number of bits has to accomodate all of
|
||||
* maximum flexibility. The number of bits has to accommodate all of
|
||||
* the permission types, and three full sets of them have to fit
|
||||
* within an isc_fsaccess_t.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: hash.h,v 1.10 2007/06/19 23:47:18 tbox Exp $ */
|
||||
/* $Id: hash.h,v 1.10.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_HASH_H
|
||||
#define ISC_HASH_H 1
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
* in the random vector are unpredictable, the probability of hash
|
||||
* collision between arbitrary two different values is at most 1/2^16.
|
||||
*
|
||||
* Altough the API is generic about the hash keys, it mainly expects
|
||||
* Although the API is generic about the hash keys, it mainly expects
|
||||
* DNS names (and sometimes IPv4/v6 addresses) as inputs. It has an
|
||||
* upper limit of the input length, and may run slow to calculate the
|
||||
* hash values for large inputs.
|
||||
|
|
@ -135,7 +135,7 @@ isc_hash_ctxinit(isc_hash_t *hctx);
|
|||
void
|
||||
isc_hash_init(void);
|
||||
/*!<
|
||||
* \brief Initialize a hash object.
|
||||
* \brief Initialize a hash object.
|
||||
*
|
||||
* It fills in the random vector with a proper
|
||||
* source of entropy, which is typically from the entropy object specified
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: heap.h,v 1.24 2007/06/19 23:47:18 tbox Exp $ */
|
||||
/* $Id: heap.h,v 1.24.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_HEAP_H
|
||||
#define ISC_HEAP_H 1
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
ISC_LANG_BEGINDECLS
|
||||
|
||||
/*%
|
||||
* The comparision function returns ISC_TRUE if the first argument has
|
||||
* The comparison function returns ISC_TRUE if the first argument has
|
||||
* higher priority than the second argument, and ISC_FALSE otherwise.
|
||||
*/
|
||||
typedef isc_boolean_t (*isc_heapcompare_t)(void *, void *);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: log.h,v 1.54.332.3 2009/01/06 23:47:26 tbox Exp $ */
|
||||
/* $Id: log.h,v 1.54.332.4 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_LOG_H
|
||||
#define ISC_LOG_H 1
|
||||
|
|
@ -477,7 +477,7 @@ isc_log_usechannel(isc_logconfig_t *lcfg, const char *name,
|
|||
* number of named channels.) When multiple channels of the same
|
||||
* name are defined, the most recent definition is found.
|
||||
*
|
||||
*\li Specifing a very large number of channels for a category will have
|
||||
*\li Specifying a very large number of channels for a category will have
|
||||
* a moderate impact on performance in isc_log_write(), as each
|
||||
* call looks up the category for the start of a linked list, which
|
||||
* it follows all the way to the end to find matching modules. The
|
||||
|
|
@ -546,7 +546,7 @@ isc_log_usechannel(isc_logconfig_t *lcfg, const char *name,
|
|||
*\li lctx is a valid logging context.
|
||||
*
|
||||
*\li The category and module arguments must have ids that are in the
|
||||
* range of known ids, as estabished by isc_log_registercategories()
|
||||
* range of known ids, as established by isc_log_registercategories()
|
||||
* and isc_log_registermodules().
|
||||
*
|
||||
*\li level != #ISC_LOG_DYNAMIC. ISC_LOG_DYNAMIC is used only to define
|
||||
|
|
@ -585,7 +585,7 @@ ISC_FORMAT_PRINTF(5, 6);
|
|||
*\li lctx is a valid logging context.
|
||||
*
|
||||
*\li The category and module arguments must have ids that are in the
|
||||
* range of known ids, as estabished by isc_log_registercategories()
|
||||
* range of known ids, as established by isc_log_registercategories()
|
||||
* and isc_log_registermodules().
|
||||
*
|
||||
*\li level != #ISC_LOG_DYNAMIC. ISC_LOG_DYNAMIC is used only to define
|
||||
|
|
@ -824,7 +824,7 @@ isc_log_opensyslog(const char *tag, int options, int facility);
|
|||
* declared facility.
|
||||
* \endcode
|
||||
*
|
||||
*\li Zero effort has been made (yet) to accomodate systems with openlog()
|
||||
*\li Zero effort has been made (yet) to accommodate systems with openlog()
|
||||
* that only takes two arguments, or to identify valid syslog
|
||||
* facilities or options for any given architecture.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: mem.h,v 1.78 2008/03/31 05:00:30 marka Exp $ */
|
||||
/* $Id: mem.h,v 1.78.120.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_MEM_H
|
||||
#define ISC_MEM_H 1
|
||||
|
|
@ -94,7 +94,7 @@ LIBISC_EXTERNAL_DATA extern unsigned int isc_mem_debugging;
|
|||
/*!<
|
||||
* The variable isc_mem_debugging holds a set of flags for
|
||||
* turning certain memory debugging options on or off at
|
||||
* runtime. Its is intialized to the value ISC_MEM_DEGBUGGING,
|
||||
* runtime. It is initialized to the value ISC_MEM_DEGBUGGING,
|
||||
* which is 0 by default but may be overridden at compile time.
|
||||
* The following flags can be specified:
|
||||
*
|
||||
|
|
@ -106,7 +106,7 @@ LIBISC_EXTERNAL_DATA extern unsigned int isc_mem_debugging;
|
|||
* Crash if a free doesn't match an allocation.
|
||||
*
|
||||
* \li #ISC_MEM_DEBUGUSAGE
|
||||
* If a hi_water mark is set, print the maximium inuse memory
|
||||
* If a hi_water mark is set, print the maximum inuse memory
|
||||
* every time it is raised once it exceeds the hi_water mark.
|
||||
*
|
||||
* \li #ISC_MEM_DEBUGSIZE
|
||||
|
|
@ -158,7 +158,7 @@ LIBISC_EXTERNAL_DATA extern unsigned int isc_mem_debugging;
|
|||
#define isc_mempool_get(c) isc__mempool_get((c) _ISC_MEM_FILELINE)
|
||||
|
||||
/*%
|
||||
* isc_mem_putanddetach() is a convienence function for use where you
|
||||
* isc_mem_putanddetach() is a convenience function for use where you
|
||||
* have a structure with an attached memory context.
|
||||
*
|
||||
* Given:
|
||||
|
|
@ -341,12 +341,12 @@ isc_mem_setwater(isc_mem_t *mctx, isc_mem_water_t water, void *water_arg,
|
|||
*
|
||||
* When the memory usage of 'mctx' exceeds 'hiwater',
|
||||
* '(water)(water_arg, #ISC_MEM_HIWATER)' will be called. 'water' needs to
|
||||
* call isc_mem_waterack() with #ISC_MEM_HIWATER to acknowlege the state
|
||||
* call isc_mem_waterack() with #ISC_MEM_HIWATER to acknowledge the state
|
||||
* change. 'water' may be called multiple times.
|
||||
*
|
||||
* When the usage drops below 'lowater', 'water' will again be called, this
|
||||
* time with #ISC_MEM_LOWATER. 'water' need to calls isc_mem_waterack() with
|
||||
* #ISC_MEM_LOWATER to acknowlege the change.
|
||||
* #ISC_MEM_LOWATER to acknowledge the change.
|
||||
*
|
||||
* static void
|
||||
* water(void *arg, int mark) {
|
||||
|
|
@ -373,7 +373,7 @@ isc_mem_setwater(isc_mem_t *mctx, isc_mem_water_t water, void *water_arg,
|
|||
void
|
||||
isc_mem_waterack(isc_mem_t *ctx, int mark);
|
||||
/*%<
|
||||
* Called to acknowledge changes in signalled by calls to 'water'.
|
||||
* Called to acknowledge changes in signaled by calls to 'water'.
|
||||
*/
|
||||
|
||||
void
|
||||
|
|
@ -512,7 +512,7 @@ isc_mempool_associatelock(isc_mempool_t *mpctx, isc_mutex_t *lock);
|
|||
* and it is also used to set or get internal state via the isc_mempool_get*()
|
||||
* and isc_mempool_set*() set of functions.
|
||||
*
|
||||
* Mutiple pools can each share a single lock. For instance, if "manager"
|
||||
* Multiple pools can each share a single lock. For instance, if "manager"
|
||||
* type object contained pools for various sizes of events, and each of
|
||||
* these pools used a common lock. Note that this lock must NEVER be used
|
||||
* by other than mempool routines once it is given to a pool, since that can
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: netaddr.h,v 1.35 2007/06/18 23:47:44 tbox Exp $ */
|
||||
/* $Id: netaddr.h,v 1.35.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_NETADDR_H
|
||||
#define ISC_NETADDR_H 1
|
||||
|
|
@ -36,7 +36,7 @@ ISC_LANG_BEGINDECLS
|
|||
struct isc_netaddr {
|
||||
unsigned int family;
|
||||
union {
|
||||
struct in_addr in;
|
||||
struct in_addr in;
|
||||
struct in6_addr in6;
|
||||
#ifdef ISC_PLATFORM_HAVESYSUNH
|
||||
char un[sizeof(((struct sockaddr_un *)0)->sun_path)];
|
||||
|
|
@ -171,7 +171,7 @@ isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen);
|
|||
* Returns:
|
||||
* ISC_R_SUCCESS
|
||||
* ISC_R_RANGE prefixlen out of range
|
||||
* ISC_R_NOTIMPLENTED unsupported family
|
||||
* ISC_R_NOTIMPLEMENTED unsupported family
|
||||
* ISC_R_FAILURE extra bits.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -14,10 +14,10 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: portset.h,v 1.3 2008/06/23 23:47:11 tbox Exp $ */
|
||||
/* $Id: portset.h,v 1.3.90.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file isc/portset.h
|
||||
* \brief Transport Protocol Port Manipuration Module
|
||||
* \brief Transport Protocol Port Manipulation Module
|
||||
*
|
||||
* This module provides simple utilities to handle a set of transport protocol
|
||||
* (UDP or TCP) port numbers, e.g., for creating an ACL list. An isc_portset_t
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: random.h,v 1.18 2007/06/19 23:47:18 tbox Exp $ */
|
||||
/* $Id: random.h,v 1.18.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_RANDOM_H
|
||||
#define ISC_RANDOM_H 1
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
/*! \file isc/random.h
|
||||
* \brief Implements a random state pool which will let the caller return a
|
||||
* series of possibly non-reproducable random values.
|
||||
* series of possibly non-reproducible random values.
|
||||
*
|
||||
* Note that the
|
||||
* strength of these numbers is not all that high, and should not be
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ratelimiter.h,v 1.21 2007/06/19 23:47:18 tbox Exp $ */
|
||||
/* $Id: ratelimiter.h,v 1.21.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_RATELIMITER_H
|
||||
#define ISC_RATELIMITER_H 1
|
||||
|
|
@ -53,7 +53,7 @@ isc_ratelimiter_create(isc_mem_t *mctx, isc_timermgr_t *timermgr,
|
|||
isc_result_t
|
||||
isc_ratelimiter_setinterval(isc_ratelimiter_t *rl, isc_interval_t *interval);
|
||||
/*!<
|
||||
* Set the mininum interval between event executions.
|
||||
* Set the minimum interval between event executions.
|
||||
* The interval value is copied, so the caller need not preserve it.
|
||||
*
|
||||
* Requires:
|
||||
|
|
@ -102,7 +102,7 @@ isc_ratelimiter_shutdown(isc_ratelimiter_t *ratelimiter);
|
|||
*\li Further attempts to enqueue events will fail with
|
||||
* #ISC_R_SHUTTINGDOWN.
|
||||
*
|
||||
*\li The reatelimiter is no longer attached to its task.
|
||||
*\li The rate limiter is no longer attached to its task.
|
||||
*/
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: serial.h,v 1.16 2007/06/19 23:47:18 tbox Exp $ */
|
||||
/* $Id: serial.h,v 1.16.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_SERIAL_H
|
||||
#define ISC_SERIAL_H 1
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
#include <isc/types.h>
|
||||
|
||||
/*! \file isc/serial.h
|
||||
* \brief Implement 32 bit serial space arithmetic comparision functions.
|
||||
* \brief Implement 32 bit serial space arithmetic comparison functions.
|
||||
* Note: Undefined results are returned as ISC_FALSE.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: sockaddr.h,v 1.55 2007/06/18 23:47:44 tbox Exp $ */
|
||||
/* $Id: sockaddr.h,v 1.55.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_SOCKADDR_H
|
||||
#define ISC_SOCKADDR_H 1
|
||||
|
|
@ -210,7 +210,7 @@ isc_sockaddr_isexperimental(const isc_sockaddr_t *sa);
|
|||
isc_boolean_t
|
||||
isc_sockaddr_islinklocal(const isc_sockaddr_t *sa);
|
||||
/*%<
|
||||
* Returns ISC_TRUE if the address is a link local addresss.
|
||||
* Returns ISC_TRUE if the address is a link local address.
|
||||
*/
|
||||
|
||||
isc_boolean_t
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.h,v 1.85 2008/09/04 07:46:02 marka Exp $ */
|
||||
/* $Id: socket.h,v 1.85.58.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_SOCKET_H
|
||||
#define ISC_SOCKET_H 1
|
||||
|
|
@ -876,7 +876,7 @@ isc_socket_permunix(isc_sockaddr_t *sockaddr, isc_uint32_t perm,
|
|||
* Set ownership and file permissions on the UNIX domain socket.
|
||||
*
|
||||
* Note: On Solaris and SunOS this secures the directory containing
|
||||
* the socket as Solaris and SunOS do not honour the filesytem
|
||||
* the socket as Solaris and SunOS do not honour the filesystem
|
||||
* permissions on the socket.
|
||||
*
|
||||
* Requires:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: symtab.h,v 1.24 2007/06/19 23:47:18 tbox Exp $ */
|
||||
/* $Id: symtab.h,v 1.24.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_SYMTAB_H
|
||||
#define ISC_SYMTAB_H 1
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
/*! \file isc/symtab.h
|
||||
* \brief Provides a simple memory-based symbol table.
|
||||
*
|
||||
* Keys are C strings, and key comparisons are case-insenstive. A type may
|
||||
* Keys are C strings, and key comparisons are case-insensitive. A type may
|
||||
* be specified when looking up, defining, or undefining. A type value of
|
||||
* 0 means "match any type"; any other value will only match the given
|
||||
* type.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: task.h,v 1.61 2007/06/18 23:47:44 tbox Exp $ */
|
||||
/* $Id: task.h,v 1.61.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
#ifndef ISC_TASK_H
|
||||
#define ISC_TASK_H 1
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
* Consumers of events should purge, not unsend.
|
||||
*
|
||||
* Producers of events often want to remove events when the caller indicates
|
||||
* it is no longer interested in the object, e.g. by cancelling a timer.
|
||||
* it is no longer interested in the object, e.g. by canceling a timer.
|
||||
* Sometimes this can be done by purging, but for some event types, the
|
||||
* calls to isc_event_free() cause deadlock because the event free routine
|
||||
* wants to acquire a lock the caller is already holding. Unsending instead
|
||||
|
|
@ -593,7 +593,7 @@ isc_taskmgr_destroy(isc_taskmgr_t **managerp);
|
|||
* because it would block forever waiting for the event action to
|
||||
* complete. An event action that wants to cause task manager shutdown
|
||||
* should request some non-event action thread of execution to do the
|
||||
* shutdown, e.g. by signalling a condition variable or using
|
||||
* shutdown, e.g. by signaling a condition variable or using
|
||||
* isc_app_shutdown().
|
||||
*
|
||||
*\li Task manager references are not reference counted, so the caller
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: log.c,v 1.94.332.3 2009/01/06 23:47:26 tbox Exp $ */
|
||||
/* $Id: log.c,v 1.94.332.4 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
* \author Principal Authors: DCL */
|
||||
|
|
@ -61,7 +61,7 @@
|
|||
* This is the structure that holds each named channel. A simple linked
|
||||
* list chains all of the channels together, so an individual channel is
|
||||
* found by doing strcmp()s with the names down the list. Their should
|
||||
* be no peformance penalty from this as it is expected that the number
|
||||
* be no performance penalty from this as it is expected that the number
|
||||
* of named channels will be no more than a dozen or so, and name lookups
|
||||
* from the head of the list are only done when isc_log_usechannel() is
|
||||
* called, which should also be very infrequent.
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: radix.c,v 1.20.36.1 2008/12/24 00:17:11 marka Exp $ */
|
||||
/* $Id: radix.c,v 1.20.36.2 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*
|
||||
* This source was adapted from MRT's RCS Ids:
|
||||
|
|
@ -620,7 +620,7 @@ isc_radix_remove(isc_radix_tree_t *radix, isc_radix_node_t *node) {
|
|||
if (node->r && node->l) {
|
||||
/*
|
||||
* This might be a placeholder node -- have to check and
|
||||
* make sure there is a prefix aossciated with it!
|
||||
* make sure there is a prefix associated with it!
|
||||
*/
|
||||
if (node->prefix != NULL)
|
||||
_deref_prefix(radix->mctx, node->prefix);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rwlock.c,v 1.44 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: rwlock.c,v 1.44.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
#ifdef ISC_RWLOCK_TRACE
|
||||
#include <stdio.h> /* Required for fprintf/stderr. */
|
||||
#include <isc/thread.h> /* Requried for isc_thread_self(). */
|
||||
#include <isc/thread.h> /* Required for isc_thread_self(). */
|
||||
|
||||
static void
|
||||
print_lock(const char *operation, isc_rwlock_t *rwl, isc_rwlocktype_t type) {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: sha2.c,v 1.13 2007/06/19 23:47:17 tbox Exp $ */
|
||||
/* $Id: sha2.c,v 1.13.332.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/* $FreeBSD: src/sys/crypto/sha2/sha2.c,v 1.2.2.2 2002/03/05 08:36:47 ume Exp $ */
|
||||
/* $KAME: sha2.c,v 1.8 2001/11/08 01:07:52 itojun Exp $ */
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
* Please make sure that your system defines BYTE_ORDER. If your
|
||||
* architecture is little-endian, make sure it also defines
|
||||
* LITTLE_ENDIAN and that the two (BYTE_ORDER and LITTLE_ENDIAN) are
|
||||
* equivilent.
|
||||
* equivalent.
|
||||
*
|
||||
* If your system does not define the above, then you can do so by
|
||||
* hand like this:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ifiter_ioctl.c,v 1.60 2008/03/20 23:47:00 tbox Exp $ */
|
||||
/* $Id: ifiter_ioctl.c,v 1.60.120.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
* \brief
|
||||
|
|
@ -122,7 +122,7 @@ getbuf4(isc_interfaceiter_t *iter) {
|
|||
iter->ifc.ifc_len = iter->bufsize;
|
||||
iter->ifc.ifc_buf = iter->buf;
|
||||
/*
|
||||
* Ignore the HP/UX warning about "interger overflow during
|
||||
* Ignore the HP/UX warning about "integer overflow during
|
||||
* conversion". It comes from its own macro definition,
|
||||
* and is really hard to shut up.
|
||||
*/
|
||||
|
|
@ -202,7 +202,7 @@ getbuf6(isc_interfaceiter_t *iter) {
|
|||
iter->lifc.lifc_len = iter->bufsize6;
|
||||
iter->lifc.lifc_buf = iter->buf6;
|
||||
/*
|
||||
* Ignore the HP/UX warning about "interger overflow during
|
||||
* Ignore the HP/UX warning about "integer overflow during
|
||||
* conversion". It comes from its own macro definition,
|
||||
* and is really hard to shut up.
|
||||
*/
|
||||
|
|
@ -496,7 +496,7 @@ internal_current4(isc_interfaceiter_t *iter) {
|
|||
iter->current.flags = 0;
|
||||
|
||||
/*
|
||||
* Ignore the HP/UX warning about "interger overflow during
|
||||
* Ignore the HP/UX warning about "integer overflow during
|
||||
* conversion. It comes from its own macro definition,
|
||||
* and is really hard to shut up.
|
||||
*/
|
||||
|
|
@ -574,7 +574,7 @@ internal_current4(isc_interfaceiter_t *iter) {
|
|||
*/
|
||||
if ((iter->current.flags & INTERFACE_F_POINTTOPOINT) != 0) {
|
||||
/*
|
||||
* Ignore the HP/UX warning about "interger overflow during
|
||||
* Ignore the HP/UX warning about "integer overflow during
|
||||
* conversion. It comes from its own macro definition,
|
||||
* and is really hard to shut up.
|
||||
*/
|
||||
|
|
@ -601,7 +601,7 @@ internal_current4(isc_interfaceiter_t *iter) {
|
|||
memset(&ifreq, 0, sizeof(ifreq));
|
||||
memcpy(&ifreq, ifrp, sizeof(ifreq));
|
||||
/*
|
||||
* Ignore the HP/UX warning about "interger overflow during
|
||||
* Ignore the HP/UX warning about "integer overflow during
|
||||
* conversion. It comes from its own macro definition,
|
||||
* and is really hard to shut up.
|
||||
*/
|
||||
|
|
@ -684,7 +684,7 @@ internal_current6(isc_interfaceiter_t *iter) {
|
|||
fd = iter->socket;
|
||||
|
||||
/*
|
||||
* Ignore the HP/UX warning about "interger overflow during
|
||||
* Ignore the HP/UX warning about "integer overflow during
|
||||
* conversion. It comes from its own macro definition,
|
||||
* and is really hard to shut up.
|
||||
*/
|
||||
|
|
@ -713,7 +713,7 @@ internal_current6(isc_interfaceiter_t *iter) {
|
|||
*/
|
||||
if ((iter->current.flags & INTERFACE_F_POINTTOPOINT) != 0) {
|
||||
/*
|
||||
* Ignore the HP/UX warning about "interger overflow during
|
||||
* Ignore the HP/UX warning about "integer overflow during
|
||||
* conversion. It comes from its own macro definition,
|
||||
* and is really hard to shut up.
|
||||
*/
|
||||
|
|
@ -763,7 +763,7 @@ internal_current6(isc_interfaceiter_t *iter) {
|
|||
#endif
|
||||
|
||||
/*
|
||||
* Ignore the HP/UX warning about "interger overflow during
|
||||
* Ignore the HP/UX warning about "integer overflow during
|
||||
* conversion. It comes from its own macro definition,
|
||||
* and is really hard to shut up.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.c,v 1.308.12.1 2008/12/03 02:21:48 marka Exp $ */
|
||||
/* $Id: socket.c,v 1.308.12.2 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -268,7 +268,7 @@ typedef isc_event_t intev_t;
|
|||
#endif
|
||||
|
||||
/*%
|
||||
* The size to raise the recieve buffer to (from BIND 8).
|
||||
* The size to raise the receive buffer to (from BIND 8).
|
||||
*/
|
||||
#define RCVBUFSIZE (32*1024)
|
||||
|
||||
|
|
@ -1129,7 +1129,7 @@ build_msghdr_send(isc_socket_t *sock, isc_socketevent_t *dev,
|
|||
|
||||
/*
|
||||
* Construct an iov array and attach it to the msghdr passed in. This is
|
||||
* the RECV constructor, which will use the avialable region of the buffer
|
||||
* the RECV constructor, which will use the available region of the buffer
|
||||
* (if using a buffer list) or will use the internal region (if a single
|
||||
* buffer I/O is requested).
|
||||
*
|
||||
|
|
@ -2639,7 +2639,7 @@ internal_accept(isc_task_t *me, isc_event_t *ev) {
|
|||
* a documented error for accept(). ECONNABORTED has been
|
||||
* reported for Solaris 8. The rest are thrown in not because
|
||||
* we have seen them but because they are ignored by other
|
||||
* deamons such as BIND 8 and Apache.
|
||||
* daemons such as BIND 8 and Apache.
|
||||
*/
|
||||
|
||||
addrlen = sizeof(dev->newsocket->peer_address.type);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dir.c,v 1.16 2008/11/02 23:47:01 tbox Exp $ */
|
||||
/* $Id: dir.c,v 1.16.22.1 2009/01/18 23:25:17 marka Exp $ */
|
||||
|
||||
/* Principal Authors: DCL */
|
||||
|
||||
|
|
@ -118,7 +118,7 @@ isc_dir_read(isc_dir_t *dir) {
|
|||
&dir->entry.find_data) == FALSE)
|
||||
/*
|
||||
* Either the last file has been processed or
|
||||
* an error has occured. The former is not
|
||||
* an error has occurred. The former is not
|
||||
* really an error, but the latter is.
|
||||
*/
|
||||
if (GetLastError() == ERROR_NO_MORE_FILES)
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue