This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sysdeps/unix/sysv/linux if_index.c netlin ...
- From: roland at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 18 Jul 2005 02:58:16 -0000
- Subject: libc/sysdeps/unix/sysv/linux if_index.c netlin ...
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_3-branch
Changes by: roland@sources.redhat.com 2005-07-18 02:58:16
Modified files:
sysdeps/unix/sysv/linux: if_index.c netlinkaccess.h ifaddrs.c
Log message:
2005-06-13 Jakub Jelinek <jakub@redhat.com>
[BZ #1096]
* sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
__netlink_receive): Remove prototypes.
(__netlink_request): New prototype.
* sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
<stdint.h>.
(__netlink_sendreq): Make static.
(__netlink_receive): Rename to...
(__netlink_request): ... this. Add type argument, call
__netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry
with a bigger buffer. Don't record buffers that contain no
messages we are expecting.
(getifaddrs): Use __netlink_request instead of __netlink_sendreq
and __netlink_receive pairs. Formatting.
* sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
__netlink_request instead of __netlink_sendreq and __netlink_receive
pair.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/if_index.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.28&r2=1.28.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/netlinkaccess.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.1&r2=1.1.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ifaddrs.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.13&r2=1.13.2.1