US 12,231,329 B2
Method for forwarding packet on SR network, device, and system
Cheng Li, Beijing (CN); Zhenbin Li, Beijing (CN); Yang Xia, Beijing (CN); Taixu Tian, Dongguan (CN); and Yaqun Xiao, Beijing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Mar. 24, 2022, as Appl. No. 17/703,614.
Application 17/703,614 is a continuation of application No. PCT/CN2020/073785, filed on Jan. 22, 2020.
Claims priority of application No. 201910925974.3 (CN), filed on Sep. 27, 2019.
Prior Publication US 2022/0217081 A1, Jul. 7, 2022
Int. Cl. H04L 45/42 (2022.01); H04L 45/00 (2022.01); H04L 45/12 (2022.01); H04L 45/122 (2022.01)
CPC H04L 45/42 (2013.01) [H04L 45/122 (2013.01); H04L 45/127 (2013.01); H04L 45/566 (2013.01)] 29 Claims
OG exemplary drawing
 
1. A packet processing method, wherein the method is applied to a segment routing over Internet protocol version 6 (SRv6) network, and the method comprises:
receiving a packet, wherein the packet comprises a first pointer, a second pointer, and a segment list, the segment list comprises a plurality of compressed segment identifiers (C-SIDs), and wherein the segment list comprises at least one element, wherein the at least one element comprises a first element, the first element comprises at least two C-SIDs in the plurality of C-SIDs, the at least two C-SIDs include a first C-SID;
determining the first C-SID in the plurality of C-SIDs in the segment list based on the value of the first pointer and the value of the second pointer, wherein the value of the second pointer indicates the first element in the segment list, and the value of the first pointer indicates the first C-SID in the first element; and
adding the first C-SID to a destination address field of the packet.