Patent ID: 9531849
Filing Date: 2016-12-27
CPC Classification: H04L

Claim Text:
1. A method of a rewrite engine, the method comprising: maintaining a pointer structure for a packet, the packet having a header including a plurality of protocol layers and a body, wherein the body of the header is a portion of the header that is not modified by the rewrite engine, and further wherein the pointer structure includes an end pointer, a plurality of layer pointers and a total size of the header of the packet, wherein each of the layer pointers point to a start position of a different one of the protocol layers of the header of the packet and the end pointer points to the start of the body of the header; splitting the layers of the packet based on the layer pointers for layer modifications; updating the layer pointers based on layer modifications; stitching back together the layers based on the updated layer pointers thereby forming a new protocol layer stack; and transmitting the packet with the new protocol layer stack to an output port.