about summary refs log tree commit diff
path: root/rpm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-07-01 12:06:11 +0000
committerMark Kettenis <kettenis@gnu.org>2001-07-01 12:06:11 +0000
commit5bd5e35748407739264507f39555149a4b337248 (patch)
tree11533284461250e70c2ec12bf1bd7a253bbb3bc7 /rpm
parentf669de74eac4260d1e8dfef63449211af4da9bfe (diff)
downloadglibc-5bd5e35748407739264507f39555149a4b337248.tar.gz
glibc-5bd5e35748407739264507f39555149a4b337248.tar.xz
glibc-5bd5e35748407739264507f39555149a4b337248.zip
* sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in the Hurd pfinet server, using equivalent code from the Linux version in sysdeps/unix/sysv/linux/if_index.c. In detail: Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h> anymore. (if_nametoindex): New implementation using SIOCGIFINDEX. (if_freenameindex): Straight copy of the Linux version. (if_nameindex): New implementation based on pfinet_siocgifconf and SIOCGIFINDEX. (if_indextoname): New implementation using SIOCGIFNAME. (map_interfaces): Function removed. From Marcus Brinkmann <marcus@gnu.org>.
2001-07-01  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
	the Hurd pfinet server, using equivalent code from the Linux
	version in sysdeps/unix/sysv/linux/if_index.c. In detail:
	Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
	<hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
	anymore.
	(if_nametoindex): New implementation using SIOCGIFINDEX.
	(if_freenameindex): Straight copy of the Linux version.
	(if_nameindex): New implementation based on pfinet_siocgifconf and
	SIOCGIFINDEX.
	(if_indextoname): New implementation using SIOCGIFNAME.
	(map_interfaces): Function removed.
	From Marcus Brinkmann <marcus@gnu.org>.
Diffstat (limited to 'rpm')
0 files changed, 0 insertions, 0 deletions