Commit Graph

27 Commits

Author SHA1 Message Date
itojun d4a64790e3 remove unused/unsupported AI_xx. notified by PR 18072 2002-08-26 13:38:19 +00:00
kleink a24f74d0fd Turn the flags argument to getnameinfo(3) back into an int (from unsigned
int); this is consistent with RFC2553, the current draft-ietf-ipngwg-
rfc2553bis-05 and the majority of deployed implementations.

Also, there is an effort under way to have this changed back to int in
XBD6/XSH6, XNS, and POSIX-2001 TC1.
2002-05-22 09:42:37 +00:00
kleink 4b77e72e94 More XNS5.2/POSIX-2001 alignment: change the flags argument to
getnameinfo() from int to unsigned int.
2002-05-14 14:35:36 +00:00
kleink 485febee55 Align with XNS5.2/POSIX-2001: change hostlen and servlen arguments to
getnameinfo() from size_t to socklen_t.
2002-05-14 14:31:05 +00:00
kleink 06d36d9eee struct addrinfo.ai_addrlen used to be a size_t, per RFC 2553.
In XNS5.2, and subsequently in POSIX-2001 and draft-ietf-ipngwg-rfc2553bis-02
it was changed to a socklen_t.

To accomodate for this while preserving binary compatibility with the
old interface, prepend or append 32 bits of padding, depending on
the (LP64 data model) architecture's endianness.

This should be deleted the next time the libc major number is
incremented.
2002-05-14 13:45:13 +00:00
kleink 17aaf20cdd Update several name space/feature protection tests to check for
_XOPEN_SOURCE >= 520 (XNS 5.2), either rigging it for that version or
replacing the (wrong) test for >= 500.
2002-05-10 22:02:11 +00:00
kleink 91491e8dda Change the `len' arguemtn to gethostbyaddr(3) from int to socklen_t in
accordance with XNS5.2; fixes PR standards/12703.
2001-04-26 12:55:31 +00:00
lukem f02175ae7a be consistent with #define<TAB> usage 2000-07-30 06:33:18 +00:00
kleink 11ecb446f3 Avoid recursion with traditional cpp. 2000-07-28 09:33:28 +00:00
itojun b757ddbced correct arg type for getnameinfo(3) for RFC2553 conformance. 2000-06-04 08:51:23 +00:00
itojun 34a6354b59 revise extended scoped address format support. delimiter and the order
is changed, based on discussion in ipngwg scoped address cabal.
past code:	fe80::1@de0
now:		de0%fe80::1
this will be in sync with next extended address format proposal
(which should be final - I don't want to make this kind of change again).
2000-02-09 12:25:06 +00:00
mjl 0654fab2c2 Correct typo in comment. 2000-01-05 14:40:14 +00:00
itojun 50b9510128 hide functions that are not supplied. 1999-12-20 06:48:11 +00:00
itojun 9e39347354 add #define for kame's extension to scoped IPv6 numeric address.
(see draft-ietf-ipngwg-scopedaddr-format-00.txt)
1999-12-12 10:49:37 +00:00
kleink 48ce8436f2 * Since we actually only need size_t to be defined, nuke the previous inclusion
of <sys/types.h> and define size_t via <machine/ansi.h>.
* Various namespace protection issues, using XNS5.2 D2.0 as a reference.
1999-07-03 13:25:21 +00:00
itojun 10f59f2d42 define IPv6 library functions and structures, as defined in
RFC2292 and RFC2553.
define internal state structure for IPv6-transport resolver.

Commits for source code will follow.
1999-07-01 18:15:41 +00:00
kleink ca01c95791 * Remove the inclusion of <sys/param.h>; the most common use for this was
the MAXHOSTNAMELEN constant whose semantics are not intended for network
  database lookup operations, and which pollutes name space.
* Per XSH98, provide symbols from <inttypes.h>.
* Add various bits of name space protection.
1998-05-10 17:32:39 +00:00
perry dde65b6a43 fix/restore Id 1998-02-03 04:20:36 +00:00
perry b7b7322c68 merge lite-2 1998-02-02 21:07:13 +00:00
lukem 313ab54809 rcsid fascism 1997-10-13 09:26:06 +00:00
mrg 5be792e647 merge bind 4.9.5-P1. 1997-04-13 09:26:21 +00:00
mrg 70ee0aa047 update these for bind 4.9.3-p1. 1996-02-02 15:29:01 +00:00
jtc 30fcda93af Declare h_error as suggested by PR #1065 and done by many other systems. 1995-07-03 22:59:12 +00:00
cgd 4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
deraadt bc93d2c77e new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number
of features and optimizations by myself.
1994-04-07 06:58:29 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00