aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mike Frysinger <vapier@gentoo.org>2008-04-19 05:28:39 +0000
committerGravatar Mike Frysinger <vapier@gentoo.org>2008-04-19 05:28:39 +0000
commit0b2586e1428545ece4998b97613e139a50723945 (patch)
tree241a710bfb8879dabd7a4620b3bcc43aa173f37f
parente577eb840e8230e9b92a67a7cc4e8f151ff9d3f6 (diff)
downloaduClibc-0b2586e1428545ece4998b97613e139a50723945.tar.gz
uClibc-0b2586e1428545ece4998b97613e139a50723945.tar.bz2
update AI flags from trunk (makes newer GNU apps happy)
-rw-r--r--include/netdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 4a48d0b97..bed5953f5 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -401,6 +401,9 @@ struct addrinfo
# define AI_PASSIVE 0x0001 /* Socket address is intended for `bind'. */
# define AI_CANONNAME 0x0002 /* Request for canonical name. */
# define AI_NUMERICHOST 0x0004 /* Don't use name resolution. */
+# define AI_V4MAPPED 0x0008 /* IPv4 mapped addresses are acceptable. */
+# define AI_ALL 0x0010 /* Return IPv4 mapped and IPv6 addresses. */
+# define AI_ADDRCONFIG 0x0020 /* Use host config to choose ret addr type. */
/* Error values for `getaddrinfo' function. */
# define EAI_BADFLAGS -1 /* Invalid value for `ai_flags' field. */