Lines Matching defs:fcs
536 int fcs, i, count, c, proto;
547 fcs = ap->tfcs;
569 fcs = PPP_INITFCS;
576 fcs = PPP_FCS(fcs, 0xff);
578 fcs = PPP_FCS(fcs, 0x03);
592 fcs = PPP_FCS(fcs, c);
602 ap->tfcs = fcs;
609 fcs = ~fcs;
610 c = fcs & 0xff;
612 c = (fcs >> 8) & 0xff;
774 unsigned int len, fcs;
788 fcs = PPP_INITFCS;
790 fcs = PPP_FCS(fcs, *p++);
791 if (fcs != PPP_GOODFCS)
958 int dlen, fcs, i, code;
977 fcs = PPP_INITFCS;
979 fcs = PPP_FCS(fcs, data[i]);
983 ap->lcp_fcs = fcs;
988 fcs ^= ap->lcp_fcs;
990 if (fcs != 0)