Lines Matching refs:sa_family
52 if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) lo_inet4 = addr; in TEST()
53 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET6) lo_inet6 = addr; in TEST()
54 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_PACKET) lo_packet = addr; in TEST()
84 int family = addr->ifa_addr ? addr->ifa_addr->sa_family : in TEST()
85 addr->ifa_broadaddr ? addr->ifa_broadaddr->sa_family : in TEST()
116 ifr.ifr_addr.sa_family = AF_INET; in CheckAddressIsInSet()
146 if (addr->ifa_name && addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) { in TEST()
150 if (addr->ifa_name && addr->ifa_broadaddr && addr->ifa_broadaddr->sa_family == AF_INET) { in TEST()
175 int family = addr->sa_family; in print_sockaddr_inet()
230 int family = ifa->ifa_addr ? ifa->ifa_addr->sa_family : in TEST()
231 ifa->ifa_broadaddr ? ifa->ifa_broadaddr->sa_family : AF_UNSPEC; in TEST()
260 if (ifa->ifa_addr && ifa->ifa_addr->sa_family == AF_INET6) { in TEST()