Searched refs:h_name (Results 1 - 9 of 9) sorted by relevance

/haiku/src/system/libnetwork/netresolv/net/
H A Dsethostent.c186 hent.h_name = NULL; /* XXX: gcc */
199 if (strcasecmp(hp->h_name, name) != 0) {
211 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len);
252 HENT_SCOPY(hp->h_name, hent.h_name, ptr, len);
H A Dgethnamaddr.c238 hent->h_name = NULL;
280 hent->h_name = bp;
282 /* The qname can be abbreviated, but h_name is now absolute. */
283 qname = hent->h_name;
337 hent->h_name = bp;
389 hent->h_name = bp;
402 hent->h_name = bp;
416 if (strcasecmp(hent->h_name, bp) != 0) {
418 AskedForGot, hent->h_name, bp);
437 hent->h_name
[all...]
H A Dgetnameinfo.c397 p = strchr(hp->h_name, '.');
402 if (strlen(hp->h_name) + 1 > hostlen) {
405 strlcpy(host, hp->h_name, hostlen);
/haiku/src/libs/util/
H A Drealhostname.c59 strlcpy(trimmed, hp->h_name, sizeof(trimmed));
64 strncpy(lookup, hp->h_name, sizeof(lookup) - 1);
/haiku/headers/posix/
H A Dnetdb.h18 char* h_name; member in struct:hostent
/haiku/src/bin/network/netstat/
H A Dnetstat.cpp92 hostName = host->h_name;
/haiku/src/bin/network/ping/
H A Dping.c596 (void)strncpy(snamebuf, hp->h_name,
621 (void)strncpy(hnamebuf, hp->h_name, sizeof(hnamebuf) - 1);
1646 (void)snprintf(buf, sizeof(buf), "%s (%s)", hp->h_name,
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c1904 cp = strchr(hp->h_name, '.');
1924 if ((cp = strchr(hp->h_name, '.')) != NULL &&
1927 (void)strncpy(line, hp->h_name, sizeof(line) - 1);
1982 hi->name = strdup(hp->h_name);
/haiku/src/bin/network/ftpd/
H A Dftpd.c835 if (strcmp(vhost, hp->h_name) != 0) {
837 vhost = hp->h_name;
844 vhost = hp->h_name;

Completed in 67 milliseconds