Home
last modified time | relevance | path

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

/src/share/examples/ipfilter/samples/
H A Dproxy.c233 char *nwptr, *nrptr, *owptr, *orptr; local
245 nrptr = netbuf;
256 if (nrptr - netbuf < sizeof(netbuf))
269 i = read(in, nrptr, sizeof(netbuf) - (nrptr - netbuf));
273 nrptr += i;
300 i = write(net, nwptr, nrptr - nwptr);
304 if (nsz == sizeof(netbuf) || nwptr == nrptr) {
305 nrptr = netbuf;