| /src/external/bsd/ipf/dist/lib/ |
| hostname.c | 16 static char hostbuf[MAXHOSTNAMELEN+1]; local 34 strncpy(hostbuf, hp->h_name, sizeof(hostbuf)); 35 hostbuf[sizeof(hostbuf) - 1] = '\0'; 36 return hostbuf; 42 strncpy(hostbuf, np->n_name, sizeof(hostbuf)); 43 hostbuf[sizeof(hostbuf) - 1] = '\0' [all...] |
| /src/crypto/external/bsd/openssh/dist/ |
| auth-rhosts.c | 87 char hostbuf[RBUFLN], userbuf[RBUFLN], dummy[RBUFLN]; local 107 switch (sscanf(buf, "%1023s %1023s %1023s", hostbuf, userbuf, 127 host = hostbuf;
|
| /src/libexec/fingerd/ |
| fingerd.c | 78 char hostbuf[MAXHOSTNAMELEN]; local 131 hostbuf, sizeof(hostbuf), NULL, 0, 0); 132 lp = hostbuf;
|
| /src/usr.bin/last/ |
| want.c | 80 char hostbuf[sizeof(bp->ut_host) + 1], *hostp; local
|
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| getcertsbyname.c | 206 char hostbuf[1024]; /* XXX */ local 258 len = dn_expand(answer, eom, cp, hostbuf, sizeof(hostbuf)); 272 len = dn_expand(answer, eom, cp, hostbuf, sizeof(hostbuf));
|
| isakmp.c | 2766 char hostbuf[NI_MAXHOST]; 2783 if (getnameinfo(from, sysdep_sa_len(from), hostbuf, sizeof(hostbuf), 2786 strlcpy(hostbuf, "?", sizeof(hostbuf)); 2789 printf("%s:%s", hostbuf, portbuf); 2794 if (getnameinfo(my, sysdep_sa_len(my), hostbuf, sizeof(hostbuf), 2797 strlcpy(hostbuf, "?", sizeof(hostbuf)); 2765 char hostbuf[NI_MAXHOST]; local [all...] |
| /src/usr.bin/finger/ |
| lprint.c | 177 char timebuf[128], ttybuf[64], hostbuf[512]; local 249 hostlen = visify(hostbuf, sizeof(hostbuf), w->host); 273 (void)printf(" from %s", hostbuf);
|
| /src/external/bsd/libbind/dist/irs/ |
| lcl_ho.c | 113 char hostbuf[8*1024]; member in struct:pvt 341 bufp = pvt->hostbuf; 342 bufsiz = sizeof pvt->hostbuf;
|
| nis_ho.c | 83 char hostbuf[8*1024]; member in struct:pvt 198 strcpy(pvt->hostbuf, yp_multi); 199 strncat(pvt->hostbuf, name, sizeof(pvt->hostbuf) - sizeof(yp_multi)); 200 pvt->hostbuf[sizeof(pvt->hostbuf) - 1] = '\0'; 201 for (r = sizeof(yp_multi) - 1; pvt->hostbuf[r] != '\0'; r++) 202 if (isupper((unsigned char)pvt->hostbuf[r])) 203 tolower(pvt->hostbuf[r]); 205 tmp = pvt->hostbuf; [all...] |
| dns_ho.c | 131 char hostbuf[8*1024]; member in struct:pvt 734 bp = pvt->hostbuf; 735 ep = pvt->hostbuf + sizeof(pvt->hostbuf); 942 if (bp + n > &pvt->hostbuf[sizeof(pvt->hostbuf) - 1]) { 1053 if (bp + addrlen > &pvt->hostbuf[sizeof(pvt->hostbuf) - 1])
|
| /src/external/bsd/openldap/dist/libraries/libldap/ |
| util-int.c | 803 char *fqdn, hostbuf[MAXHOSTNAMELEN+1]; local 806 if( gethostname( hostbuf, MAXHOSTNAMELEN ) == 0 ) { 807 hostbuf[MAXHOSTNAMELEN] = '\0'; 808 name = hostbuf;
|
| /src/usr.bin/rpcinfo/ |
| rpcinfo.c | 604 char hostbuf[NI_MAXHOST]; local 608 if (getnameinfo(sa, (socklen_t)sa->sa_len, hostbuf, NI_MAXHOST, NULL, 612 hostname = hostbuf;
|
| /src/external/bsd/libbind/dist/include/ |
| netdb.h | 277 char hostbuf[_HOSTBUFSIZE]; member in struct:hostent_data
|
| /src/external/bsd/ntp/dist/util/ |
| ntp-keygen.c | 173 char hostbuf[MAXHOSTNAME + 1]; variable 176 char certnamebuf[2 * sizeof(hostbuf)]; 365 gethostname(hostbuf, sizeof(hostbuf) - 1); 366 hostbuf[COUNTOF(hostbuf) - 1] = '\0'; 367 hostname = hostbuf; 368 groupname = hostbuf; 369 passwd1 = hostbuf; 453 if (hostname != hostbuf) [all...] |
| /src/external/bsd/tcpdump/dist/ |
| addrtoname.c | 151 static char hostbuf[NI_MAXHOST]; local 155 host.h_name = hostbuf;
|
| /src/lib/libc/net/ |
| getaddrinfo.c | 1721 char hostbuf[8*1024]; local 1753 bp = hostbuf; 1754 ep = hostbuf + sizeof hostbuf; 2309 char hostbuf[8*1024]; local 2317 if (!(p = fgets(hostbuf, (int)sizeof hostbuf, *hostf)))
|
| /src/external/bsd/ipf/dist/tools/ |
| ipfstat.c | 1967 static char hostbuf[MAXHOSTNAMELEN+1]; local 1974 (void) inet_ntop(AF_INET6, &addr->in6, hostbuf, sizeof(hostbuf) - 1); 1975 hostbuf[MAXHOSTNAMELEN] = '\0'; 1976 return hostbuf;
|