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

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c565 char _hostname[MAXHOSTNAMELEN]; local
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_INET
[all...]
/illumos-gate/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;
/illumos-gate/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,

Completed in 75 milliseconds