/src/lib/libc/net/ |
getnameinfo.c | 126 char *host, socklen_t hostlen, 140 return getnameinfo_atalk(sa, salen, host, hostlen, 144 return getnameinfo_inet(sa, salen, host, hostlen, 147 return getnameinfo_link(sa, salen, host, hostlen, 150 return getnameinfo_local(sa, salen, host, hostlen, 164 char *host, socklen_t hostlen, char *serv, socklen_t servlen, 180 n = snprintf(host, hostlen, "%u.%u", 183 if (n < 0 || (socklen_t)(m+n) >= hostlen) 189 n = snprintf(host+m, hostlen-m, " phase %u", 192 if (n < 0 || (socklen_t)(m+n) >= hostlen) [all...] |
ethers.c | 147 int hostlen = (int)strlen(hostname); local in function:ether_hostton 170 if (yp_match(ypdom, "ethers.byname", hostname, hostlen,
|
/src/games/hunt/hunt/ |
hunt.c | 114 lookuphost(const struct sockaddr_storage *host, socklen_t hostlen) 119 result = getnameinfo((const struct sockaddr *)host, hostlen, 234 socklen_t hostlen; local in function:main 240 host = serverlist_gethost(i, &hostlen); 241 dump_scores(host, hostlen); 247 socklen_t hostlen; local in function:main 254 host = serverlist_gethost(i, &hostlen); 259 lookuphost(host, hostlen)); 374 socklen_t hostlen; local in function:find_driver 400 host = serverlist_gethost(0, &hostlen); [all...] |
/src/usr.sbin/lastlogin/ |
lastlogin.c | 112 static size_t hostlen = 0; variable in typeref:typename:size_t 113 #define SIZECOLUMNS (!(namelen && linelen && hostlen)) 148 hostlen = atoi(optarg); 183 if (!hostlen) 184 hostlen = FIXED_HOSTLEN; 464 if (!hostlen) 467 if (hostlen < len) 468 hostlen = len; 527 (int)hostlen, (int)hostlen, o->o_host [all...] |
/src/usr.bin/finger/ |
lprint.c | 147 print_idle(time_t t, int maxlen, size_t hostlen, size_t ttylen) { 164 if (hostlen) { 178 size_t ttylen, hostlen; local in function:lprint 249 hostlen = visify(hostbuf, sizeof(hostbuf), w->host); 255 cpr += print_idle(w->idletime, maxlen, hostlen, 270 if (hostlen) { 271 if (LINE_LEN < (cpr + 6 + hostlen))
|
/src/usr.sbin/ypserv/yppush/ |
yppush.c | 306 push(char *host, int hostlen, struct yppush_info *ypi) 318 snprintf(target, sizeof(target), "%*.*s", hostlen, hostlen, host);
|
/src/usr.bin/getnameinfo/ |
getnameinfo.c | 90 socklen_t hostlen = NI_MAXHOST, servlen = NI_MAXSERV, addrlen; local in function:main 237 hostlen = 0; 240 hostname, hostlen, service, servlen, flags);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_common_interceptors.inc | 2582 unsigned hostlen, char *serv, unsigned servlen, int flags) { 2584 COMMON_INTERCEPTOR_ENTER(ctx, getnameinfo, sockaddr, salen, host, hostlen, 2592 REAL(getnameinfo)(sockaddr, salen, host, hostlen, serv, servlen, flags); 2594 if (host && hostlen)
|