Lines Matching refs:_hostname
565 char _hostname[MAXHOSTNAMELEN];
584 if (((zonestr - hostname) + 1) > sizeof (_hostname)) {
589 (void) strlcpy(_hostname, hostname, (zonestr - hostname) + 1);
596 size_t hlen = sizeof (_hostname);
598 if (strlcpy(_hostname, hostname, hlen) >= hlen) {
605 /* check to see if _hostname points to a literal IP address */
606 if (!((inet_addr(_hostname) != ((in_addr_t)-1)) ||
607 (strcmp(_hostname, HOST_BROADCAST) == 0) ||
608 (inet_pton(AF_INET6, _hostname, &v6addr) > 0))) {
615 hp = getipnodebyname(_hostname, AF_INET6, AI_ALL |
618 hp = getipnodebyname(_hostname, family, aip->ai_flags, &errnum);