glibc/sysdeps/mach
Roland McGrath 7f1deee65e Added <ifaddrs.h> interface with functions getifaddrs', freeifaddrs'.
This implementation supports only IPv4.
	* inet/ifaddrs.h: New file.
	* sysdeps/generic/ifaddrs.c: New file.
	* sysdeps/gnu/ifaddrs.c: New file.
	* inet/test-ifaddrs.c: New file.
	* inet/Makefile (routines): Add ifaddrs.
	(headers): Add ifaddrs.h here.
	(tests): Add test-ifaddrs.
	* inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs.

	* resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit
	socket call to get an AF_INET socket, instead of using __opensock.
	The SIOCGIFNETMASK ioctl will work only with a PF_INET socket.

	* sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD,
	if not -1 use it instead of calling __opensock.
	* sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise.
	* sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it.
	* resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument.

	* sysdeps/mach/hurd/ifreq.h: New file.
	* sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS.
	* sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise.
	* resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller.
2002-07-24 22:56:44 +00:00
..
alpha 2002-05-28 Roland McGrath <roland@frob.com> 2002-05-29 08:09:20 +00:00
bits * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from 2001-08-24 03:21:51 +00:00
hppa
hurd Added <ifaddrs.h> interface with functions getifaddrs', freeifaddrs'. 2002-07-24 22:56:44 +00:00
i386
mips
powerpc * sysdeps/mach/hurd/times.c: Fix typo in last change. 2002-02-19 00:22:30 +00:00
sys Update. 2002-07-06 06:36:39 +00:00
_strerror.c
adjtime.c
configure * hurd/hurdselect.c (_hurd_select): Fix 2002-04-02 04:43:06 +00:00
configure.in * hurd/hurdselect.c (_hurd_select): Fix 2002-04-02 04:43:06 +00:00
getloadavg.c
getpagesize.c Update. 2002-04-14 08:47:01 +00:00
getsysstats.c * hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state, 2002-02-18 01:50:52 +00:00
gettimeofday.c Update. 2002-04-14 09:14:45 +00:00
Makefile * sysdeps/mach/Makefile (mach-before-compile): Don't include 2002-02-17 07:22:56 +00:00
mprotect.c
msync.c * sysdeps/mach/hurd/times.c: Fix typo in last change. 2002-02-19 00:22:30 +00:00
munmap.c
nanosleep.c * io/Makefile (routines): Add sendfile and sendfile64. 2002-06-05 08:56:41 +00:00
pagecopy.h
sched_yield.c
sleep.c
start.c
Subdirs
sysdep.h
thread_state.h
usleep.c