Multiprotocol decapsulation/encapsulation control structure and packet protocol conversion method
AssigneeIntel Corporation
InventorsDonald F. Hooper, Stephanie L. Hirnak
Life of this patent
Estimating the term…
Abstract
A network packet may be forwarded by reading a table containing a plurality of flags to determine which of the plurality of flags is set or cleared and performing an operation on the packet to decapsulate or encapsulate the packet in accordance with values of the flags.
Claims31
A method of forwarding a network packet comprising:
- reading a table containing a plurality of flags to determine which of the plurality of flags is set or cleared;
- determining if the table returned decapsulate and encapsulate flags;
- adding a decapsulate byte count to a packet start offset and subtracting an encapsulate byte count from the packet start offset if the decapsulate and encapsulate flags are set;
- and
- prepending encapsulate bytes to the packet.
A method for encapsulating/decapsulating packets comprising:
- receiving a packet;
- reading in a first header of the packet and performing a layer 2 look-up reading a connection table which returns parameters;
- determining if the table returned decapsulate and encapsulate flags;
- adding a decapsulate byte count to a packet start offset and subtracting an encapsulate byte count from the packet start offset if the decapsulate and encapsulate flags are set;
- and
- prepending the encapsulate bytes to the packet.
A computer program product residing on a computer readable media for forwarding a network packet comprises instructions to cause a computer to:
- read a table containing a plurality of flags to determine, which of the plurality of flags is set or cleared;
- determine if the table returned decapsulate and encapsulate flags;
- add a decapsulate byte count to a packet start offset and subtract an encapsulate byte count from the packet start offset if the decapsulate and encapsulate flags are set;
- and
- prepend encapsulate bytes to the packet.
A computer program product residing on a computer readable media for forwarding a network packet comprises instructions to cause a computer to:
- receive a packet;
- read in a first header of the packet and perform a layer 2 look-up reading a connection table which return parameters;
- determine if the table returned decapsulate and encapsulate flags;
- add a decapsulate byte count to a packet start offset and subtracting an encapsulate byte count from the packet start offset if the decapsulate and encapsulate flags are set;
- and
- prepend encapsulate bytes to the packet.
A processor for processing a network packet comprises:
- a computer storage media storing instructions to cause a computer to:
- read a table containing a plurality of flags to determine, which of the plurality of flags is set or cleared;
- end
- determine if the table returned decapsulate and encapsulate flags;
- add a decapsulate byte count to a packet start offset and subtract an encapsulate byte count from the packet start offset if the decapsulate and encapsulate flags are set;
- and
- prepend the encapsulate bytes to the packet.
An apparatus comprising:
- means for reading a table containing a plurality of flags to determine which of the plurality of flags is set or cleared;
- means for determining if the table returned decapsulate and encapsulate flags;
- means for adding a decapsulate byte count to a packet start offset and for subtracting an encapsulate byte count from the packet start offset if the decapsulate and encapsulate flags are set;
- and
- means for prepending the encapsulate bytes to the packet.
Dependencies are inferred from the claim text.