Lines Matching refs:family
111 switch (ip->family)
117 if (cur->family == AF_INET
127 if (cur->family == AF_INET6
209 ip->family = AF_INET6;
220 ip->family = AF_INET;
228 #define IS_IPV4(addr) (((const ip_address *) addr)->family == AF_INET)
230 /* Compare two IP addresses by family, giving preference to the IPv4
244 #define IS_IPV6(addr) (((const ip_address *) addr)->family == AF_INET6)
277 ip->family = AF_INET;
420 if (!inet_ntop (addr->family, IP_INADDR_DATA (addr), buf, sizeof buf))
653 relative order of addresses with the same family is left
798 --prefer-family) come first. Sorting is stable so the order of
799 the addresses with the same family is undisturbed. */