Lines Matching defs:nfrontp
133 static char netobuf[BUFSIZ], *nfrontp = netobuf, *nbackp = netobuf;
1385 lstate, nfrontp-nbackp);
2418 if (nfrontp-nbackp) {
3298 if (nfrontp - nbackp)
3343 if ((nfrontp == nbackp) &&
3426 if (FD_ISSET(net, &obits) && (nfrontp - nbackp) > 0)
3531 neturg = nfrontp-1; /* off by one XXX */
4352 #define wewant(p) ((nfrontp > p) && ((*p&0xff) == IAC) && \
4365 while (nfrontp > thisitem) {
4372 } while (wewant(next) && (nfrontp > next));
4383 nfrontp = good; /* next byte to be sent */
4398 if ((n = nfrontp - nbackp) > 0) {
4438 if (nbackp == nfrontp) {
4439 nbackp = nfrontp = netobuf;
4827 for (q = nfrontp; p && *p && q < nfrontp + sizeof (netobuf) - 1; )
4839 nfrontp += q - netobuf;
4910 remaining = BUFSIZ - (nfrontp - netobuf);
4918 remaining = BUFSIZ - (nfrontp - netobuf);
4922 (void) memmove(nfrontp, buf, copied);
4923 nfrontp += copied;