about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/ifaddrs.c
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-06-101-5/+5
| | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2003-06-031-2/+8
| | | | | | | | * 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>
* Update.Ulrich Drepper2003-06-031-8/+3
| | | | | * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor optimization.
* Update.Ulrich Drepper2003-04-291-6/+6
| | | | | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected variants of socket, bind, recvmsg, and sendto.
* Update.Ulrich Drepper2003-04-241-0/+2
| | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-04-171-64/+111
| | | | | | | | | * 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.
* (netlink_receive): Allocate only one block. (free_netlink_handle): Adjust ↵Ulrich Drepper2003-04-161-48/+34
| | | | appropriately. (getifaddrs): Lots of cleanups.
* Update.Ulrich Drepper2003-03-291-4/+8
| | | | | | | 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.
* Update.Ulrich Drepper2003-03-291-0/+770
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.