Packet receiving method, sending method, and forwarding method, apparatus, and system
AssigneeHuawei Technologies Co., Ltd.
InventorsZhenbin LI, Cheng LI, Jianwei MAO
Life of this patent
Estimating the term…
Abstract
This application provides a packet receiving method, sending method, and forwarding method, an apparatus, and a system, and relates to the field of communication technologies. In solutions provided in this application, a destination address field of a packet received by a first node includes a segment identifier, and the first node can determine, from the destination address field, an arguments field corresponding to the segment identifier, and can execute a processing behavior indicated by the arguments field.
Claims20
A network device applied to a first node, comprising:
- one or more memories configured to store instructions;
- and
- one or more processors coupled to the one or more memories and configured to execute the instructions, wherein execution of the instructions causes the network device to:
- receive a first packet, wherein a first destination address field of the first packet comprises a first segment identifier;
- determine a first arguments field from the first destination address field, wherein the first arguments field corresponds to the first segment identifier;
- and
- execute at least one first processing behavior indicated by the first arguments field.
A network device, comprising:
- one or more memories configured to store instructions;
- and
- one or more processors coupled to the one or more memories and configured to execute the instructions, wherein execution of the instructions causes the network device to:
- encapsulate a first segment identifier into a first packet;
- and
- send the first packet, so that a node receiving the first packet determines a first arguments field from a first destination address field of the first packet, and executes at least one first processing behavior indicated by the first arguments field, wherein
- the first arguments field corresponds to the first segment identifier.
A packet forwarding method, applied to a packet forwarding system, wherein the packet forwarding system comprises a first node and a second node, and the method comprises:
- receiving, by the first node, a first packet, wherein a first destination address field of the first packet comprises a first segment identifier;
- determining, by the first node, a first arguments field from the first destination address field, wherein the first arguments field corresponds to the first segment identifier;
- and
- executing, by the first node, at least one first processing behavior indicated by the first arguments field;
- and
- receiving, by the second node, a second packet sent by the first node, wherein the second packet is obtained based on the first packet, and a second destination address field of the second packet comprises a second segment identifier;
- determining, by the second node, a second arguments field from the second destination address field, wherein the second arguments field corresponds to the second segment identifier;
- and
- executing, by the second node, at least one second processing behavior indicated by the second arguments field.
Dependencies are inferred from the claim text.