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