summaryrefslogtreecommitdiffstats
path: root/contrib/bind/include/resolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bind/include/resolv.h')
-rw-r--r--contrib/bind/include/resolv.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/contrib/bind/include/resolv.h b/contrib/bind/include/resolv.h
index 3065313..414fe08 100644
--- a/contrib/bind/include/resolv.h
+++ b/contrib/bind/include/resolv.h
@@ -50,7 +50,7 @@
/*
* @(#)resolv.h 8.1 (Berkeley) 6/2/93
- * $Id: resolv.h,v 8.29 1999/10/07 08:24:14 vixie Exp $
+ * $Id: resolv.h,v 8.31 2000/03/30 20:16:50 vixie Exp $
*/
#ifndef _RESOLV_H_
@@ -145,6 +145,7 @@ struct res_sym {
#define RES_MAXRETRANS 30 /* only for resolv.conf/RES_OPTIONS */
#define RES_MAXRETRY 5 /* only for resolv.conf/RES_OPTIONS */
#define RES_DFLRETRY 2 /* Default #/tries. */
+#define RES_MAXTIME 65535 /* Infinity, in milliseconds. */
struct __res_state {
int retrans; /* retransmition time interval */
@@ -168,9 +169,17 @@ struct __res_state {
res_send_qhook qhook; /* query hook */
res_send_rhook rhook; /* response hook */
int res_h_errno; /* last one set for this context */
- int _sock; /* PRIVATE: for res_send i/o */
+ int _vcsock; /* PRIVATE: for res_send VC i/o */
u_int _flags; /* PRIVATE: see below */
- char pad[52]; /* On an i386 this means 512b total. */
+ union {
+ char pad[52]; /* On an i386 this means 512b total. */
+ struct {
+ u_int16_t nscount;
+ u_int16_t nstimes[MAXNS]; /* ms. */
+ int nssocks[MAXNS];
+ struct sockaddr_in nsaddrs[MAXNS];
+ } _ext;
+ } _u;
};
typedef struct __res_state *res_state;
@@ -204,6 +213,7 @@ typedef struct __res_state *res_state;
#define RES_ROTATE 0x00004000 /* rotate ns list after each query */
#define RES_NOCHECKNAME 0x00008000 /* do not check names for sanity. */
#define RES_KEEPTSIG 0x00010000 /* do not strip TSIG records */
+#define RES_BLAST 0x00020000 /* blast all recursive servers */
#define RES_DEFAULT (RES_RECURSE | RES_DEFNAMES | RES_DNSRCH)
OpenPOWER on IntegriCloud