Patent ID: 8131877

Claim:
A method for modifying a data packet on a data network, the method comprising: receiving a data packet having one or more packet attributes; parsing the data packet based on the one or more packet attributes to obtain information regarding the data packet; retrieving user inputs from a memory, wherein the retrieved user inputs are associated with the one or more packet attributes; generating a rewrite data vector comprising the information parsed from the data packet, and the user inputs from the memory; receiving index information from a lookup table that corresponds to the one or more packet attributes; fetching a rewrite instruction template and a rewrite data template from storage using at least the index information; assembling packet rewrite instructions, with an instruction multiplexer, based on the rewrite data vector, the rewrite instruction template, and the rewrite data template, the packet rewrite instructions being a sequence of instructions to modify the data packet; and modifying the data packet according to the sequence of instructions as set forth by the packet rewrite instructions.