about summary refs log tree commit diff
path: root/resolv/resolv.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-15 09:46:50 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-15 09:46:50 +0000
commitee778b56b7de06512c2539184f6a256b4efff848 (patch)
tree3f0a7f5e9f5d85d72391f3bf7950c799c21e674a /resolv/resolv.h
parent392a6b52656c1bb40305375b0ea9020455044f9d (diff)
downloadglibc-ee778b56b7de06512c2539184f6a256b4efff848.tar.gz
glibc-ee778b56b7de06512c2539184f6a256b4efff848.tar.xz
glibc-ee778b56b7de06512c2539184f6a256b4efff848.zip
Update.
2004-01-15  Ulrich Drepper  <drepper@redhat.com>

	* resolv/resolv.h: Add RES_USEBSTRING.
	* resolv/res_debug.c (p_option): Add handling for RES_USE_INET6,
	RES_ROTATE, RES_NOCHECKNAME, and RES_USEBSTRING.
	* resolv/res_init.c (res_setioptions): Recognize ip6-bytestring.
	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Only perform
	bytestring IPv6 lookup with RES_USEBSTRING option is selected.
	Otherwise use the two nibble formats.
Diffstat (limited to 'resolv/resolv.h')
-rw-r--r--resolv/resolv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h
index e8f384db92..8d37d420e0 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -199,6 +199,8 @@ struct res_sym {
 #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_USEBSTRING	0x00040000	/* IPv6 reverse lookup with byte
+					   strings */
 
 #define RES_DEFAULT	(RES_RECURSE | RES_DEFNAMES | RES_DNSRCH)