Home
last modified time | relevance | path

Searched refs:h_aliases (Results 1 – 4 of 4) sorted by relevance

/haiku/src/system/libnetwork/netresolv/net/
H A Dsethostent.c201 for (cp = hp->h_aliases; *cp != NULL; cp++) in _hf_gethtbyname2()
212 for (anum = 0; hp->h_aliases[anum]; anum++) { in _hf_gethtbyname2()
215 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], in _hf_gethtbyname2()
244 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2()
255 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _hf_gethtbyname2()
256 hp->h_aliases[anum] = NULL; in _hf_gethtbyname2()
H A Dgethnamaddr.c285 hent->h_aliases = ap = aliases; in getanswer()
499 qlen = (n + 1) * sizeof(*hent->h_aliases); in getanswer()
502 hent->h_aliases = (void *)bp; in getanswer()
660 HENT_ARRAY(hp->h_aliases, 0, buf, buflen); in gethostbyname_internal()
662 hp->h_aliases[0] = NULL; in gethostbyname_internal()
819 HENT_ARRAY(hent->h_aliases, anum, buf, buflen); in gethostent_r()
828 HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in gethostent_r()
830 hent->h_aliases[anum] = NULL; in gethostent_r()
1213 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _yp_hostent()
1223 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _yp_hostent()
[all …]
/haiku/headers/posix/
H A Dnetdb.h19 char** h_aliases; member
/haiku/src/bin/network/ftpd/
H A Dftpd.c840 if (hp->h_aliases == NULL) in inithosts()
844 while (hp->h_aliases[i] && in inithosts()
845 strcmp(vhost, hp->h_aliases[i]) != 0) in inithosts()
847 if (hp->h_aliases[i] == NULL) in inithosts()