| CPC H04L 45/748 (2013.01) [H04L 45/50 (2013.01); H04L 69/22 (2013.01)] | 29 Claims |

|
1. A method for forwarding a packet, comprising:
receiving a first packet in an Internet Protocol version 6 segment routing (SRv6) network, wherein a first packet header of the first packet comprises a segment list comprising a plurality of compressed segment identifiers, the segment list comprises a first element having a length of 128 bits, the first element comprises at least two compressed segment identifiers in the plurality of compressed segment identifiers, the first packet comprises a first pointer having a first value;
determining, based on the first value of the first pointer, a location of a first compressed segment identifier in the first element, wherein the first compressed segment identifier is one of the at least two compressed segment identifiers in the first element;
adding the first compressed segment identifier to a second packet header of the first packet to generate a second packet, wherein the second packet header is an Internet Protocol version 6 (IPv6) header, the second header comprises a destination address (DA) field with the first pointer;
sending the second packet.
|