aboutsummaryrefslogtreecommitdiff
path: root/resolv/resolv.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-07 02:00:27 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-07 02:00:27 +0000
commitae06191038e8757bc9ba637c7c94f2e02817b43b (patch)
tree67e37d19c72eeffa82c97e4d40732dfedce930f1 /resolv/resolv.h
parent735be400144a70658c635382a74653582d50c835 (diff)
downloadglibc-ae06191038e8757bc9ba637c7c94f2e02817b43b.zip
glibc-ae06191038e8757bc9ba637c7c94f2e02817b43b.tar.gz
glibc-ae06191038e8757bc9ba637c7c94f2e02817b43b.tar.bz2
* resolv/resolv.h (RES_SNGLKUP): Define.cvs/fedora-glibc-20090407T0545
* resolv/res_init.c (res_setoptions): Recognize single-request option. * resolv/res_send.c (send_dg): If we sent two requests at once and only get one reply before timeout switch to mode where we send the second request only after the first answer has been received.
Diffstat (limited to 'resolv/resolv.h')
-rw-r--r--resolv/resolv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h
index a0de320..c6e695d 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -215,6 +215,7 @@ struct res_sym {
#define RES_NOIP6DOTINT 0x00080000 /* Do not use .ip6.int in IPv6
reverse lookup */
#define RES_USE_EDNS0 0x00100000 /* Use EDNS0. */
+#define RES_SNGLKUP 0x00200000 /* one outstanding request at a time */
#define RES_DEFAULT (RES_RECURSE|RES_DEFNAMES|RES_DNSRCH|RES_NOIP6DOTINT)