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