Searched refs:hostbuf (Results 1 - 7 of 7) sorted by relevance

/haiku-fatelf/src/kits/network/libbind/irs/
H A Dnis_ho.c81 char hostbuf[8*1024]; member in struct:pvt
196 strcpy(pvt->hostbuf, yp_multi);
197 strncat(pvt->hostbuf, name, sizeof(pvt->hostbuf) - sizeof(yp_multi));
198 pvt->hostbuf[sizeof(pvt->hostbuf) - 1] = '\0';
199 for (r = sizeof(yp_multi) - 1; pvt->hostbuf[r] != '\0'; r++)
200 if (isupper((unsigned char)pvt->hostbuf[r]))
201 tolower(pvt->hostbuf[r]);
203 tmp = pvt->hostbuf;
[all...]
H A Dgethostent_r.c229 cp = hdptr->hostbuf;
230 eob = hdptr->hostbuf + sizeof(hdptr->hostbuf);
H A Ddns_ho.c130 char hostbuf[8*1024]; member in struct:pvt
748 bp = pvt->hostbuf;
749 ep = pvt->hostbuf + sizeof(pvt->hostbuf);
956 if (bp + n > &pvt->hostbuf[sizeof(pvt->hostbuf) - 1]) {
1067 if (bp + addrlen > &pvt->hostbuf[sizeof(pvt->hostbuf) - 1])
H A Dlcl_ho.c110 char hostbuf[8*1024]; member in struct:pvt
337 strcpy(pvt->hostbuf, "localhost");
345 pvt->host.h_name = pvt->hostbuf;
353 bufp = pvt->hostbuf;
354 bufsiz = sizeof pvt->hostbuf;
/haiku-fatelf/src/bin/network/ftpd/
H A Dftpd.c2008 char hostbuf[NI_MAXHOST], portbuf[NI_MAXSERV]; local
2012 hostbuf, sizeof(hostbuf) - 1,
2015 *hostbuf = *portbuf = 0;
2016 hostbuf[sizeof(hostbuf) - 1] = 0;
2019 hostbuf, portbuf, strerror(errno));
/haiku-fatelf/src/bin/network/telnet/
H A Dcommands.c2366 static char hostbuf[BUFSIZ];
2369 strncpy(hostbuf, hostp, BUFSIZ - 1);
2370 hostbuf[BUFSIZ - 1] = '\0';
2372 hostp = hostbuf;
2358 static char hostbuf[BUFSIZ]; local
/haiku-fatelf/src/bin/network/tcpdump/
H A Daddrtoname.c109 static char hostbuf[NI_MAXHOST]; local
113 host.h_name = hostbuf;

Completed in 75 milliseconds