Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 07/01/1999 11:23:55
Module Name:	basesrc
Committed By:	itojun
Date:		Thu Jul  1 18:23:55 UTC 1999

Modified Files:
	basesrc/lib/libc: shlib_version
	basesrc/lib/libc/net: Makefile.inc
Added Files:
	basesrc/lib/libc/net: getaddrinfo.3 getaddrinfo.c getnameinfo.3
	    getnameinfo.c if_indextoname.3 ifname.c ip6opt.c rthdr.c vars6.c

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -r1.71 -r1.72 basesrc/lib/libc/shlib_version
cvs rdiff -r1.42 -r1.43 basesrc/lib/libc/net/Makefile.inc
cvs rdiff -r0 -r1.1 basesrc/lib/libc/net/getaddrinfo.3 \
    basesrc/lib/libc/net/getaddrinfo.c basesrc/lib/libc/net/getnameinfo.3 \
    basesrc/lib/libc/net/getnameinfo.c basesrc/lib/libc/net/if_indextoname.3 \
    basesrc/lib/libc/net/ifname.c basesrc/lib/libc/net/ip6opt.c \
    basesrc/lib/libc/net/rthdr.c basesrc/lib/libc/net/vars6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.