Lines Matching refs:ifa0
218 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()
356 for (ifap = ifa0; ifap; ifap = ifap->ifa_next) { in grab_myaddrs()
431 freeifaddrs(ifa0); in grab_myaddrs()