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
..
2002-07-08 17:15:20 +00:00
2002-07-24 17:39:23 +00:00
2002-07-20 01:14:41 +00:00
2002-01-07 09:33:53 +00:00
2002-07-20 01:14:41 +00:00
2002-07-20 01:14:41 +00:00
2002-07-17 23:44:03 +00:00
2002-04-14 08:47:01 +00:00
2002-07-20 01:14:41 +00:00
2001-09-14 13:03:53 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-05-30 23:35:59 +00:00
2002-07-20 04:01:22 +00:00
2001-07-06 04:58:11 +00:00
2001-09-25 03:04:41 +00:00
2002-07-08 17:15:20 +00:00
2002-06-07 12:34:08 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-05-15 00:22:23 +00:00
2001-07-06 04:58:11 +00:00
2001-07-31 20:32:01 +00:00
2002-07-16 01:02:04 +00:00
2002-07-16 01:02:04 +00:00
2002-04-09 20:36:24 +00:00
2000-10-27 06:51:12 +00:00
2002-06-09 20:15:14 +00:00
2002-01-31 03:41:25 +00:00
2002-03-01 09:44:29 +00:00
2002-01-31 03:41:25 +00:00
2002-06-09 20:15:14 +00:00
2001-07-12 06:32:02 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-04-14 08:47:01 +00:00
2002-04-19 08:00:18 +00:00
2001-08-17 07:51:36 +00:00
2002-01-31 03:41:25 +00:00
2002-07-20 01:14:41 +00:00
2000-08-17 19:36:13 +00:00
2002-06-22 05:58:14 +00:00
2000-08-12 05:14:52 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-12-31 17:46:59 +00:00
2002-04-14 08:47:01 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-05-15 00:22:23 +00:00
2001-07-17 08:32:35 +00:00
2002-07-20 01:14:41 +00:00
2001-07-06 04:58:11 +00:00
2002-03-13 06:33:52 +00:00
2002-07-20 01:14:41 +00:00
2001-07-06 04:58:11 +00:00
2000-08-12 05:14:52 +00:00
2001-07-06 04:58:11 +00:00
2002-07-20 17:31:30 +00:00
2001-07-06 04:58:11 +00:00
2002-07-20 17:31:30 +00:00
2001-07-06 04:58:11 +00:00
2002-05-15 00:22:23 +00:00
2001-07-06 04:58:11 +00:00
2002-04-15 05:35:10 +00:00
2002-04-19 08:00:18 +00:00
2001-07-06 04:58:11 +00:00
2002-07-20 01:14:41 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-03-02 00:48:30 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-07-24 11:51:16 +00:00
2001-07-06 04:58:11 +00:00
2000-11-15 23:56:34 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-07-17 20:44:55 +00:00
2001-07-06 04:58:11 +00:00
2002-03-13 06:33:52 +00:00
2001-07-06 04:58:11 +00:00
2002-07-17 20:44:55 +00:00
2002-05-30 23:35:59 +00:00
2000-08-19 16:58:09 +00:00
2000-08-19 16:58:09 +00:00
2002-07-20 01:14:41 +00:00
2001-07-06 04:58:11 +00:00
2002-05-15 00:22:23 +00:00
2002-05-15 00:22:23 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-04-14 20:15:40 +00:00
2002-05-15 06:02:35 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-05-15 00:22:23 +00:00
2002-05-15 00:22:23 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-05-15 00:22:23 +00:00
2001-07-06 04:58:11 +00:00
2000-04-12 04:59:33 +00:00
2002-04-14 08:47:01 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-06-20 22:48:53 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-03-13 08:59:47 +00:00
2001-09-25 03:04:41 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-07-20 01:14:41 +00:00
2001-07-06 04:58:11 +00:00
2002-02-01 23:24:05 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00