2.1.2. Null FCS
2.1.2. Null FCS
The Null FCS SHOULD only be used for those network-layer and transport protocols which have an end-to-end checksum available, such as TCP/IP, or UDP/IP with the checksum enabled. That is, the Null FCS option SHOULD be negotiated together with another non-null FCS option in a heterogeneous environment. When a configuration (LCP or NCP) or authentication packet is sent, the FCS MUST be included. When a configuration (LCP or NCP) or authentication packet is received, the FCS MUST be verified. There are several cases to be considered: Null FCS alone The sender generates the FCS for those frames which require the FCS before sending the frame. When a frame is received, it is not necessary to check the FCS before demultiplexing. Any FCS is treated as padding. Receipt of an Authentication or Control packet would be discovered after passing the frame to the demultiplexer. Verification of the FCS can easily be accomplished using one of the software algorithms defined in "PPP in HDLC Framing" [3] (16-bit FCS) and Appendix A (32-bit FCS). Null FCS with another FCS, using software This is similar to the above case. Those packets which are required to have the FCS (Authentication, Control, or Network-Protocols lacking a checksum) are checked using software after demultiplexing. Packets which fail the FCS test are discarded as usual. Null FCS with another FCS, using hardware A flag is passed with the frame, indicating whether or not it has passed the hardware FCS check. The incorrect FCS MUST be passed with the rest of the data. The frame MUST NOT be discarded until after demultiplexing, and only those frames that require the FCS are discarded. All three FCS forms (Null, 16 and 32) may be used concurrently on different frames when using software. That is probably not possible with most current hardware.