ISRO Scientist/Engineer CSE 2020Computer Networks › Transport Layer (TCP and Flow Control)
ISRO Scientist/Engineer CSE 2020 PYQ: Checksum field in TCP header is
Checksum field in TCP header is
- Aones complement of sum of header and data in bytes
- Bones complement of sum of header, data and pseudo header in 16 bit wordsCorrect answer
- Cdropped from $\textsf{IPv6}$ header format
- Dbetter than $\textsf{md5}$ or $\textsf{sh1}$ methods
Answer
(B) ones complement of sum of header, data and pseudo header in $16$ bit words
Approach
Recall the TCP checksum definition: it covers the TCP header, the payload data, and a pseudo-header, with the arithmetic performed over 16-bit words using one's complement addition. Evaluate each option against this definition.
Reviewed by ISRO IQ Editorial Team.