This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: getaddrinfo(), getnameinfo() and friends question


   Date: Mon, 31 Jul 2000 20:02:59 +0200
   From: Arkadiusz Miskiewicz <misiek@pld.org.pl>

   On Mon, 31 Jul 2000, Andreas Jaeger wrote:

   > -# define AI_V4MAPPED	0x0008	/* IPv4-mapped addresses are acceptable.  */
   > -# define AI_ALL		0x0010	/* Return both IPv4 and IPv6 addresses.  */
   > -# define AI_ADDRCONFIG	0x0020	/* Use configuration of this host to choose
   > -				   returned address type.  */
   > -# define AI_DEFAULT	(AI_V4MAPPED | AI_ADDRCONFIG)

   This seems be wrong. draft-ietf-ipngwg-rfc2553bis-00.txt says
   that these values can be used in ai_flags for getaddrinfo().

If we don't implement the facilities that use these options, we
shouldn't have them in our headers.  Right now we probably don't
(since we'll leave out getipnodebyname() and they're not yet implemented
for getaddrinfo()), so they go out.

   I think that these ai_flags options are very usefull and that's
   why I asked about glibc draft-rfc2553 compatibility.

RFC 2553bis is a *draft*, moreover it seems to be in flux, and the
rumours say it's going to be revised, aligned with XNS, XNET, POSIX or
whatever.  So I don't think we should implement the things from
RFC 2553bis for glibc 2.2.  Blame the people on the relevant IPv6
committies for not getting their act together.

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]