Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libutil/
H A Dtrimdomain.c56 trimdomain(char *fullhost, int hostsize) in trimdomain() argument
78 s = fullhost; in trimdomain()
/freebsd-13.1/crypto/openssh/
H A Dssh.c424 char *cp, *fullhost, newname[NI_MAXHOST]; in resolve_canonicalize() local
469 fullhost = xstrdup(*hostp); in resolve_canonicalize()
470 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
473 free(fullhost); in resolve_canonicalize()
492 xasprintf(&fullhost, "%s.%s.", *hostp, in resolve_canonicalize()
495 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
497 free(fullhost); in resolve_canonicalize()
502 fullhost[strlen(fullhost) - 1] = '\0'; in resolve_canonicalize()
504 if (!check_follow_cname(direct, &fullhost, newname)) { in resolve_canonicalize()
506 *hostp, fullhost); in resolve_canonicalize()
[all …]
/freebsd-13.1/contrib/ntp/ntpdc/
H A Dntpdc.c1443 char *fullhost, in getnetnum() argument
1461 if (fullhost != NULL) in getnetnum()
1462 getnameinfo(&num->sa, SOCKLEN(num), fullhost, in getnetnum()
1468 if (fullhost != NULL) { in getnetnum()
1470 strlcpy(fullhost, ai->ai_canonname, in getnetnum()
1474 fullhost, LENHOSTNAME, NULL, in getnetnum()
/freebsd-13.1/contrib/ntp/ntpq/
H A Dntpq.c1935 char *fullhost, in getnetnum() argument
1952 if (fullhost != NULL) in getnetnum()
1953 getnameinfo(&num->sa, SOCKLEN(num), fullhost, in getnetnum()
1959 if (fullhost != NULL) { in getnetnum()
1961 strlcpy(fullhost, ai->ai_canonname, in getnetnum()
1965 fullhost, LENHOSTNAME, NULL, in getnetnum()