fcs 89 net/ppp_defs.h #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) fcs 138 net/ppp_tty.c u_int16_t pppfcs(u_int16_t fcs, u_char *cp, int len); fcs 504 net/ppp_tty.c pppfcs(fcs, cp, len) fcs 505 net/ppp_tty.c u_int16_t fcs; fcs 510 net/ppp_tty.c fcs = PPP_FCS(fcs, *cp++); fcs 511 net/ppp_tty.c return (fcs); fcs 165 netbt/rfcomm.h uint8_t fcs; fcs 600 netbt/rfcomm_session.c uint8_t fcs, b; fcs 610 netbt/rfcomm_session.c fcs = 0xff; fcs 620 netbt/rfcomm_session.c fcs = FCS(fcs, b); fcs 626 netbt/rfcomm_session.c fcs = FCS(fcs, b); fcs 634 netbt/rfcomm_session.c fcs = FCS(fcs, b); fcs 647 netbt/rfcomm_session.c fcs = FCS(fcs, b); fcs 655 netbt/rfcomm_session.c fcs = FCS(fcs, b); fcs 657 netbt/rfcomm_session.c if (fcs != 0xcf) { fcs 658 netbt/rfcomm_session.c DPRINTF("Bad FCS value (%#2.2x), frame discarded\n", fcs); fcs 1453 netbt/rfcomm_session.c uint8_t fcs, cr; fcs 1482 netbt/rfcomm_session.c fcs = 0xff; fcs 1483 netbt/rfcomm_session.c fcs = FCS(fcs, hdr->address); fcs 1484 netbt/rfcomm_session.c fcs = FCS(fcs, hdr->control); fcs 1485 netbt/rfcomm_session.c fcs = FCS(fcs, hdr->length); fcs 1486 netbt/rfcomm_session.c fcs = 0xff - fcs; /* ones complement */ fcs 1487 netbt/rfcomm_session.c hdr->fcs = fcs; fcs 1497 netbt/rfcomm_session.c dlci, type, m->m_pkthdr.len, fcs); fcs 1516 netbt/rfcomm_session.c uint8_t fcs, *hdr; fcs 1559 netbt/rfcomm_session.c fcs = FCS(0xff, *hdr); fcs 1564 netbt/rfcomm_session.c fcs = FCS(fcs, *hdr); fcs 1586 netbt/rfcomm_session.c fcs = 0xff - fcs; /* ones complement */ fcs 1588 netbt/rfcomm_session.c m_copyback(m0, len, sizeof(fcs), &fcs); fcs 1589 netbt/rfcomm_session.c if (m0->m_pkthdr.len != len + sizeof(fcs)) fcs 1594 netbt/rfcomm_session.c credits, fcs);