Some questions have arisen from examination of section 6, the getnameinfo
sub-section
of the draft. This sub-section describes flags controlling the actions to
be taken by the
function:
- If the flag bit NI_NUMERICSCOPE is set, the numeric form of the
scope identifier is returned (for example, interface index)
instead of its name. This flag is ignored if the sa argument is
not an IPv6 address.
- If the flag bit NI_DGRAM is set, this indicates that the service is
a datagram service (SOCK_DGRAM). The default behavior is to assume
that
the service is a stream service (SOCK_STREAM).
NI_NUMERICSCOPE is confusing. The draft does not mention NI_WITHSCOPEID.
Earlier
implementations of getnameinfo contain reference to NI_WITHSCOPEID which
specifies
that scope is to be returned. If NI_WITHSCOPEID is specified in flags then
NI_NUMERICSCOPE
makes sense. The scope is to be returned in numeric form. In the draft's
current form,
NI_NUMERICSCOPE seems to be a vestige, something that should have been
removed but
wasn't. At the moment IBM does not plan to include NI_NUMERICSCOPE in our
implementation
of getnameinfo. Comments on this interpretation of the draft would be
appreciated.
Further, can anyone elaborate on the meaning of NI_DGRAM. The draft does
not provide an
explanation of what this flag means. Again thanks for any comments.
Steve Hawley
cs/390 development, IBM
[EMAIL PROTECTED]
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page: http://playground.sun.com/ipng
FTP archive: ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------