Home
last modified time | relevance | path

Searched refs:nrptr (Results 1 – 1 of 1) sorted by relevance

/NextBSD/contrib/ipfilter/samples/
HDproxy.c234 char *nwptr, *nrptr, *owptr, *orptr; local
246 nrptr = netbuf;
257 if (nrptr - netbuf < sizeof(netbuf))
270 i = read(in, nrptr, sizeof(netbuf) - (nrptr - netbuf));
274 nrptr += i;
301 i = write(net, nwptr, nrptr - nwptr);
305 if (nsz == sizeof(netbuf) || nwptr == nrptr) {
306 nrptr = netbuf;