ITWissen.info - Tech know how online

frame check sequence (FCS)

The checksum field, Frame Check Sequence( FCS), is a data field for block security in the headers of the access procedures for local area networks, as well as in the protocols of the network layer such as the HDLC protocol, the IP protocol or various transport protocols such as the TCP protocol and the UDP protocol.

The checksum field contains the bits for error checking the checksum field. The complete block information to be protected is used to form the block checksum. This may refer to the header only or may also include the data. The checksum is calculated on the sender side from the entire data block and entered in the corresponding data field. The receiver determines the checksum from the received data block and compares it with the transmitted checksum.

Ethernet frame with Frame Check Sequence (FCS)

Ethernet frame with Frame Check Sequence (FCS)

Checksum field in IP, UDP and TCP header

In the IP header, the header checksum field has a length of 16 bits, over which errors in the header arechecked. In the IP checksum field, the ones complement of all 16-bit elements are added together and another ones complement is formed from the sum. Since the checksum can change when a data packet passes through a router, it must be recalculated in this case.

In the TCP header and UDP header, the data field for the checksum is also 2 octets long and takes into account all header parameters of its own header and the IP header on which the protocols are based.

Informations:
Englisch: frame check sequence - FCS
Updated at: 26.02.2017
#Words: 245
Links: checksum, field, fast circuit switching (FCS), data, block
Translations: DE
Sharing:    

All rights reserved DATACOM Buchverlag GmbH © 2024