# US 2013/0259045 A1 · Systems and methods for modifying network packets to use unrecognized headers/fields for packet classification and forwarding

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0259045 A1
- Document ID: US20130259045A1
- Status: Published application
- Kind: A1
- Application number: 13/432,172
- Filed: 2012-03-28
- Published: 2013-10-03
- Earliest claimed: 2012-03-28
- Assignees: Anue Systems, Inc.
- Inventors: Stefan Johansson; Keith E. Cheney; Patricia A. Abkowitz; Shardendu Pandey; Gregory S. Hilton
- Web page: https://patentgrep.com/patent/US20130259045A1

## CPC

- H04L 45/306: {Route determination based on the nature of the carried application}
- H04L 69/16: Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods are disclosed for modifying network packets to use unrecognized headers/fields for packet classification and forwarding in packet processing systems, such as network tool optimizer (NTO) devices. The packet modifications described allow standard switch or routing integrated circuits (ICs) to process, classify, and forward packets based upon data that is not typically recognized by the hardware capabilities of the standard packet routing circuitry for packet processing. Input packets are modified so that unrecognized data becomes recognized data for purposes of packet processing, classification, and forwarding by the packet routing circuitry. These modifications are then removed after packets are processed to reform the original packets. The original packets are then provided to destination devices based upon packet classification and forwarding control information. As such, packet processing, classification, and forwarding is provided in packet processing systems using headers/fields that are not supported for processing by standard switch or routing integrated circuits (ICs).

## Claims

### Claim 1

A packet processing device for classifying and forwarding network packets, comprising:
one or more input ports configured to receive input packets from one or more external source devices;
packet routing circuitry configured to process packets based upon data within portions of packets recognized for purposes of packet processing by the packet routing circuitry, to ignore data in portions of packets not recognized for purposes of packet processing by the packet routing circuitry, and to forward processed packets based upon packet classification and forwarding control information;
packet modification circuitry configured to receive the input packets, to modify the input packets so that unrecognized data becomes data within recognized portions of the input packets for purposes of packet processing by the packet routing circuitry, and to provide the modified packets to the packet routing circuitry;
packet de-modification circuitry configured to receive the processed packets from the packet routing circuitry, to remove modifications from the modified packets, and to output reformed packets; and
one or more output ports configured to receive the reformed packets and to provide the reformed packets as output packets to one or more external destination devices.

### Claim 2 (depends on 1)

The packet processing device of claim 1, wherein the unrecognized data comprises data not within the input packets.

### Claim 3 (depends on 1)

The packet processing device of claim 1, wherein the unrecognized data comprises data within unrecognized portions of the input packets for purposes of packet processing by the packet routing circuitry.

### Claim 4 (depends on 1)

The packet processing device of claim 1, further comprising a packet processing controller configured to provide the packet classification and forwarding control information to the packet routing circuitry, to provide packet modification control information to the packet modification circuitry, and to provide packet de-modification control information to the packet de-modification circuitry.

### Claim 5 (depends on 4)

The packet processing device of claim 4, wherein the packet processing controller is configured to be accessed by an external user to allow user configuration of the packet classification and forwarding control information.

### Claim 6 (depends on 1)

The packet processing device of claim 1, wherein at least one field within the recognized portions of the modified packets is configured to be used to identify whether or not an input packet has been modified.

### Claim 7 (depends on 6)

The packet processing device of claim 6, wherein the packet modification circuitry is configured to apply one of a plurality of packet modifications and wherein at least one field within the recognized portions of the modified packets is configured to be used to identity which one of the plurality of modifications was applied.

### Claim 8 (depends on 7)

The packet processing device of claim 7, wherein one field within the recognized portions of the modified packets is used to identify both whether or not an input packet has been modified and which one of the plurality of modifications was applied.

### Claim 9 (depends on 1)

The packet processing device of claim 1, wherein the packet modification circuitry is configured to modify the input packets by adding encapsulation headers to the input packets and to insert the unrecognized data into the encapsulation headers, the encapsulation headers becoming recognized portions of the input packets.

### Claim 10 (depends on 9)

The packet processing device of claim 9, wherein the packet de-modification circuitry is configured to remove the encapsulation headers.

### Claim 11 (depends on 9)

The packet processing device of claim 9, wherein the encapsulation headers comprise IP headers configured to hold data copied from unrecognized portions of the input packets.

### Claim 12 (depends on 11)

