Home
last modified time | relevance | path

Searched refs:_hostname (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c565 char _hostname[MAXHOSTNAMELEN]; in get_addr() local
584 if (((zonestr - hostname) + 1) > sizeof (_hostname)) { in get_addr()
589 (void) strlcpy(_hostname, hostname, (zonestr - hostname) + 1); in get_addr()
596 size_t hlen = sizeof (_hostname); in get_addr()
598 if (strlcpy(_hostname, hostname, hlen) >= hlen) { in get_addr()
606 if (!((inet_addr(_hostname) != ((in_addr_t)-1)) || in get_addr()
607 (strcmp(_hostname, HOST_BROADCAST) == 0) || in get_addr()
608 (inet_pton(AF_INET6, _hostname, &v6addr) > 0))) { in get_addr()
615 hp = getipnodebyname(_hostname, AF_INET6, AI_ALL | in get_addr()
618 hp = getipnodebyname(_hostname, family, aip->ai_flags, &errnum); in get_addr()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c109 static char _hostname[MAXHOSTNAMELEN]; variable
3094 (void) strlcpy(_hostname, hostp, sizeof (_hostname));
3099 (void) inet_ntop(AF_INET, &addr, _hostname, sizeof (_hostname));
3101 (void) strlcpy(_hostname, host->ai_canonname,
3102 sizeof (_hostname));
3104 hostname = _hostname;
/titanic_50/usr/src/cmd/sendmail/src/
H A Dsrvrsmtp.c79 static int reset_saslconn __P((sasl_conn_t **_conn, char *_hostname,
93 static int reset_saslconn __P((sasl_conn_t **_conn, char *_hostname,