Fast update of data packet checksums
AssigneeSonicWALL, Inc.
InventorGeorge Weigt
Life of this patent
Estimating the term…
Abstract
A device includes a processor and a checksum module, wherein the checksum module calculates, for first data, an updated checksum that complies with Internet Engineering Task Force Request For Comments Number 1624 using twos-complement arithmetic. The processor replaces the original checksum with the updated checksum to update a data packet.
Claims19
A system for updating data packet checksums, the system comprising:
- a communication interface that receives a data packet via a first port, wherein the received data packet includes first source field information and first port field information;
- and
- a processor that executes instructions stored in memory, wherein execution of the instructions by the processor:
- identifies second source field information and second port field information for the data packet based on the first source field information and first port field information, the identified second source field information and the second port field information associated with a second port;
- calculates a checksum based on the second source field information and second port field information;
- and
- updates the received data packet based on the calculated checksum;
- wherein the communication interface forwards the updated data packet to a destination via a second port.
A method for updating data packet checksums, the method comprising:
- receiving a data packet at a communication interface via a first port, the received data packet including first source field information and first port field information;
- executing instructions stored in memory, wherein execution of the instructions by a processor:
- identifies second source field information and second port field information for the data packet based on the first source field information and first port field information, the identified second source field information and the second port field information associated with via a second port;
- calculates a checksum based on the second source field information and second port field information;
- and
- updates the received data packet based on the calculated checksum;
- and
- forwarding the updated data packet to a destination via a second port.
A non-transitory computer-readable storage medium, having embodied thereon instructions executable by at least one processor to perform a method for updating data packet checksums, the method comprising:
- receiving a data packet at a communication interface via a first port, the data packet including first source field information and first port field information;
- identifying second source field information and second port field information for the data packet based on the first source field information and first port field information, the identified second source field information and the second port field information associated with a second port;
- calculating a checksum based on the second source field information and second port field information;
- updating the received data packet based on the calculated checksum;
- forwarding the updated data packet to a destination via a second port.
Dependencies are inferred from the claim text.