| CPC H04L 45/74 (2013.01) [H04L 12/4641 (2013.01); H04L 45/566 (2013.01)] | 20 Claims |

|
1. A method, comprising:
receiving, by a service function forwarder (SFF), a first segment routing over internet protocol version 6 (SRv6) packet, wherein a destination address of the first SRv6 packet comprises an endpoint penetrate segment ID (End.PT.SID), and the End.PT.SID indicates to the SFF to forward the first SRv6 packet to a service function (SF) device without stripping a segment routing header (SRH);
generating, by the SFF, a second SRv6 packet based on the End.PT.SID and the first SRv6 packet, wherein the second SRv6 packet comprises a control flag, the control flag indicates to the SF device to offset an internet protocol version 6 (IPv6) extension header that follows the control flag in the second SRv6 packet, and the IPv6 extension header in the second SRv6 packet comprises an SRH; and
sending, by the SFF, the second SRv6 packet to the SF device.
|