Lines Matching refs:ifa_addr
361 if (ifa->ifa_addr != NULL) { in discover_interfaces()
363 if (ifa->ifa_addr->sa_family != AF_LINK) in discover_interfaces()
366 if (ifa->ifa_addr->sa_family != AF_PACKET) in discover_interfaces()
437 } else if (ifa->ifa_addr != NULL) { in discover_interfaces()
439 sdl = (const struct sockaddr_dl *)(void *)ifa->ifa_addr; in discover_interfaces()
445 memcpy(&iflr.addr, ifa->ifa_addr, in discover_interfaces()
446 MIN(ifa->ifa_addr->sa_len, sizeof(iflr.addr))); in discover_interfaces()
480 sll = (const struct sockaddr_ll *)(void *)ifa->ifa_addr; in discover_interfaces()
546 if (ifa->ifa_addr == NULL || in do_address()
547 ifa->ifa_addr->sa_family != AF_INET || in do_address()
550 a = (const struct sockaddr_in *)(void *)ifa->ifa_addr; in do_address()