summary refs log tree commit diff
path: root/posix/tst-rfc3484.c
Commit message (Collapse)AuthorAgeFilesLines
* * posix/regcomp.c (optimize_utf8): Add a note on why we testUlrich Drepper2008-05-151-0/+11
| | | | | | | | | | | | | | | opr.ctx_type. (calc_first): Initialize constraint field. (duplicate_node_closure): Use it instead of special casing ANCHORS. Use search_duplicated_node to avoid loops. Fix grammar. (duplicate_node): Merge constraint field for all node types. (calc_eclosure_iter): Look at constraint field for all node types. * posix/regex_internal.c (create_cd_newstate): Don't look at create_cd_newstate. * posix/tst-rfc3484.c: Add dummy definition of _res_hconf_init. * posix/tst-rfc3484-2.c: Likewise. * posix/tst-rfc3484-3.c: Likewise.
* * sysdeps/posix/getaddrinfo.c (sort_results): Remove service_orderUlrich Drepper2008-01-101-3/+5
| | | | | | | | | | | | | | | | | field. Use sockaddr_in6 for source_addr. (get_scope): Change type of parameter to sockaddr_in6. Adjust. (match_prefix): Likewise. (get_label): Likewise. (get_precedence): Likewise. (rfc3484_sort): Change to use indirect access to results array. Adjust to use of sockaddr_in6. Replace service_order test with simple index comparison. (getaddrinfo): Define order array. Initialize it. Don't initialize service_order field. Adjust qsort_t calls. Access sorted result array indirectly through order array. * posix/tst-rfc3484.c: Adjust for change of rfc3484_sort. * posix/tst-rfc3484-2.c: Likewise. * posix/tst-rfc3484-3.c: Likewise.
* * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables.Ulrich Drepper2007-11-201-0/+1
| | | | | | | | | | | | | (get_scope): For IPv4 scope, use scopes table. (fini): Free scopes table if necessary. (free_scopelist): New function. (scopecmp): New function. (gaiconf_init): Also handle scopev4 entries. * posix/tst-rfc3484.c (do_test): Initialize scopes. * posix/tst-rfc3484-2.c (do_test): Likewise. * posix/gai.conf: Document scopev4 defaults. * posix/Makefile (tests): Add tst-rfc3484-3. * posix/tst-rfc3484-3.c: New file.
* * include/ifaddrs.h: Remove in6ai_temporary.Ulrich Drepper2007-11-141-1/+9
| | | | | | | | | | | | | | | | | (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.
* * posix/tst-rfc3484.c: Adjust for addition of prefixlen field.Ulrich Drepper2007-11-131-0/+1
| | | | * posix/tst-rfc3484-2.c: Likewise.
* * posix/tst-rfc3484-2.c (do_test): Likewise.Ulrich Drepper2007-10-141-0/+1
|
* * posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT.Ulrich Drepper2007-08-261-0/+1
| | | | * posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise.
* * sysdeps/posix/getaddrinfo.c: Implement configuration fileUlrich Drepper2006-05-041-0/+12
| | | | | | | | | handling. /etc/gai.conf can contain replacements for the label and precedence table. Fix byte order of default label and precedence table. * posix/gai.conf: New file. * posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c. * posix/tst-rfc3484-2.c: Likewise.
* * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags cvs/fedora-glibc-20060425T0903Ulrich Drepper2006-04-241-0/+1
| | | | | field. * posix/tst-rfc3484-2.c (do_test): Likewise.
* * posix/tst-rfc3484.c: Include <ifaddrs.h> early.Ulrich Drepper2006-04-241-0/+1
| | | | * posix/tst-rfc3484-2.c: Likewise.
* * include/ifaddrs.h: Get uint32_t definition.Ulrich Drepper2006-04-201-1/+3
| | | | | * posix/tst-rfc3484.c: Update fake __check_pf implementation. * posix/tst-rfc3484-2.c: Likewise.
* [BZ #644]Ulrich Drepper2005-09-261-0/+98
| | | | | | | | * sysdeps/posix/getaddrinfo.c (fls): New function. (gaih_inet): Don't use ffs, use fls. Convert address to native byte order first. * posix/Makefile (tests): Add tst-rfc3484. * posix/tst-rfc3484.c: New file.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-114/+0
|
* 2.5-18.1Jakub Jelinek2007-07-121-0/+114