Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 04/24/2000 03:24:48
Module Name: basesrc
Committed By: itojun
Date: Mon Apr 24 10:24:47 UTC 2000
Modified Files:
basesrc/lib/libc/include: namespace.h
basesrc/lib/libc/net: Makefile.inc if_indextoname.3
Added Files:
basesrc/lib/libc/net: if_indextoname.c if_nameindex.c if_nametoindex.c
Removed Files:
basesrc/lib/libc/net: ifname.c
Log Message:
use BSDI-origin if_{index,name}* functions. they use getifaddrs(3) as
backend and are more robust against SIOCGIFCONF alignment issue.
now getifaddrs always takes care of the issue. (sync with kame tree)
use weak symbol just in case.
To generate a diff of this commit:
cvs rdiff -r1.49 -r1.50 basesrc/lib/libc/include/namespace.h
cvs rdiff -r1.53 -r1.54 basesrc/lib/libc/net/Makefile.inc
cvs rdiff -r1.4 -r1.5 basesrc/lib/libc/net/if_indextoname.3
cvs rdiff -r0 -r1.1 basesrc/lib/libc/net/if_indextoname.c \
basesrc/lib/libc/net/if_nameindex.c basesrc/lib/libc/net/if_nametoindex.c
cvs rdiff -r1.7 -r0 basesrc/lib/libc/net/ifname.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.