This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sysdeps/unix/sysv/linux ifaddrs.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 13 Jun 2005 23:54:54 -0000
- Subject: libc/sysdeps/unix/sysv/linux ifaddrs.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2005-06-13 23:54:54
Modified files:
sysdeps/unix/sysv/linux: ifaddrs.c
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ifaddrs.c.diff?cvsroot=glibc&r1=1.13&r2=1.14