Lines Matching refs:netibuf
126 static char *netibuf, *netip;
1691 netip = netibuf;
2287 if (!(netibuf = (char *)malloc(netibufsize)))
2288 syslog(LOG_ERR, "netibuf malloc failed\n");
2289 (void) memset(netibuf, 0, netibufsize);
2290 netip = netibuf;
2422 ncc = read(net, netibuf, netibufsize);
2433 netip = netibuf;
2973 netip = netibuf;
2981 while ((nsize = readstream(f, netibuf, ncc + netip - netibuf)) > 0) {
3374 netip = netibuf;
3375 (void) memset(netibuf, 0, netibufsize);
3415 ncc = read(net, netibuf, netibufsize);
3422 netip = netibuf;
4559 count = netip - netibuf;
4560 netibuf = (char *)realloc(netibuf,
4562 if (netibuf == NULL) {
4563 fatal(net, "netibuf realloc failed\n");
4566 netip = netibuf + count;
4567 buf = netibuf;
4597 tsize = netip - netibuf;
4600 if (!(netibuf = (char *)realloc(netibuf,
4602 fatalperror(net, "netibuf realloc failed\n", errno);
4605 netip = netibuf + tsize;