diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-07-01 12:06:11 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-07-01 12:06:11 +0000 |
commit | 5bd5e35748407739264507f39555149a4b337248 (patch) | |
tree | 11533284461250e70c2ec12bf1bd7a253bbb3bc7 /sysdeps/unix/sysv/sysv4 | |
parent | f669de74eac4260d1e8dfef63449211af4da9bfe (diff) | |
download | glibc-5bd5e35748407739264507f39555149a4b337248.tar glibc-5bd5e35748407739264507f39555149a4b337248.tar.gz glibc-5bd5e35748407739264507f39555149a4b337248.tar.bz2 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 'sysdeps/unix/sysv/sysv4')
0 files changed, 0 insertions, 0 deletions