Lines Matching defs:h4
714 si_addrinfo_list_from_hostent(si_mod_t *si, uint32_t flags, uint32_t socktype, uint32_t proto, uint16_t port, uint16_t scope, const struct hostent *h4, const struct hostent *h6)
732 if ((h4 != NULL) && (h4->h_addr_list != NULL))
734 for (i = 0; h4->h_addr_list[i] != NULL; i++)
737 memcpy(&a4, h4->h_addr_list[i], h4->h_length);
738 list = si_addrinfo_list(si, flags, socktype, proto, &a4, NULL, port, 0, h4->h_name, NULL);
852 struct hostent *h4 = NULL, *h6 = NULL;
895 h4 = (struct hostent *)((uintptr_t)h4_item + sizeof(si_item_t));
903 out = si_addrinfo_list_from_hostent(si, flags, socktype, proto, port, 0, h4, h6);