summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormurray <murray@FreeBSD.org>2003-12-07 12:32:24 +0000
committermurray <murray@FreeBSD.org>2003-12-07 12:32:24 +0000
commit93b87ff9b0c62b50781c5c64ceca2f2662fee9d2 (patch)
tree1a35bb43b7ac361b9f14caf982706023116c0b51 /include
parentac33b83fc2706126a74084cba417f5084ff93c1e (diff)
downloadFreeBSD-src-93b87ff9b0c62b50781c5c64ceca2f2662fee9d2.zip
FreeBSD-src-93b87ff9b0c62b50781c5c64ceca2f2662fee9d2.tar.gz
Add support for timeout: and attempts: resolver options.
Submitted by: Paul Vixie <paul@vix.com> / ISC MFC After: 1 week
Diffstat (limited to 'include')
-rw-r--r--include/resolv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 12d14b4..9305023 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -94,6 +94,8 @@
#define RES_TIMEOUT 5 /* min. seconds between retries */
#define MAXRESOLVSORT 10 /* number of net to sort on */
#define RES_MAXNDOTS 15 /* should reflect bit field size */
+#define RES_MAXRETRANS 30 /* only for resolv.conf/RES_OPTIONS */
+#define RES_MAXRETRY 5 /* only for resolv.conf/RES_OPTIONS */
struct __res_state {
int retrans; /* retransmition time interval */
OpenPOWER on IntegriCloud