commit | 5ada73a5d26ea61fea9120f483fd99c7e4cd5cb2 | [log] [tgz] |
---|---|---|
author | guy <guy> | Sun Jul 21 20:48:26 2002 +0000 |
committer | guy <guy> | Sun Jul 21 20:48:26 2002 +0000 |
tree | 6b15da37e4368e3cd92da2162c2741c3dda29858 | |
parent | aa266b3ec5615dcdd66180612872c98948e0ca98 [diff] |
Add a "in_cksum_shouldbe()" to compute, given an Internet checksum field in a packet header and the computed checksum for the data that the checksum covers, what the checksum field's value should have been. Use that routine in the IP printer.