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.c214 static int getifaddrs(struct ifaddrs **ifa0) in getifaddrs() argument
244 *ifa0 = NULL; in getifaddrs()
246 recvaddrs(fd, ifa0, seq); in getifaddrs()
252 for (i=*ifa0; i; i = i->ifa_next) { in getifaddrs()
263 static void freeifaddrs(struct ifaddrs *ifa0) in freeifaddrs() argument
267 while (ifa0) { in freeifaddrs()
268 i = ifa0; in freeifaddrs()
269 ifa0 = i->ifa_next; in freeifaddrs()
336 struct ifaddrs *ifa0, *ifap; in grab_myaddrs() local
343 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.c1008 struct ifaddrs *ifa0, *ifa; in main() local
1010 if (getifaddrs(&ifa0)) { in main()
1015 for (ifa = ifa0; ifa; ifa = ifa->ifa_next) { in main()
1026 freeifaddrs(ifa0); in main()