Lines Matching refs:fcs
1031 * Calculate a new fcs given the current fcs and the new data.
1033 unsigned short pppfcs16(register unsigned short fcs,
1041 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *cp++) & 0xff];
1043 return (fcs);
1061 unsigned short fcs;
1066 fcs = pppfcs16(PPPINITFCS16, header, 2);
1067 fcs = pppfcs16(fcs, buf, len) ^ 0xffff;
1068 tail[0] = fcs & 0x00ff;
1069 tail[1] = (fcs >> 8) & 0x00ff;