Packet processing method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsXingwang Zhou, Feng Li, Jianfei He, Weiguang Wang, Yi Zhang, Yizhou Li
Life of this patent
Estimating the term…
Abstract
A system and method for packet processing, the method being applied to a first network device and including sending a first packet to a second network device, where a control packet header of the first packet includes a first number, and the first number indicates a number of a packet that carries the first number and that is between the first network device and the second network device, and receiving a first acknowledgement packet from the second network device, where the first acknowledgement packet comprises an indication indicating whether the second network device receives the first packet.
Claims19
A method, comprising:
- sending, by a first network device, a first packet to a second network device, wherein a control packet header of the first packet comprises a first number, and the first number is a number of the first packet in a process of transmitting the first packet between the first network device and the second network device, wherein the second network device is an intermediate overlay node on a forwarding path between a source edge node and a destination edge node, and wherein each node on the forwarding path that receives the first packet updates a value of the first number according to a current number of a packet transmitted between the respective sending node and the respective receiving node;
- and
- receiving, by the first network device, a first acknowledgement packet from the second network device, wherein the first acknowledgement packet comprises an indication indicating whether the second network device receives the first packet;
- wherein the control packet header of the first packet further comprises:
- a forwarding path field;
- a field indicating a location of the first network device on the forwarding path;
- and
- a tunnel type field;
- and
- wherein packets of different tunnel types correspond to different first number queues, and wherein the first packet further comprises an internet protocol (IP) packet header, the control packet header is an upper-layer packet header of the IP packet header, a source IP address of the IP packet header is an IP address of the first network device, and a destination IP address of the IP packet header is an IP address of the second network device.
A method, comprising:
- receiving, by a second network device, a first packet from a first network device, wherein a control packet header of the first packet comprises a first number, and the first number is a number of the first packet in a process of transmitting the first packet between the first network device and the second network device, wherein the second network device is an intermediate overlay node on a forwarding path between a source edge node and a destination edge node, and wherein each node on the forwarding path updates a value of the first number according to a current number of a packet transmitted between the respective sending node and the respective receiving node;
- and
- sending, by the second network device, a first acknowledgement packet to the first network device, wherein the first acknowledgement packet comprises an indication indicating that the second network device has received the first packet;
- wherein the control packet header of the first packet further comprises:
- a forwarding path field;
- a field indicating a location of the first network device on the forwarding path;
- and
- a tunnel type field;
- and
- wherein packets of different tunnel types correspond to different first number queues, and wherein the first packet further comprises an internet protocol (IP) packet header, the control packet header is an upper-layer packet header of the IP packet header, a source IP address of the IP packet header is an IP address of the first network device, and a destination IP address of the IP packet header is an IP address of the second network device.
A network device, wherein the network device is configured to act as a first network device, and the network device comprises:
- a transmitter, configured to send a first packet to a second network device, wherein a control packet header of the first packet comprises a first number, and the first number is a number of the first packet in a process of transmitting the first packet between the first network device and the second network device, wherein the second network device is an intermediate overlay node on a forwarding path between a source edge node on a destination edge node, and wherein each node on the forwarding path updates a value of the first number according to a current number of a packet transmitted between the respective sending node and the respective receiving node;
- and
- a receiver, configured to receive a first acknowledgement packet from the second network device, wherein the first acknowledgement packet comprises an indication indicating whether the second network device receives the first packet;
- wherein the control packet header of the first packet further comprises:
- a forwarding path field;
- a field indicating a location of the first network device on the forwarding path;
- and
- a tunnel type field;
- and
- wherein packets of different tunnel types correspond to different first number queues, and wherein the first packet further comprises an internet protocol (IP) packet header, the control packet header is an upper-layer packet header of the IP packet header, a source IP address of the IP packet header is an IP address of the first network device, and a destination IP address of the IP packet header is an IP address of the second network device.
Dependencies are inferred from the claim text.