Searched refs:ifaddrs (Results 1 – 24 of 24) sorted by relevance
345 } *ifaddrs);417 ifaddrs = malloc (num * sizeof (ifaddrs[0])); in _res_hconf_reorder_addrs()418 if (!ifaddrs) in _res_hconf_reorder_addrs()434 ifaddrs[new_num_ifs].addrtype = AF_INET; in _res_hconf_reorder_addrs()436 ifaddrs[new_num_ifs].u.ipv4.addr = ss.sin.sin_addr.s_addr; in _res_hconf_reorder_addrs()442 ifaddrs[new_num_ifs].u.ipv4.mask = ss.sin.sin_addr.s_addr; in _res_hconf_reorder_addrs()448 ifaddrs = realloc (ifaddrs, new_num_ifs * sizeof (ifaddrs[0])); in _res_hconf_reorder_addrs()449 assert (ifaddrs != NULL); in _res_hconf_reorder_addrs()511 uint32_t if_addr = ifaddrs[j].u.ipv4.addr; in _res_hconf_reorder_addrs()512 uint32_t if_netmask = ifaddrs[j].u.ipv4.mask; in _res_hconf_reorder_addrs()
29 struct ifaddrs struct31 struct ifaddrs *ifa_next; /* Pointer to the next structure. */ argument66 extern int getifaddrs (struct ifaddrs **__ifap) __THROW;69 extern void freeifaddrs (struct ifaddrs *__ifa) __THROW;
27 __getifaddrs (struct ifaddrs **ifap) in __getifaddrs()38 __freeifaddrs (struct ifaddrs *ifa) in weak_alias()
34 struct ifaddrs *ifa = NULL; in __check_pf()47 struct ifaddrs *runp; in __check_pf()
28 aliases.h ifaddrs.h netinet/ip6.h netinet/icmp6.h bits/in.h \47 in6_addr getnameinfo if_index ifaddrs inet6_option \57 tst-gethnm test-ifaddrs bug-if1 test-inet6_opt tst-ether_line \
67 struct ifaddrs *ifaces, *ifa; in do_test()
35 __getifaddrs (struct ifaddrs **ifap) in __getifaddrs()62 struct ifaddrs ia; in __getifaddrs()160 __freeifaddrs (struct ifaddrs *ifa) in weak_alias()
12 extern int __getifaddrs (struct ifaddrs **__ifap);14 extern void __freeifaddrs (struct ifaddrs *__ifa);
58 struct ifaddrs *ifa; in get_myaddress()67 struct ifaddrs *run; in get_myaddress()
58 struct ifaddrs *ifa; in __get_myaddress()67 struct ifaddrs *run; in __get_myaddress()
170 struct ifaddrs *ifa; in libc_hidden_nolink_sunrpc()179 struct ifaddrs *run = ifa; in libc_hidden_nolink_sunrpc()
243 struct ifaddrs *ifa; in libc_hidden_def()248 struct ifaddrs *run = ifa; in libc_hidden_def()
59 struct ifaddrs ifa;316 getifaddrs_internal (struct ifaddrs **ifap) in getifaddrs_internal()832 __getifaddrs (struct ifaddrs **ifap) in __getifaddrs()848 __freeifaddrs (struct ifaddrs *ifa) in weak_alias()
288 * inet/test-ifaddrs.c: Fight warnings.4212 * sysdeps/unix/sysv/linux/ifaddrs.c: Make sure it's the kernel who7764 * include/ifaddrs.h: Add prototype for __check_pf.7767 * sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed7772 * sysdeps/generic/ifaddrs.h: Add libc_hidden_def.7881 * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname7887 * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor8562 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected8841 * include/ifaddrs.h: New file.8845 * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate.[all …]
350 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlin): Don't abort on3929 * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-125978 * sysdeps/unix/sysv/linux/ifaddrs.c (struct sockaddr_ll_max):8369 * include/ifaddrs.h: Remove in6ai_temporary.8410 * include/ifaddrs.c (struct in6addrinfo): Add prefixlen field.9974 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.12272 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never12351 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with12381 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix13906 * include/ifaddrs.h (struct in6addrinfo): Define[all …]
748 * sysdeps/gnu/ifaddrs.c (getifaddrs): Use __if_nextreq5253 Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'.5255 * inet/ifaddrs.h: New file.5256 * sysdeps/generic/ifaddrs.c: New file.5257 * sysdeps/gnu/ifaddrs.c: New file.5258 * inet/test-ifaddrs.c: New file.5259 * inet/Makefile (routines): Add ifaddrs.5260 (headers): Add ifaddrs.h here.5261 (tests): Add test-ifaddrs.
940 * sysdeps/unix/sysv/linux/ifaddrs.c: Determine sin6_scope_id field4494 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.4807 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
274 * posix/tst-rfc3484.c: Include <ifaddrs.h> early.337 * include/ifaddrs.h: Get uint32_t definition.354 * include/ifaddrs.h: Define struct in6addrinfo.5550 * sysdeps/generic/ifaddrs.c: Moved to...5551 * inet/ifaddrs.c: ...here.9792 * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and11203 * inet/test-ifaddrs.c: Use test-skeleton.
5552 * sysdeps/unix/sysv/linux/ifaddrs.c: Modified.
6431 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.16707 * include/gshadow.h, include/ifaddrs.h, include/libintl.h21407 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.26879 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.43152 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define43156 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and43160 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to44033 * include/ifaddrs.h: Use IS_IN.46523 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix49083 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.[all …]
16414 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry33431 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add33454 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,33456 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on33458 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.35623 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
3051 ifaddrs.c5986 ifaddrs.c14544 ifaddrs.h14814 test-ifaddrs.c14855 ifaddrs.h14904 ifaddrs.c
5976 * New header <ifaddrs.h> with functions `getifaddrs' and `freeifaddrs':