Lines Matching refs:AF_INET
360 if (hent->h_addrtype == AF_INET) pad_v4v6_hostent(hent, &bp, ep); in getanswer()
400 case AF_INET: in resolv_gethostbyname()
497 af = AF_INET; in resolv_gethostbyaddr()
501 case AF_INET: in resolv_gethostbyaddr()
570 if (inet_pton(AF_INET, p, &host_addr) <= 0) continue; in netbsd_gethostent_r()
571 af = AF_INET; in netbsd_gethostent_r()
600 if (hent->h_addrtype == AF_INET) { in netbsd_gethostent_r()
624 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) return; in convert_v4v6_hostent()
658 case AF_INET: in dns_gethtbyname()
697 case AF_INET: in dns_gethtbyaddr()
753 if (info->hp->h_addrtype == AF_INET) { in dns_gethtbyaddr()