* include/ifaddrs.h: Remove in6ai_temporary.
commit773e79b3162dff01e080cb152ff77945244f5a17
authorUlrich Drepper <drepper@redhat.com>
Wed, 14 Nov 2007 06:58:35 +0000 (14 06:58 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 14 Nov 2007 06:58:35 +0000 (14 06:58 +0000)
treec5b1f11c79b36c6c1d02e80b0f6e00274ea6e586
parente458144c99ddc00769ffa6bd367c21d37e879d83
* include/ifaddrs.h: Remove in6ai_temporary.

(struct in6addrinfo): Add index element.
Declare __check_native.
* inet/Makefile (aux): Add check_native.
* sysdeps/unix/sysv/linux/check_native.c: New file.
* sysdeps/unix/sysv/linux/check_pf.c: No need to recognize
IFA_F_TEMPORARY.  Pass back ifa_index.
* sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code.
(rfc3484_sort): Add new parameter.  Implement rule 7 correctly:
call __check_native if necessary.
(getaddrinfo): Fill in index field.  Use qsort_r instead of qsort
to sort addresses.  Pass information about the results.
* posix/tst-rfc3484.c: Adjust for addition of index field and change
of rfc3484_sort interface.
* posix/tst-rfc3484-2.c: Likewise.
ChangeLog
include/ifaddrs.h
inet/Makefile
posix/tst-rfc3484-2.c
posix/tst-rfc3484.c
sysdeps/posix/getaddrinfo.c
sysdeps/unix/sysv/linux/check_native.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/check_pf.c