Lines Matching refs:hdlcrx
180 } hdlcrx; member
533 if (bc->hdlcrx.bufcnt < 4) in do_rxpacket()
535 if (!check_crc_ccitt(bc->hdlcrx.buf, bc->hdlcrx.bufcnt)) in do_rxpacket()
537 pktlen = bc->hdlcrx.bufcnt-2+1; /* KISS kludge */ in do_rxpacket()
545 memcpy(cp, bc->hdlcrx.buf, pktlen - 1); in do_rxpacket()
561 numbits = bc->hdlcrx.numbits; in receive()
562 state = bc->hdlcrx.state; in receive()
563 bitstream = bc->hdlcrx.bitstream; in receive()
564 bitbuf = bc->hdlcrx.bitbuf; in receive()
593 bc->hdlcrx.bufcnt = 0; in receive()
594 bc->hdlcrx.bufptr = bc->hdlcrx.buf; in receive()
607 if (bc->hdlcrx.bufcnt >= TXBUFFER_SIZE) { in receive()
610 *(bc->hdlcrx.bufptr)++ = bitbuf >> (16-numbits); in receive()
611 bc->hdlcrx.bufcnt++; in receive()
617 bc->hdlcrx.numbits = numbits; in receive()
618 bc->hdlcrx.state = state; in receive()
619 bc->hdlcrx.bitstream = bitstream; in receive()
620 bc->hdlcrx.bitbuf = bitbuf; in receive()
923 bc->hdlcrx.state = 0; in epp_open()
924 bc->hdlcrx.numbits = 0; in epp_open()