about summary refs log tree commit diff
path: root/inet/test-ifaddrs.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-12 23:55:58 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-12 23:55:58 +0000
commit6f3914d5a3269c00e70506bd95f816fef6b635ce (patch)
tree282916b72b33748f124aad021f5fc706184a1c13 /inet/test-ifaddrs.c
parentc1600ce36dc0c58185ec67327316d02639da628b (diff)
downloadglibc-6f3914d5a3269c00e70506bd95f816fef6b635ce.tar.gz
glibc-6f3914d5a3269c00e70506bd95f816fef6b635ce.tar.xz
glibc-6f3914d5a3269c00e70506bd95f816fef6b635ce.zip
* include/ifaddrs.c (struct in6addrinfo): Add prefixlen field.
	* sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return
	list of interfaces.  Also store prefix length.
	* sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element.
	(rfc3484_sort): In rule 9, for IPv4 addresses count only matching
	prefix if source and destination address are in the same subnet.
	(getaddrinfo): Always call __check_pf.  Fill in prefixlen field.
	Always look for matching record in in6ai list.
	Correct source_addr_len value for IPv6->IPv4 converted records.
Diffstat (limited to 'inet/test-ifaddrs.c')
0 files changed, 0 insertions, 0 deletions