Lines Matching refs:family
72 int family, ares_host_callback callback, void *arg) in ares_gethostbyaddr() argument
76 if (family != AF_INET && family != AF_INET6) in ares_gethostbyaddr()
82 if ((family == AF_INET && addrlen != sizeof(aquery->addr.addrV4)) || in ares_gethostbyaddr()
83 (family == AF_INET6 && addrlen != sizeof(aquery->addr.addrV6))) in ares_gethostbyaddr()
96 if (family == AF_INET) in ares_gethostbyaddr()
100 aquery->addr.family = family; in ares_gethostbyaddr()
153 if (aquery->addr.family == AF_INET) in addr_callback()
243 while ((status = ares__get_hostent(fp, addr->family, host)) == ARES_SUCCESS) in file_lookup()
245 if (addr->family != (*host)->h_addrtype) in file_lookup()
250 if (addr->family == AF_INET) in file_lookup()
256 else if (addr->family == AF_INET6) in file_lookup()
274 if (addr->family == AF_INET) in ptr_rr_name()