Method for computing the internet checksum
Abstract
The present invention is directed to a method of updating a checksum associated with a packet of information to be transferred between correspondents. The method comprises the steps of: changing the value of a field; computing a complement; computing a difference; computing a one's complement difference from the first difference; computing a first intermediate checksum value equal to the sum of the complement of the checksum HC and the one's complement difference; computing a one's complement intermediate checksum from the intermediate checksum; computing a complement of the one's complement intermediate checksum; and replacing the checksum in the header with the updated checksum.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of updating a checksum HC associated with a packet of information to be transferred between correspondents, said packet having a number of fields each having a discrete function, said method comprising the steps of: a) changing a value m in one of said fields to a new value m′; b) computing a complement of said checksum HC; c) computing a first difference of said new value m′ and said value m; d) computing a one's complement difference from said first difference in accordance with an indication provided by a most significant bit of said first difference, said one's complement
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 15 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- Bell, C.G. et al, Computer Structures: Readings and Examples, 1971, Chapter 7 Subsection 4: Number Represention, McGraw-Hill, New York, USA. Available at http://www.ulib.org/webRoot/Books/Saving-Bell-Books/Computer-Structures:-Readings-and-Examples/000 00170.htm.
- Braden R. et al, "Computing the Internet Checksum," Request for Comments: 1071, Sep. 1988, Internet Engineering Task Force. Available at http://www.ietf.org/rfc/rfc1071.txt.
- Mallory T. et al, "Incremental Updating of the Internet Checksum," Request for Comments: 1141, Jan. 1990, Internet Engineering Task Force. Available at http://www.ietf.org/rfc/rfc1141.txt.
- Rijsinghani, A., "Computation of the Internet Checksum via Incremental Update," Request for Comments: 1624, Internet Engineering Task Force. Available at http://www.ietf.org/rfc/rfc1624.txt.
- Scaman et al., FITS Checksum proposal, Aug. 1995, NEC ResearchIndex Citeseer-Citeseer.org, p 1-22.*