The packet processing device of claim 11, wherein the encapsulation headers further comprise TCP headers or UDP headers configured to hold data copied from unrecognized portions of the input packets.

### Claim 13 (depends on 1)

The packet processing device of claim 1, wherein the packet modification circuitry is configured to modify the input packets by swapping the unrecognized data with data from recognized portions of the input packets.

### Claim 14 (depends on 13)

The packet processing device of claim 13, wherein the packet de-modification circuitry is configured to swap back the swapped data.

### Claim 15 (depends on 13)

The packet processing device of claim 13, wherein the unrecognized data comprises data within unrecognized portions of the input packets for purposes of packet processing by the packet routing circuitry, and wherein a number of bits swapped from the unrecognized portions are not equal to a number of bits used for swapping in the recognized portions.

### Claim 16 (depends on 13)

The packet processing device of claim 13, wherein the swapped data comprises IP addresses from unrecognized portions of the input packets.

### Claim 17 (depends on 16)

The packet processing device of claim 16, wherein the IP addresses are swapped into MAC headers in the recognized portions of the input packets.

### Claim 18

A method for processing network packets for classification and forwarding, comprising:
receiving input packets from one or more external source devices at one or more input ports for a packet processing device;
modifying the input packets so that unrecognized data becomes data within recognized portions of the input packets for purposes of packet processing by packet routing circuitry within the packet processing device;
classifying the modified packets with the packet routing circuitry based upon data within the recognized portions of the modified packets and not upon data within unrecognized portions of the modified packets;
forwarding the processed packets based upon packet classification;
removing modifications from the processed packets to generate reformed packets; and
outputting the reformed packets to one or more external destination devices through one or more output ports for the packet processing device.

### Claim 19 (depends on 18)

The method of claim 18, wherein the unrecognized data comprises data not within the input packets.

### Claim 20 (depends on 18)

The method of claim 18, wherein the unrecognized data comprises data within unrecognized portions of the input packets for purposes of packet processing by the packet routing circuitry.

### Claim 21 (depends on 18)

The method of claim 18, further comprising utilizing packet processing controller to provide packet classification and forwarding control information for the classifying and forwarding steps, to provide packet modification control information for the modifying step, and to provide packet de-modification control information for the removing step.

### Claim 22 (depends on 21)

The method of claim 21, further comprising allowing an external user to configure the packet classification and forwarding control information.

### Claim 23 (depends on 18)

The method of claim 18, further comprising using at least one field within the recognized portions of the modified packets identifies whether or not an input packet has been modified.

### Claim 24 (depends on 23)

The method of claim 23, wherein the modifying step applies one of a plurality of packet modifications and wherein at least one field within the recognized portions of the modified packets identities which one of the plurality of modifications was applied.

### Claim 25 (depends on 24)

The method of claim 24, further comprising using a single field within the recognized portions of the modified packets to identify both whether or not an input packet has been modified and which one of the plurality of modifications was applied.

### Claim 26 (depends on 18)

The method of claim 18, wherein modifying step comprises adding encapsulation headers to the input packets so that the encapsulation headers become recognized portions of the input packets and inserting the unrecognized data into the encapsulation headers.

### Claim 27 (depends on 26)

The method of claim 26, wherein the removing step comprises removing the encapsulation headers.

### Claim 28 (depends on 26)

The method of claim 26, further comprising including IP headers within the encapsulation headers and inserting data from unrecognized portions of the input packets into the IP headers.

### Claim 29 (depends on 28)

The method of claim 28, further comprising including TCP headers or UDP headers within the encapsulation headers and inserting data from unrecognized portions of the input packets into the TCP headers or the UDP headers.

### Claim 30 (depends on 18)

The method of claim 18, wherein the modifying step comprises swapping unrecognized data with data from recognized portions of the input packets.

### Claim 31 (depends on 30)

The method of claim 30, wherein the removing step comprises swapping back the swapped data.

### Claim 32 (depends on 30)

The method of claim 30, wherein the unrecognized data comprises data within unrecognized portions of the input packets for purposes of packet processing by the packet routing circuitry, and wherein a number of bits swapped from the unrecognized portions are not equal to a number of bits used for swapping in the recognized portions.

### Claim 33 (depends on 30)

The method of claim 30, wherein the swapping step comprises swapping IP addresses from unrecognized portions of the input packets into recognized portions of the input packets.

### Claim 34 (depends on 33)

The method of claim 33, wherein the IP address are swapped into MAC headers in recognized portions of the input packets.
