summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/ifaddrs.c
AgeCommit message (Collapse)Author
2007-08-14Updated to fedora-glibc-20070814T0725cvs/fedora-glibc-2_6_90-9Jakub Jelinek
2007-03-17Updated to fedora-glibc-20070317T2130cvs/fedora-glibc-2_5_90-19Jakub Jelinek
2006-05-19Updated to fedora-glibc-20060519T1550cvs/fedora-glibc-2_4_90-8Jakub Jelinek
2006-05-11Updated to fedora-glibc-20060511T1325cvs/fedora-glibc-2_4_90-7Jakub Jelinek
2005-06-20Updated to fedora-glibc-20050620T1530Jakub Jelinek
2004-11-10Updated to fedora-glibc-20041110T0839Jakub Jelinek
2004-06-30Update.Ulrich Drepper
2004-06-30 Ulrich Drepper <drepper@redhat.com> * include/net/if.h: Handle if_nameindex and if_freenameindex with libc_proto_hidden. * sysdeps/unix/sysv/linux/netlinkaccess.h: New file. * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions. * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using netlink if possible. Fall back on ioctl method if necessary. * include/unistd.h: Declare __truncate. * sysdeps/generic/truncate.c: Also define __truncate. * sysdeps/mach/hurd/truncate.c: Likewise. * sysdeps/unix/common/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
2003-11-13Update.Ulrich Drepper
2003-11-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Make sure it's the kernel who sends the netlink data. * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2003-06-10Update.Ulrich Drepper
* inet/Makefile (aux): Add check_fd. * include/ifaddrs.h: Add prototype for __check_fd. * sysdeps/generic/check_fd.c: New file. * sysdeps/unix/sysv/linux/check_fd.c: New file. * sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed from no_netlink_support. Export. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs, call __check_pf. * sysdeps/generic/ifaddrs.h: Add libc_hidden_def.
2003-06-03Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname to get the actual PID value used in the records passed up. (getifaddrs): Don't initialize nh.pid here. 2003-06-02 Ulrich Drepper <drepper@redhat.com>
2003-06-03Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor optimization.
2003-04-29Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected variants of socket, bind, recvmsg, and sendto.
2003-04-24Update.Ulrich Drepper
2003-04-24 Ulrich Drepper <drepper@redhat.com> * include/ifaddrs.h: New file. * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG... * resolv/netdb.h: ...here. * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG.
2003-04-17Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths before copying. This might leave holes in the list. Adjust pointers if necessary. (netlink_receive): Allocate only one block. (free_netlink_handle): Adjust appropriately. (getifaddrs): Lots of cleanups.
2003-04-16(netlink_receive): Allocate only one block. (free_netlink_handle): Adjust ↵Ulrich Drepper
appropriately. (getifaddrs): Lots of cleanups.
2003-03-29Update.Ulrich Drepper
2003-03-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid netlink_open calls if netlink is known to not be available.
2003-03-29Update.Ulrich Drepper
2003-03-28 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/ifaddrs.c: New file. * inet/test-ifaddrs.c: Allow AF_PACKET. * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_NETLINK_SUPPORT.