Skip to main content

TCP Alternate Checksum Data Option

The format of the TCP Alternate Checksum Data Option is:

                +---------+---------+---------+     +---------+
| Kind=15 |Length=N | data | ... | data |
+---------+---------+---------+ +---------+

This field is used only when the alternate checksum that is negotiated is longer than 16 bits. These checksums will not fit in the checksum field of the TCP header and thus at least part of them must be put in an option. Whether the checksum is split between the checksum field in the TCP header and the option or the entire checksum is placed in the option is determined on a checksum by checksum basis.

The length of this option will depend on the choice of alternate checksum algorithm for this connection.

While computing the alternate checksum, the TCP checksum field and the data portion TCP Alternate Checksum Data Option are replaced with zeros.

An otherwise acceptable segment carrying this option on a connection using a 16-bit checksum algorithm, or carrying this option with an inappropriate number of data octets for the chosen alternate checksum algorithm is in error and must be discarded; a RST-segment must be generated, and the connection aborted.

Note the requirement above that RST and SYN segments must always use the standard TCP checksum.