Lines Matching refs:AF_INET
547 *result = gethostbyname_internal(name, AF_INET, res, hp, buf, buflen, errorp, in gethostbyname_r()
692 case AF_INET: in gethostbyname_internal_real()
861 af = AF_INET; in android_gethostbyaddrfornetcontext_real()
865 case AF_INET: in android_gethostbyaddrfornetcontext_real()
977 if (inet_pton(AF_INET, p, &host_addr) <= 0) in netbsd_gethostent_r()
988 af = AF_INET; in netbsd_gethostent_r()
1072 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent()
1153 case AF_INET: in _dns_gethtbyname()
1221 case AF_INET: in _dns_gethtbyaddr()
1290 if (info->hp->h_addrtype == AF_INET && (res->options & RES_USE_INET6)) { in _dns_gethtbyaddr()
1328 case AF_INET: in _yp_hostent()
1464 case AF_INET: in _yp_gethtbyaddr()
1509 case AF_INET: in _yp_gethtbyname()