Lines Matching defs:FCS
152 #define FCS(f, d) crctable[(f) ^ (d)]
619 * UIH frames: FCS is only calculated on address and control fields
620 * For other frames: FCS is calculated on address, control and length
633 fcs = FCS(fcs, b);
639 fcs = FCS(fcs, b);
647 fcs = FCS(fcs, b);
660 fcs = FCS(fcs, b);
665 /* FCS byte is last octet in frame */
668 fcs = FCS(fcs, b);
671 DPRINTF("Bad FCS value (%#2.2x), frame discarded\n", fcs);
1499 fcs = FCS(fcs, hdr->address);
1500 fcs = FCS(fcs, hdr->control);
1501 fcs = FCS(fcs, hdr->length);
1552 * [ADDRESS] [CONTROL] [LENGTH] [CREDITS] [...] [FCS]
1559 * FCS is one octet and calculated on address and
1575 fcs = FCS(0xff, *hdr);
1580 fcs = FCS(fcs, *hdr);
1601 /* Append FCS */