发明名称 Method for generating an internet protocol suite checksum in a single macro instruction
摘要 An Internet checksum for use by TCP/IP is generated in a single macro-instruction called a Block Add Octets instruction. Extraneous overhead of macro-instruction looping and bit masking is eliminated by combining checksum operations into a single macro-instruction using a block add approach. The programmer specifies the address in memory and the number of double-words of message data to be added together within a single instance of the Block Add Octets instruction so that looping and jump/branch instructions are not needed. The Block Add Octets instruction fetches all octets (8-bit data segments) contained in full double words from memory and adds them into the checksum. The method handles partial double words of data, full double words, and odd numbers of double words, whereby a double word consists of four octets. The checksum is calculated using one's complement arithmetic rather than two's complement, thereby increasing the speed of checksum calculation because the "end around carry" is eliminated. The number of octets that can be added to the checksum per processor cycle is greatly increased, thereby significantly improving overall TCP/IP performance.
申请公布号 US5701316(A) 申请公布日期 1997.12.23
申请号 US19950521695 申请日期 1995.08.31
申请人 UNISYS CORPORATION 发明人 ALFERNESS, MERWIN H.;CRISWELL, PETER BRADLEY;JOHNSON, DAVID RANDAL;MCBREEN, JAMES R.
分类号 G06F11/10;H04L1/00;H04L29/06;H04L29/08;(IPC1-7):G06F11/10 主分类号 G06F11/10
代理机构 代理人
主权项
地址