Searched refs:run (Results 1 – 4 of 4) sorted by relevance
67 struct ifaddrs *run; in get_myaddress() local70 run = ifa; in get_myaddress()71 while (run != NULL) in get_myaddress()73 if ((run->ifa_flags & IFF_UP) in get_myaddress()74 && run->ifa_addr != NULL in get_myaddress()75 && run->ifa_addr->sa_family == AF_INET in get_myaddress()76 && (!(run->ifa_flags & IFF_LOOPBACK) in get_myaddress()77 || (loopback == 1 && (run->ifa_flags & IFF_LOOPBACK)))) in get_myaddress()79 *addr = *((struct sockaddr_in *) run->ifa_addr); in get_myaddress()84 run = run->ifa_next; in get_myaddress()
67 struct ifaddrs *run; in __get_myaddress() local70 run = ifa; in __get_myaddress()71 while (run != NULL) in __get_myaddress()73 if ((run->ifa_flags & IFF_UP) in __get_myaddress()74 && run->ifa_addr != NULL in __get_myaddress()75 && run->ifa_addr->sa_family == AF_INET in __get_myaddress()76 && ((run->ifa_flags & IFF_LOOPBACK) || loopback == 0)) in __get_myaddress()78 *addr = *((struct sockaddr_in *) run->ifa_addr); in __get_myaddress()83 run = run->ifa_next; in __get_myaddress()94 return run == NULL ? FALSE : TRUE; in __get_myaddress()
179 struct ifaddrs *run = ifa; in libc_hidden_nolink_sunrpc() local180 while (run != NULL && i < naddrs) in libc_hidden_nolink_sunrpc()182 if ((run->ifa_flags & IFF_BROADCAST) != 0 in libc_hidden_nolink_sunrpc()183 && (run->ifa_flags & IFF_UP) != 0 in libc_hidden_nolink_sunrpc()184 && run->ifa_addr != NULL in libc_hidden_nolink_sunrpc()185 && run->ifa_addr->sa_family == AF_INET) in libc_hidden_nolink_sunrpc()187 addrs[i++] = ((struct sockaddr_in *) run->ifa_broadaddr)->sin_addr; in libc_hidden_nolink_sunrpc()189 run = run->ifa_next; in libc_hidden_nolink_sunrpc()
248 struct ifaddrs *run = ifa; in libc_hidden_def() local249 while (run != NULL) in libc_hidden_def()251 if ((run->ifa_flags & IFF_UP) != 0 in libc_hidden_def()252 && run->ifa_addr != NULL in libc_hidden_def()253 && run->ifa_addr->sa_family == AF_INET) in libc_hidden_def()256 run = run->ifa_next; in libc_hidden_def()261 return run != NULL; in libc_hidden_def()
Completed in 11 milliseconds