Lines Matching defs:fcs
525 int fcs, i, count, c, proto;
536 fcs = ap->tfcs;
558 fcs = PPP_INITFCS;
565 fcs = PPP_FCS(fcs, 0xff);
567 fcs = PPP_FCS(fcs, 0x03);
581 fcs = PPP_FCS(fcs, c);
591 ap->tfcs = fcs;
598 fcs = ~fcs;
599 c = fcs & 0xff;
601 c = (fcs >> 8) & 0xff;
763 unsigned int len, fcs;
777 fcs = PPP_INITFCS;
779 fcs = PPP_FCS(fcs, *p++);
780 if (fcs != PPP_GOODFCS)
946 int dlen, fcs, i, code;
965 fcs = PPP_INITFCS;
967 fcs = PPP_FCS(fcs, data[i]);
971 ap->lcp_fcs = fcs;
976 fcs ^= ap->lcp_fcs;
978 if (fcs != 0)