The Internet Checksum
Used in IP, ICMP, TCP, UDP, …
Alg: 1’s complement of the 1’s complement sum of data interpreted 16 bits at a time. In 1’s comp., two zeros!
1’s complement addition is “end-round-carry” addition. Why?
- 2’s complement carry is a zero-crossing; account for -0 by adding one