Lines Matching refs:sa_family
57 if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) lo_inet4 = addr; in TEST()
58 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET6) lo_inet6 = addr; in TEST()
59 else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_PACKET) lo_packet = addr; in TEST()
89 int family = addr->ifa_addr ? addr->ifa_addr->sa_family : in TEST()
90 addr->ifa_broadaddr ? addr->ifa_broadaddr->sa_family : in TEST()
121 ifr.ifr_addr.sa_family = AF_INET; in CheckAddressIsInSet()
151 if (addr->ifa_name && addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) { in TEST()
155 if (addr->ifa_name && addr->ifa_broadaddr && addr->ifa_broadaddr->sa_family == AF_INET) { in TEST()
180 int family = addr->sa_family; in print_sockaddr_inet()
229 int family = ifa->ifa_addr ? ifa->ifa_addr->sa_family : in TEST()
230 ifa->ifa_broadaddr ? ifa->ifa_broadaddr->sa_family : AF_UNSPEC; in TEST()
259 if (ifa->ifa_addr && ifa->ifa_addr->sa_family == AF_INET6) { in TEST()