diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-04-07 02:00:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-04-07 02:00:27 +0000 |
commit | ae06191038e8757bc9ba637c7c94f2e02817b43b (patch) | |
tree | 67e37d19c72eeffa82c97e4d40732dfedce930f1 /resolv/resolv.h | |
parent | * locales/ks_IN: New file. (diff) | |
download | glibc-ae06191038e8757bc9ba637c7c94f2e02817b43b.tar.gz glibc-ae06191038e8757bc9ba637c7c94f2e02817b43b.tar.bz2 glibc-ae06191038e8757bc9ba637c7c94f2e02817b43b.zip |
* 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h index a0de320d0f..c6e695dc72 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) |