Home
last modified time | relevance | path

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

/freebsd/lib/libutil/
H A Dtrimdomain.c53 trimdomain(char *fullhost, int hostsize) in trimdomain() argument
75 s = fullhost; in trimdomain()
/freebsd/crypto/openssh/
H A Dssh.c429 char *cp, *fullhost, newname[NI_MAXHOST]; in resolve_canonicalize() local
474 fullhost = xstrdup(*hostp); in resolve_canonicalize()
475 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
478 free(fullhost); in resolve_canonicalize()
497 xasprintf(&fullhost, "%s.%s.", *hostp, in resolve_canonicalize()
499 debug3_f("attempting \"%s\" => \"%s\"", *hostp, fullhost); in resolve_canonicalize()
500 if ((addrs = resolve_host(fullhost, port, 0, in resolve_canonicalize()
502 free(fullhost); in resolve_canonicalize()
507 fullhost[strlen(fullhost) - 1] = '\0'; in resolve_canonicalize()
509 if (!check_follow_cname(direct, &fullhost, newname)) { in resolve_canonicalize()
[all …]
/freebsd/contrib/ntp/ntpdc/
H A Dntpdc.c1461 char *fullhost, in getnetnum() argument
1479 if (fullhost != NULL) in getnetnum()
1480 getnameinfo(&num->sa, SOCKLEN(num), fullhost, in getnetnum()
1486 if (fullhost != NULL) { in getnetnum()
1488 strlcpy(fullhost, ai->ai_canonname, in getnetnum()
1492 fullhost, LENHOSTNAME, NULL, in getnetnum()
/freebsd/contrib/ntp/ntpq/
H A Dntpq.c1980 char *fullhost,
1997 if (fullhost != NULL) in getnetnum()
1998 getnameinfo(&num->sa, SOCKLEN(num), fullhost, in getnetnum()
2004 if (fullhost != NULL) { in getnetnum()
2006 strlcpy(fullhost, ai->ai_canonname, in getnetnum()
2010 fullhost, LENHOSTNAME, NULL, in getnetnum()
1984 getnetnum(const char * hname,sockaddr_u * num,char * fullhost,int af) getnetnum() argument