Lines Matching defs:he
1058 * he pointer to hostent with mapped v4 addresses
1073 __mappedtov4(struct hostent *he, int *extract_error)
1084 if (he == NULL) {
1088 if ((__find_mapped(he, 0)) == 0) {
1112 for (i = 0; he->h_addr_list[i] != NULL; i++) {
1115 he->h_addr_list[i]))
1132 (struct in6_addr *)he->h_addr_list[i], addr4p);
1142 buff_locp -= (len = strlen(he->h_name) + 1);
1143 h_namep = he->h_name;
1151 if (he->h_aliases != NULL) {
1152 for (i = 0; he->h_aliases[i] != NULL; i++) {
1153 buff_locp -= (len = strlen(he->h_aliases[i]) + 1);
1162 bcopy((char *)he->h_aliases[i], buff_locp, len);
1184 * Otherwise, the he pointer passed in is returned, even if no addresses
1188 __filter_addresses(int af, struct hostent *he)
1194 if (he == NULL)
1197 in6addrlist = (struct in6_addr **)he->h_addr_list;
1215 return (he);
1221 * he hostent structure to seach
1232 __find_mapped(struct hostent *he, int find_both)
1238 for (i = 0; he->h_addr_list[i] != NULL; i++) {
1241 (struct in6_addr *)he->h_addr_list[i])) {