Claims
- 1. A system for modifying a state record related to processing of a packet, comprising:
a plurality of modification paths, each modification path capable of making a modification to a state object within the state record in parallel with the other modification paths, and each of the plurality of modification paths including:
one or more preprocessing modules for receiving the state record and preparing the state object to be modified by that modification path for modification; a logic module for receiving the prepared state object from the one or more preprocessing modules and modifying the state object; and one or more postprocessing modules for receiving the modified state object and preparing the state record for output.
- 2. The system of claim 1, wherein the one or more preprocessing modules include a word select multiplexor for selecting a part of the piece of state information to be modified by the logic module in that modification path.
- 3. A method for modifying a state record related to processing of a packet, comprising:
selecting an object within the state record to be modified; performing a first offsetting process the information within the object; masking the object with a mask; applying an inverse of the mask to a copy of the object; modifying the masked object; combining the modified object with the copy of the object to which an inverse mask has been applied; and performing a second offsetting process on the combined modified object to reverse the first offsetting process.
- 4. A computer program product comprising a computer-readable medium containing computer program code for modifying a multiple state objects within a state record related to processing of a packet, the computer program code comprising instructions for performing, on each of the multiple state objects in parallel, the steps of:
receiving information indicating a state object within the state record to be modified; selecting, according to the received information indicating the state object within the state record to be modified, the indicated state object to be modified; receiving information indicating a byte offset for the state object to be modified; performing, according to the received information indicating the byte offset for the state object to be modified, a first offsetting process the information within the state object; receiving information indicating a size of a piece of information within the state object to be modified; masking the state object with a mask, according to the received information indicating the size of the piece of information within the state object to be modified; applying an inverse of the mask to a copy of the state object; receiving information indicating a modification to be performed on the state object; modifying the masked state object, according to the received information indicating the modification to be performed on the state object; combining the modified state object with the copy of the state object to which the inverse mask has been applied; and performing a second offsetting process on the combined modified state object to reverse the first offsetting process, according to the received information indicating the byte offset for the state object to be modified.
RELATED APPLICATIONS
[0001] This application claims priority from U.S. provisional application No. 60/354,405 filed on Feb. 4, 2002, which is incorporated by reference herein in its entirety.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60354405 |
Feb 2002 |
US |