Home
last modified time | relevance | path

Searched refs:ifa0 (Results 1 – 5 of 5) sorted by relevance

/external/iputils/ninfod/
Dninfod_addrs.c154 struct ni_ifaddrs *ifa0; in pr_nodeinfo_ipv6addr() local
165 if (ni_ifaddrs(&ifa0, AF_INET6)) in pr_nodeinfo_ipv6addr()
172 for (ifa = ifa0; ifa; ifa = ifa->ifa_next) { in pr_nodeinfo_ipv6addr()
202 ni_freeifaddrs(ifa0); in pr_nodeinfo_ipv6addr()
212 ni_freeifaddrs(ifa0); in pr_nodeinfo_ipv6addr()
225 for (ifa = ifa0; ifa; ifa = ifa->ifa_next) { in pr_nodeinfo_ipv6addr()
264 for (ifa = ifa0, addrs = 0; in pr_nodeinfo_ipv6addr()
305 ni_freeifaddrs(ifa0); in pr_nodeinfo_ipv6addr()
323 struct ni_ifaddrs *ifa0; in pr_nodeinfo_ipv4addr() local
334 if (ni_ifaddrs(&ifa0, AF_INET)) in pr_nodeinfo_ipv4addr()
[all …]
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c218 static int getifaddrs(struct ifaddrs **ifa0) in getifaddrs() argument
248 *ifa0 = NULL; in getifaddrs()
250 recvaddrs(fd, ifa0, seq); in getifaddrs()
256 for (i=*ifa0; i; i = i->ifa_next) { in getifaddrs()
267 static void freeifaddrs(struct ifaddrs *ifa0) in freeifaddrs() argument
271 while (ifa0) { in freeifaddrs()
272 i = ifa0; in freeifaddrs()
273 ifa0 = i->ifa_next; in freeifaddrs()
340 struct ifaddrs *ifa0, *ifap; in grab_myaddrs() local
347 if (getifaddrs(&ifa0)) { in grab_myaddrs()
[all …]
/external/iputils/
Darping.c598 struct ifaddrs *ifa0, *ifa; in find_device_by_ifaddrs() local
601 rc = getifaddrs(&ifa0); in find_device_by_ifaddrs()
607 for (ifa = ifa0; ifa; ifa = ifa->ifa_next) { in find_device_by_ifaddrs()
633 freeifaddrs(ifa0); in find_device_by_ifaddrs()
Dping.c396 struct ifaddrs *ifa0, *ifa; in main() local
399 ret = getifaddrs(&ifa0); in main()
404 for (ifa = ifa0; ifa; ifa = ifa->ifa_next) { in main()
412 freeifaddrs(ifa0); in main()
Dping6.c1013 struct ifaddrs *ifa0, *ifa; in main() local
1015 if (getifaddrs(&ifa0)) { in main()
1020 for (ifa = ifa0; ifa; ifa = ifa->ifa_next) { in main()
1031 freeifaddrs(ifa0); in main()