Lines Matching refs:hdlcrx
195 } hdlcrx; member
547 if (bc->hdlcrx.bufcnt < 4) in do_rxpacket()
549 if (!check_crc_ccitt(bc->hdlcrx.buf, bc->hdlcrx.bufcnt)) in do_rxpacket()
551 pktlen = bc->hdlcrx.bufcnt-2+1; /* KISS kludge */ in do_rxpacket()
559 memcpy(cp, bc->hdlcrx.buf, pktlen - 1); in do_rxpacket()
575 numbits = bc->hdlcrx.numbits; in receive()
576 state = bc->hdlcrx.state; in receive()
577 bitstream = bc->hdlcrx.bitstream; in receive()
578 bitbuf = bc->hdlcrx.bitbuf; in receive()
607 bc->hdlcrx.bufcnt = 0; in receive()
608 bc->hdlcrx.bufptr = bc->hdlcrx.buf; in receive()
621 if (bc->hdlcrx.bufcnt >= TXBUFFER_SIZE) { in receive()
624 *(bc->hdlcrx.bufptr)++ = bitbuf >> (16-numbits); in receive()
625 bc->hdlcrx.bufcnt++; in receive()
631 bc->hdlcrx.numbits = numbits; in receive()
632 bc->hdlcrx.state = state; in receive()
633 bc->hdlcrx.bitstream = bitstream; in receive()
634 bc->hdlcrx.bitbuf = bitbuf; in receive()
943 bc->hdlcrx.state = 0; in epp_open()
944 bc->hdlcrx.numbits = 0; in epp_open()