Packet processing method, apparatus, and system
AssigneeHuawei Technologies Co., Ltd.
InventorsJie Dong, Haibo Wang
Life of this patent
Estimating the term…
Abstract
A packet processing method includes a first device that obtains a forwarding entry, where the forwarding entry includes a match entry and an action entry, and the match entry includes an identifier of one or more extension packet headers. The first device receives a first packet. The first device determines that the first packet includes an extension packet header that matches the match entry. The first device processes the first packet based on the action entry in response to determining that the first packet includes the extension packet header that matches the match entry.
Claims20
A method implemented by a first device, wherein the method comprises:
- obtaining a forwarding entry comprising a match entry and an action entry corresponding to the match entry, wherein the match entry comprises a first identifier of one or more extension packet headers, and wherein the match entry is for defining an extension packet header of a processed packet;
- receiving a first packet;
- determining, based on the match entry, that the first packet comprises the extension packet header that matches the match entry;
- and
- processing the first packet based on the action entry in response to determining that the first packet comprises the extension packet header that matches the match entry.
A method, comprising:
- generating a notification message comprising a match entry and an action entry corresponding to the match entry, wherein the match entry comprises a first identifier of one or more extension packet headers, and wherein the match entry is for defining an extension packet header of a processed packet;
- and
- sending the notification message for triggering processing, based on the action entry, a packet comprising an extension packet header that matches the match entry.
An apparatus in a first device, wherein the apparatus comprises:
- one or more memories configured to store instructions;
- and
- at least one processor coupled to the one or more memories and configured to execute the instructions to cause the apparatus to:
- obtain a forwarding entry comprising a match entry and an action entry corresponding to the match entry, wherein the match entry comprises a first identifier of one or more extension packet headers, and wherein the match entry is for defining an extension packet header of a processed packet;
- receive a first packet;
- determine, based on the match entry, that the first packet comprises the extension packet header that matches the match entry;
- and
- process, based on the action entry in response to determining that the first packet comprises the extension packet header that matches the match entry, the first packet.
An apparatus in a second device, wherein the apparatus comprises:
- one or more memories configured to store instructions;
- and
- at least one processor coupled to the one or more memories and configured to execute the instructions to cause the apparatus to:
- generate a notification message comprising a match entry and an action entry corresponding to the match entry, wherein the match entry comprises a first identifier of one or more extension packet headers, and wherein the match entry is for defining an extension packet header of a processed packet;
- and
- send, to a first device, the notification message for triggering processing, based on the action entry, a packet comprising an extension packet header that matches the match entry.
Dependencies are inferred from the claim text.