Lines Matching refs:hdlcrx
195 } hdlcrx; member
543 if (bc->hdlcrx.bufcnt < 4) in do_rxpacket()
545 if (!check_crc_ccitt(bc->hdlcrx.buf, bc->hdlcrx.bufcnt)) in do_rxpacket()
547 pktlen = bc->hdlcrx.bufcnt-2+1; /* KISS kludge */ in do_rxpacket()
555 memcpy(cp, bc->hdlcrx.buf, pktlen - 1); in do_rxpacket()
571 numbits = bc->hdlcrx.numbits; in receive()
572 state = bc->hdlcrx.state; in receive()
573 bitstream = bc->hdlcrx.bitstream; in receive()
574 bitbuf = bc->hdlcrx.bitbuf; in receive()
603 bc->hdlcrx.bufcnt = 0; in receive()
604 bc->hdlcrx.bufptr = bc->hdlcrx.buf; in receive()
617 if (bc->hdlcrx.bufcnt >= TXBUFFER_SIZE) { in receive()
620 *(bc->hdlcrx.bufptr)++ = bitbuf >> (16-numbits); in receive()
621 bc->hdlcrx.bufcnt++; in receive()
627 bc->hdlcrx.numbits = numbits; in receive()
628 bc->hdlcrx.state = state; in receive()
629 bc->hdlcrx.bitstream = bitstream; in receive()
630 bc->hdlcrx.bitbuf = bitbuf; in receive()
923 bc->hdlcrx.state = 0; in epp_open()
924 bc->hdlcrx.numbits = 0; in epp_open()