Question: Suppose that one byte in a buffer covered by the Internet checksum algorithm needs to be decremented (e.g., a header hop count field). Give an
Suppose that one byte in a buffer covered by the Internet checksum algorithm needs to be decremented (e.g., a header hop count field).
Give an algorithm to compute the revised checksum without rescanning the entire buffer. Your algorithm should consider whether the byte in question is low order or high order.
Step by Step Solution
3.34 Rating (157 Votes )
There are 3 Steps involved in it
The Internet Checksum is used to verify data integrity in the Internet Protocol IP Transmission Control Protocol TCP and User Datagram Protocol UDP am... View full answer
Get step-by-step solutions from verified subject matter experts
