Commit Graph

12 Commits

Author SHA1 Message Date
itojun
0c63dd3cf2 correct %d/%u mixup. 2002-06-27 10:22:07 +00:00
lukem
50f5afd52e fix WARNS=2 (-Wshadow) warnings 2001-11-04 13:57:29 +00:00
christos
ae40c8edb2 remove register
elide non-portable casts
2000-07-06 03:02:22 +00:00
itojun
72eddcac5b add __RCSID(). 2000-04-24 10:40:24 +00:00
itojun
c6bf4b09bd supply weak alias for IPv6-related library additions. sorry to be late. 2000-04-24 09:27:30 +00:00
itojun
fe31f96aea fix alignment constraint in IPv6 routing header manipulation (ancillary data).
documented in RFC2292.
from: shin@kame.net
2000-02-29 18:24:31 +00:00
mycroft
45f1263b98 Partially delint. 2000-01-23 00:10:56 +00:00
kleink
d574ffc673 (bcopy, bzero) -> (memcpy, memset) 1999-11-30 15:55:25 +00:00
lukem
d896261208 back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem
b48252f365 * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif
1999-09-16 11:44:54 +00:00
itojun
4620b00436 add NetBSD RCSID on top. 1999-07-04 00:43:43 +00:00
itojun
37e8159125 add IPv6 support functions.
get{addr,name} info are implemented to have as little impact to existing
resolver code as possible, so they are NOT the optimal implementation.
They are at this moment not very thread safe (as they call
gethostby{name,addr}).

(shlib minor version)++, as new interfaces are added.

TODO: getipnodeby{name,addr} - which needs total reimplementation of
gethostby{name,addr}.
upgrade rcmd.c for multiple af support (needed for IPv6-ready rsh/rlogin)
1999-07-01 18:23:53 +00:00