summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordanger <danger@FreeBSD.org>2009-01-06 13:05:58 +0000
committerdanger <danger@FreeBSD.org>2009-01-06 13:05:58 +0000
commit25a4ec32ad6b2ae7203c4d83b390f50df90e767c (patch)
tree2c9697d5f20a17b48db80a456dd668fcdd3e2bc8 /lib/libc
parent1753c83c8c6ab1bac74e805732471c3d09247427 (diff)
downloadFreeBSD-src-25a4ec32ad6b2ae7203c4d83b390f50df90e767c.zip
FreeBSD-src-25a4ec32ad6b2ae7203c4d83b390f50df90e767c.tar.gz
catch up wtih r175955 by ume:
- the support of AI_ALL and AI_V4MAPPED has been completely removed.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getaddrinfo.355
1 files changed, 2 insertions, 53 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 8afdcf9..e1748b3 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -126,13 +126,11 @@ field to which the
parameter points shall be set to zero
or be the bitwise-inclusive OR of one or more of the values
.Dv AI_ADDRCONFIG ,
-.Dv AI_ALL ,
.Dv AI_CANONNAME ,
.Dv AI_NUMERICHOST ,
-.Dv AI_NUMERICSERV ,
-.Dv AI_PASSIVE ,
+.Dv AI_NUMERICSERV
and
-.Dv AI_V4MAPPED .
+.Dv AI_PASSIVE .
.Bl -tag -width "AI_CANONNAMEXX"
.It Dv AI_ADDRCONFIG
If the
@@ -141,19 +139,6 @@ bit is set, IPv4 addresses shall be returned only if
an IPv4 address is configured on the local system,
and IPv6 addresses shall be returned only if
an IPv6 address is configured on the local system.
-.It Dv AI_ALL
-If the
-.Dv AI_ALL
-bit is set with the
-.Dv AI_V4MAPPED
-bit, then
-.Fn getaddrinfo
-shall return all matching IPv6 and IPv4 addresses.
-The
-.Dv AI_ALL
-bit without the
-.Dv AI_V4MAPPED
-bit is ignored.
.It Dv AI_CANONNAME
If the
.Dv AI_CANONNAME
@@ -218,30 +203,6 @@ loopback address if
is the null pointer and
.Dv AI_PASSIVE
is not set.
-.It Dv AI_V4MAPPED
-If the
-.Dv AI_V4MAPPED
-flag is specified along with an
-.Fa ai_family
-of
-.Dv AF_INET6 ,
-then
-.Fn getaddrinfo
-shall return IPv4-mapped IPv6 addresses
-on finding no matching IPv6 addresses (
-.Fa ai_addrlen
-shall be 16).
-The
-.Dv AI_V4MAPPED
-flag shall be ignored unless
-.Fa ai_family
-equals
-.Dv AF_INET6 .
-Note: this flag is currently
-.Em not
-supported, see the
-.Sx BUGS
-section.
.El
.El
.Pp
@@ -490,18 +451,6 @@ freeaddrinfo(res0);
.%B "Proceedings of the freenix track: 2000 USENIX annual technical conference"
.%D June 2000
.Re
-.Sh BUGS
-The
-.Nm
-function as implemented in
-.Fx
-currently does not support
-.Dv AI_ALL
-and
-.Dv AI_V4MAPPED
-flags and returns
-.Dv EAI_BADFLAGS
-if one of them is specified.
.Sh STANDARDS
The
.Fn getaddrinfo
OpenPOWER on IntegriCloud