Lines Matching refs:AF_INET
433 struct hostent *hp = res_gethostbyname2_context (ctx, name, AF_INET); in libresolv_hidden_proto()
455 case AF_INET: in res_gethostbyname2_context()
576 struct hostent *hp = res_gethostbyname2_context (ctx, name, AF_INET); in res_gethostbyname2()
607 af = AF_INET; in res_gethostbyaddr_context()
611 case AF_INET: in res_gethostbyaddr_context()
628 case AF_INET: in res_gethostbyaddr_context()
669 if (af == AF_INET && res_use_inet6 ()) { in res_gethostbyaddr_context()
741 } else if (inet_pton(AF_INET, p, host_addr) > 0) { in _gethtent()
747 af = AF_INET; in _gethtent()
791 return (_gethtbyname2(name, AF_INET)); in _gethtbyname()
856 if (hp->h_addrtype != AF_INET || hp->h_length != INADDRSZ) in map_v4v6_hostent()