Lines Matching defs:wptr
304 uchar_t *wptr;
397 wptr = m->b_wptr;
403 wptr[0] = hdlcaddr;
404 wptr[1] = hdlcctrl;
405 wptr[2] = PPP_COMP >> 8;
406 wptr[3] = PPP_COMP;
408 wptr += PPP_HDRLEN;
410 wptr[0] = state->seqno >> 8;
411 wptr[1] = state->seqno;
412 wptr += 2;
420 wptr[-1] ^= 0xAA;
423 state->strm.next_out = wptr;
774 uchar_t *wptr;
869 mo->b_wptr = wptr = mo->b_rptr;
878 *wptr++ = hdlcaddr;
879 *wptr++ = hdlcctrl;
880 *wptr++ = 0;
892 state->strm.next_out = wptr;
943 if ((wptr[0] & 1) == 0) {
947 wptr[-1] = wptr[0];