Verification is the moment the checksum field earns its keep. This lesson sums the complete packet header and checks for the all-ones identity.
highlighted = computed this step
Why verification includes the checksum
To verify a received packet, the checksum word is not zeroed. The receiver sums every supplied word and expects the folded result to be all ones.
valid fold=0xffff
Book One checksum verifies
The full header from Book 1 includes checksum 0xb1e6. Summing all words folds to 0xffff, so the deferred checksum now verifies.
folded=0xffff
Verify it again
A second UDP DNS-style header, whose destination 8.8.8.8 is the address from Book 2, also folds to 0xffff. The same verify identity applies to a different packet.
folded=0xffff
Summary
Verification sums the exact received words, including the checksum field, and expects all ones. Error detection over the exact bytes; timing/throughput is not modeled here.