A method for determining data packet checksum after data modification
A technology for modifying data and data packets, applied in the field of data verification, can solve problems such as low efficiency and waste of processor resources, and achieve the effects of improving work efficiency, saving processor resources, and outstanding effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0033] In this embodiment, the method described in the present invention is described by taking TCP data packets as an example, as shown in Figure 2, the method described in this embodiment includes:
[0034] A. After the TCP data packet is modified, add the data before modification corresponding to all data segments involved in modification in the data packet to obtain a sum value x, and the data segment is to determine the checksum before the modification of the data packet The 16-bit data segment divided into;
[0035] B. Add the modified data corresponding to all data segments involved in modification in the data packet to obtain a sum value y;
[0036] C. Read the checksum Z before modification from the checksum field;
[0037] D, utilize formula (1) to get checksum and determine the checksum Z1 after this TCP packet modificati...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 