catch up wtih r175955 by ume:
- the support of AI_ALL and AI_V4MAPPED has been completely removed.
This commit is contained in:
parent
29aca6df04
commit
7cfc1e329f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user