libc ./ChangeLog sysdeps/mach/hurd/if_index.c

kettenis@sourceware.cygnus.com kettenis@sourceware.cygnus.com
Sun Jul 1 05:06:00 GMT 2001


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	kettenis@sources.redhat.com	2001-07-01 05:06:11

Modified files:
	.              : ChangeLog 
	sysdeps/mach/hurd: if_index.c 

Log message:
	* 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>.



More information about the Glibc-cvs mailing list