Patent ID: 7307986

Claim:
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, wherein the preprocessing modules include a word select multiplexer for selecting the state object from a plurality of state objects within the state record, a first rotate module for shifting information within the state object to a selected position, and a mask module for creating a mask about the selected position so that a selected portion of the state object is modified; 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.