Patent Description:
With the popularity of the Internet, an edge router plays an important role in a network system. The edge router is oriented to transfer a user from a local area network to a wide area network. Nowadays, there is still a significant difference between the local area network technology and the wide area network technology, and the edge router needs to meet a variety of service requirements of users, for example, from simple networking to a complex multimedia service and a (virtual private network, VPN) service.

<CIT> refers to a method for transmitting a packet, a forwarding device, a controller, and a system. The method comprises: a forwarding device receiving, by means of a port, a protocol packet from another forwarding device or a user equipment unit; the forwarding device performing virtual extensible local area network (VXLAN) encapsulation on the protocol packet to generate a first VXLAN packet, the first VXLAN packet comprising the protocol packet and information about the port; and the forwarding device transmitting the first VXLAN packet to a controller.

<CIT> refers to a method for a first network controller that manages a set of logical forwarding elements implemented in several managed forwarding elements. The method receives a request to trace a specified packet having a particular source on a logical forwarding element. The method generates the packet according to the packet specification. The generated packet includes an indicator that the packet is for a trace operation. The method sends the packet to a second network controller that manages a managed forwarding element associated with the particular source. The method receives a first set of messages regarding operations performed on the packet from a set of network controllers that receives a second set of messages regarding operations performed on the packet from a set of managed forwarding elements that process the packet.

Further, <CIT> refers to a control method executed by a packet processing device, the control method includes the steps of receiving, by a first processor, a received packet; identifying first processing execution information corresponding to the received packet, from among a plurality of first processing execution information, by referring to the first memory, based on packet identification information included in the received packet; and transmitting processing specification information included in the identified first processing execution information together with the received packet, to a second processor, when the processing specification information included in the identified first processing execution information specifies processing by the second processor; receiving, by the second processor, the processing specification information included in the identified first processing execution information and the received packet; and executing the processing for the received packet in accordance with second processing execution information specified by the received processing specification information, by referring to the plurality of second processing execution information.

Currently, services related to the edge router are all processed by a central processing unit (central processing unit, CPU) of the edge router. However, services related to the edge router are of a wide variety, and forwarding and processing capabilities of the CPU are difficult to improve. Consequently, service processing efficiency of the edge router is low.

This application provide a service processing method according to claim <NUM>, a network device according to claim <NUM> and a readable storage medium according to claim <NUM>, to simplify a process of processing a packet by a CPU in the network device, thereby improving service processing efficiency of the network device. This problem is solved by the subject matter of the independent claims. Further implementation forms are provided in the dependent claims.

The term "at least one" in this application refers to one or more, and the term "a plurality of" refers to two or more. The term "and/or" describes an association relationship between associated objects and represents that three relationships may exist. A and B may be singular or plural. The character "/" generally indicates an "or" relationship between the associated objects. "At least one of the following items" or other similar expressions refer to any combination of the items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c may be expressed as: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c may be singular or plural.

<FIG> is a schematic diagram of a communications system according to an embodiment of this application. As shown in <FIG>, the communications system includes a plurality of network devices. Some network devices are located in a local area network, and some network devices are located in a wide area network, and a packet may be forwarded between the network devices, to be transmitted from a source network device to a target network device. By using the network device, the packet may be forwarded between the local area network and the wide area network.

Edge network devices among the network devices may use solutions in embodiments of this application. It should be noted that the network device in the embodiments of this application is not limited to the edge network device.

<FIG> is a flowchart of a service processing method according to an embodiment of this application. The service processing method is applied to a network device, where the network device includes an NP and a CPU. As shown in <FIG>, the method of this embodiment may include the following steps.

The NP obtains a packet feature of the first packet.

In this embodiment, the packet received by the NP may be any packet, the packet herein is referred to as the first packet, and after the first packet is received, the packet feature of the first packet is obtained from the first packet. The packet feature may be, for example, at least one of the following: a media access control (media access control, MAC) address, virtual local area network (virtual local area network, VLAN) information, a destination port number, a source port number, a protocol number, an Internet Protocol (Internet Protocol, IP) address and other information.

Optionally, the NP may further obtain other information corresponding to the first packet from the first packet, for example, information about a to-be-processed service included in the first packet, routing information of the first packet, and a service configured on an interface that receives the first packet.

The NP obtains a processing rule corresponding to the packet feature.

In a possible design, the CPU sends the processing rule to the NP. The CPU may actively send the processing rule to the NP, or after receiving a request that is for obtaining the processing rule and that is sent by the NP, the CPU sends the processing rule to the NP. The NP processes the received packet based on the processing rule, and a manner in which the NP processes the packet is standardized, thereby improving efficiency of processing the packet by the NP.

In a possible design, one possible implementation of S203 may include the following:.

In this embodiment, the NP stores the processing rule corresponding to the packet feature of the packet, and the processing rule is stored in a form of the rule table. Therefore, after obtaining the packet feature of the first packet, the NP looks up in the rule table based on the packet feature of the first packet, to obtain the processing rule corresponding to the packet feature of the first packet. When the rule table of the NP already includes the processing rule corresponding to the packet feature of the first packet, the NP directly obtains the processing rule corresponding to the packet feature of the first packet from the rule table. When the rule table does not include the processing rule corresponding to the packet feature of the first packet, the NP needs to obtain the processing rule corresponding to the packet feature of the first packet from the CPU. In an implementation, the NP may add an extension header to the first packet, to obtain a packet, where the extension header includes first information, and the first information is used to indicate that the NP does not include the processing rule, and then the NP sends the packet to the CPU, to request to obtain the processing rule from the CPU. The CPU receives the packet sent by the NP, obtains the first information from the extension header of the packet, and sends the processing rule to the NP based on the first information. In another implementation, the NP may alternatively send the packet feature of the first packet to the CPU, and the CPU receives the packet feature of the first packet sent by the NP, and sends the processing rule corresponding to the packet feature of the first packet to the NP based on the packet feature of the first packet. Correspondingly, the NP receives the processing rule that corresponds to the packet feature of the first packet and that is sent by the CPU; and processes the first packet based on the processing rule, to obtain a second packet.

In this embodiment, after obtaining the packet feature, the NP in the network device first looks up in the rule table for the processing rule corresponding to the packet feature, and when the rule table does not include the processing rule corresponding to the packet feature, the NP sends the first packet or the packet feature to the CPU, to obtain the processing rule corresponding to the packet feature. In this way, a processing amount of the CPU is reduced, thereby improving processing efficiency of the CPU.

In a possible design, after the obtaining, by the NP, a processing rule corresponding to the packet feature, the method further includes: adding, by the NP, the processing rule to the rule table.

In this embodiment, after receiving the processing rule that corresponds to the packet feature of the first packet and that is sent by the CPU, the NP adds the processing rule corresponding to the packet feature of the first packet to the rule table, so that when subsequently receiving a packet that has a same packet feature as that of the first packet, the NP may directly finds the processing rule corresponding to the packet feature from the rule table, to avoid a case in which processing amounts of the NP and the CPU are increased because the NP needs to obtain the processing rule from the CPU each time the NP receives the packet, and improve efficiency of processing the packet by the CPU, thereby improving service processing efficiency of the network device.

The NP processes the first packet based on the processing rule, to obtain a second packet.

In this embodiment, after obtaining the packet feature of the first packet, the NP obtains the processing rule corresponding to the packet feature, where the processing rule is content agreed between the NP and the CPU. The processing rule, for example, may be that the NP obtains the packet feature of the packet received by the NP and sends the packet feature to the CPU, or may be that the NP obtains routing information of the packet received by the NP and sends the routing information to the CPU, or may be that the NP obtains a task configured on an interface that receives the packet, and sends the task to the CPU, where the interface that receives the packet is, for example, a physical interface or a virtual interface on the network device. The NP processes the first packet based on the processing rule, to obtain the second packet, and the second packet may include information included in the first packet that is parsed by the NP.

The NP sends the second packet to the CPU, and correspondingly, the CPU receives the second packet.

The CPU processes the second packet.

In this embodiment, the NP sends the second packet to the CPU, and the CPU receives the second packet. Then the CPU processes the second packet. Because the second packet is obtained after processing by the NP based on the processing rule, the CPU does not need to process the received packet based on the processing rule, to simplify a process of processing the received packet by the CPU.

In this embodiment, the network device includes the NP and the CPU, where the NP receives the first packet; obtains the packet feature of the first packet; obtains the processing rule corresponding to the packet feature; processes the first packet based on the processing rule, to obtain the second packet; and sends the second packet to the CPU; and the CPU receives and processes the second packet. Before the CPU processes the first packet, the NP processes the first packet, and sends the second packet obtained after processing to the CPU, so that the CPU may directly process the second packet, to simplify the process of processing, by the CPU, the packet received by the CPU, thereby improving service processing efficiency of the network device.

<FIG> is a flowchart of a service processing method according to another embodiment of this application. The service processing method is applied to a network device, where the network device includes an NP and a CPU. As shown in <FIG>, the method in this embodiment is described by using an example in which a processing rule includes reporting a packet feature, and the method in this embodiment may include the following steps.

The NP obtains a packet feature of the first packet.

In this embodiment, for specific implementations of S301 and S302, refer to S201 and S202, and details are not described herein again.

The NP obtains a processing rule corresponding to the packet feature, where the processing rule is reporting the packet feature.

The NP adds a first extension header to the first packet, to obtain a second packet, where the first extension header includes the packet feature.

The NP sends the second packet to the CPU, and correspondingly, the CPU receives the second packet.

In this embodiment, the processing rule obtained by the NP may be reporting the packet feature, and the reporting the packet feature is used to instruct the NP to send both the first packet and the packet feature of the first packet to the CPU. Therefore, the NP may add an extension header to the first packet, the extension header herein is referred to as the first extension header, and the first extension header includes the packet feature, to obtain the second packet that includes the packet feature of the first packet and the first packet. The NP sends the second packet obtained after processing based on the reported packet feature to the CPU.

The CPU obtains the packet feature from the first extension header of the second packet, and deletes the first extension header from the second packet, to obtain the first packet.

The CPU forwards the first packet based on the packet feature.

In this embodiment, when the CPU receives the second packet that includes the packet feature of the first packet, because the NP already adds the packet feature of the first packet to the first extension header of the second packet, the CPU directly obtains the packet feature of the first packet from the first extension header of the second packet. Then, the CPU deletes the first extension header of the second packet, to obtain the first packet, and forwards the first packet based on information included in the packet feature of the first packet. For example, the packet feature includes a MAC address, and the CPU forwards the first packet based on the MAC address at which the first packet is received.

In this embodiment, the NP in the network device adds the first extension header that includes the packet feature to the first packet based on the processing rule of reporting the packet feature, to obtain the second packet, and sends the second packet to the CPU, so that the CPU may directly obtain the packet feature of the first packet from the first extension header of the second packet, and does not need to analyze the obtained first packet to obtain the packet feature of the first packet, to simplify a process of processing the packet by the CPU, reduce time of processing the packet by the CPU, and improve efficiency of forwarding and processing the packet by the CPU, thereby improving service processing efficiency of the network device.

<FIG> is a flowchart of a service processing method according to another embodiment of this application. The service processing method is applied to a network device, where the network device includes an NP and a CPU. As shown in <FIG>, the method in this embodiment is described by using an example in which a processing rule includes obtaining routing information, and the method in this embodiment may include the following steps.

The NP obtains a packet feature of the first packet.

In this embodiment, for specific implementations of S401 and S402, refer to S201 and S202, and details are not described herein again.

The NP obtains a processing rule corresponding to the packet feature, where the processing rule is obtaining routing information.

The NP adds a first extension header to the first packet, to obtain a second packet, where the first extension header includes the routing information.

The NP sends the second packet to the CPU, and correspondingly, the CPU receives the second packet.

In this embodiment, the processing rule obtained by the NP may be obtaining the routing information, and the obtaining the routing information is that the CPU obtains, from the NP, the routing information of the first packet obtained by the NP, and in this case, the NP needs to send both the first packet and the routing information of the first packet to the CPU. Therefore, the NP may add an extension header to the first packet, the extension header herein is referred to as the first extension header, and the first extension header includes the routing information, to obtain the second packet that includes the routing information of the first packet and the first packet. The routing information may include, for example, a route index, where the route index is an identifier of a router entry, and the identifier of the router entry is used to indicate a storage location of the router entry in a routing table. The NP sends the second packet obtained after processing based on the processing rule to the CPU.

The CPU obtains the routing information from the first extension header of the second packet, and deletes the first extension header from the second packet, to obtain the first packet.

The CPU forwards the first packet based on the routing information.

In this embodiment, when the CPU receives the second packet that includes the routing information of the first packet, because the NP already adds the routing information of the first packet to the first extension header of the second packet, the CPU directly obtains the routing information of the first packet from the first extension header of the second packet. Then, the CPU deletes the first extension header of the second packet, to obtain the first packet, and forwards the first packet based on the routing information of the first packet. For example, if the routing information includes the route index, after obtaining the route index, the CPU finds the storage location of the router entry in the routing table based on the route index, so that the router entry stored in the storage location indicated by the route index may be obtained.

In this embodiment, the NP in the network device adds the first extension header that includes the routing information to the first packet based on the obtaining the routing information, to obtain the second packet, and sends the second packet to the CPU, so that the CPU may directly obtain the routing information of the first packet from the first extension header of the second packet, and forward the first packet based on the routing information, and does not need to analyze the first packet to obtain the routing information of the first packet, to simplify a process of processing a packet by the CPU, reduce time of processing the packet by the CPU, and improve efficiency of forwarding and processing the packet by the CPU, thereby improving service processing efficiency of the network device.

In some embodiments, based on the embodiment shown in <FIG> or <FIG>, when the CPU forwards the first packet, the CPU may forward the first packet to the NP, so that the CPU may hand over, to the NP, subsequent forwarding in a process required to complete forwarding of the first packet. For example, when forwarding the first packet, the CPU needs to encapsulate the first packet. Currently, the encapsulation of the first packet is completed by the CPU. In this application, the CPU hands over the process of encapsulating the first packet to the NP, to reduce a processing amount of the CPU, and improve forwarding and processing efficiency of the CPU, thereby improving service processing efficiency of the network device, and reducing processing time of the packet.

<FIG> is a flowchart of a service processing method according to another embodiment of this application. The service processing method is applied to a network device, where the network device includes an NP and a CPU. As shown in <FIG>, the method in this embodiment is described by using an example in which a processing rule includes reporting service information, and the method in this embodiment may include the following steps.

The NP obtains a packet feature of the first packet.

In this embodiment, for specific implementations of S501 and S502, refer to S201 and S202, and details are not described herein again.

The NP obtains a processing rule corresponding to the packet feature, where the processing rule is reporting service information.

The NP obtains a service configured on an interface that receives the first packet, and adds a first extension header to the first packet, to obtain a second packet, where the first extension header includes information about the service.

The NP sends the second packet to the CPU, and correspondingly, the CPU receives the second packet.

In this embodiment, the processing rule obtained by the NP may be reporting the service information, and the reporting the service information is used to instruct the NP to send both the first packet and the obtained service information of the first packet to the CPU. Therefore, the NP obtains the service configured on the interface that receives the first packet, forms the service information by using the obtained service configured on the interface that receives the first packet, and adds an extension header to the first packet, the extension header herein is referred to as the first extension header, and the first extension header includes the service information, to obtain the second packet that includes the service information of the first packet and the first packet. The NP sends the second packet obtained after processing based on the processing rule to the CPU.

There is at least one service that is obtained by the NP and that is configured on the interface that receives the first packet. Therefore, the service information includes information about at least one service, and when the service information includes a plurality of pieces of information about services, the service information is a service stack formed by information about a plurality of services.

Optionally, in the at least one service that is obtained by the NP and that is configured on the interface that receives the first packet, a service that the NP can process may exist, and a service that the NP cannot process may also exist. Therefore, the NP may add information about the service that the NP cannot process to the first extension header, or the NP may alternatively add information about the at least one service configured on the interface that receives the first packet to the extension header. This is not limited in this embodiment of this application.

The CPU obtains the information about the service from the first extension header of the second packet, and deletes the first extension header from the second packet, to obtain the first packet.

The CPU performs the service on the first packet.

In this embodiment, when the CPU receives the information about the service configured on the interface that receives the first packet, because the NP already adds the information about the service configured on the interface that receives the first packet to the first extension header of the second packet, the CPU directly obtains, from the first extension header of the second packet, the information about the service configured on the interface that receives the first packet. Then, the CPU deletes the first extension header of the second packet, to obtain the first packet. Then, the CPU performs the service based on the service information. For example, if the service that is configured on the interface receiving the first packet and that is obtained by the CPU by using the service information is collecting statistics on traffic, the CPU performs a service of collecting statistics on traffic.

In this embodiment, the NP in the network device adds, based on the processing rule, the service configured on the interface that receives the first packet to the first extension header of the second packet, and sends the service to the CPU, so that the CPU may directly obtain, from the first extension header of the second packet, the information about the service configured on the interface that receives the first packet, to directly process the service, and does not need to analyze the received packet to obtain the information about the service configured on the interface that receives the packet, to reduce time of processing the packet by the CPU, reduce the processing amount of the CPU, and improve efficiency of forwarding and processing the packet by the CPU, thereby improving service processing efficiency of the network device.

<FIG> is a flowchart of a service processing method according to another embodiment of this application. As shown in <FIG>, based on the embodiments shown in <FIG>, the service processing method provided in this application may further include the following steps.

The CPU sends a third packet to the NP, where the third packet includes a second extension header, and the second extension header includes processing information and a layer <NUM> header.

In this embodiment, the packet that should have been processed by the CPU may be handed over to the NP for processing, and in this case, when there is such a packet that needs to be processed, the NP may directly process the packet, without occupying processing resources of the CPU. For example, an implementation may be that: The CPU sends a third packet to the NP, where the third packet includes a second extension header, and the second extension header includes processing information and a layer <NUM> header. The processing information is used to notify the NP of a manner of processing the packet and information required for processing the packet. For example, the CPU notifies, by using the processing information, the NP of whether to encapsulate the layer <NUM> header, or whether to change fields in the packet. The CPU instructs, by using the processing information, the NP to add a field to the packet, and sends the to-be-added field to the NP by using the processing information, and the layer <NUM> header includes, for example, a MAC address, or VLAN information.

The NP obtains the processing information and the layer <NUM> header in the second extension header.

The NP deletes the second extension header from the third packet, to obtain a fourth packet.

The NP processes the fourth packet based on the processing information.

The NP adds the layer <NUM> header to the fourth packet, to obtain a fifth packet.

In this embodiment, the NP receives the third packet, and after obtaining the processing information and the layer <NUM> header from the second extension header of the third packet, the NP deletes the second extension header of the third packet, to obtain the fourth packet. Then, the NP adds the obtained layer <NUM> header to the fourth packet, to obtain the fifth packet.

This embodiment is described by using an example in which layer <NUM> virtual extensible local area network (virtual extensible local area network, VXLAN) processing that should have been performed by the CPU is handed over to the NP for processing.

The CPU configures the layer <NUM> VXLAN, and sends information related to the layer <NUM> VXLAN to the NP, so that the NP performs encapsulation and decapsulation of the layer <NUM> VXLAN on the packet based on the information related to the layer <NUM> VXLAN. The information related to the layer <NUM> VXLAN may include, for example, any one or more of an instruction of performing encapsulation and decapsulation of VXLAN on the packet, a MAC address, a VLAN identifier, a source IP address used for VXLAN encapsulation, a destination IP address used for VXLAN encapsulation, and a VXLAN network identifier used for VXLAN encapsulation.

In this embodiment, the CPU hands over the packet that should have been processed by the CPU to the NP for processing, to reduce a quantity of packets processed by the CPU, and improve efficiency of forwarding and processing the packet by the CPU, thereby improving service processing efficiency of the network device, and reducing time of forwarding and processing the packet.

Based on the above, in this embodiment of this application, the CPU and the NP may be integrated to collaboratively process the packet, or the packet processed by the CPU may be handed over to the NP for independent processing, so that the NP undertakes a part of work of the CPU, to improve efficiency of forwarding and processing the packet by the CPU, thereby improving service processing efficiency of the network device, and reducing time of processing the packet.

<FIG> is a schematic structural diagram of a network device according to an embodiment of this application. As shown in <FIG>, the network device <NUM> provided in this embodiment includes an NP <NUM> and a CPU <NUM>. The NP <NUM> is configured to: receive a first packet; obtain a packet feature of the first packet; obtain a processing rule corresponding to the packet feature; process the first packet based on the processing rule, to obtain a second packet; and send the second packet to the CPU <NUM>; and the CPU <NUM> is configured to: receive the second packet, and process the second packet.

In a possible design, the CPU <NUM> is further configured to send the processing rule to the NP <NUM>.

In a possible design, the processing rule is reporting the packet feature, where.

In a possible design, the processing rule is reporting service information. The NP <NUM> is configured to: obtain a service configured on an interface that receives the first packet, and add a first extension header to the first packet, to obtain the second packet, and the first extension header includes information about the service; and the CPU <NUM> is configured to: obtain the information about the service from the first extension header of the second packet; delete the first extension header from the second packet, to obtain the first packet; and perform the service on the first packet.

In a possible design, when obtaining the processing rule corresponding to the packet feature, the NP <NUM> is configured to: look up in a rule table stored on the NP <NUM> based on the packet feature; obtain the processing rule from the rule table when the rule table includes the processing rule; and when the rule table does not include the processing rule, send the packet or the packet feature to the CPU <NUM>; and receive the processing rule returned by the CPU <NUM>.

In a possible design, the NP <NUM> is further configured to add the processing rule to the rule table.

In a possible design, the CPU <NUM> is configured to send a third packet to the NP <NUM>, where the third packet includes a second extension header, and the second extension header includes processing information and a layer <NUM> header.

The NP <NUM> is configured to: obtain the processing information and the layer <NUM> header in the second extension header; delete the second extension header from the third packet, to obtain a fourth packet; process the fourth packet based on the processing information; and add the layer <NUM> header to the fourth packet, to obtain a fifth packet.

The network device provided in this embodiment may be configured to perform the technical solutions of the foregoing method embodiments. The implementation principles and technical effects are similar, and are not further described herein.

<FIG> is a schematic structural diagram of a network device according to another embodiment of this application. As shown in <FIG>, the network device <NUM> of this embodiment may include: at least one processor <NUM> and a memory <NUM>. A network device having one processor is used as an example in <FIG>.

The memory <NUM> is configured to store a program. Specifically, the program may include program code, and the program code includes a computer-executable instruction. The memory <NUM> may include a high speed random access memory (random access memory, RAM), or may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.

The processor <NUM> is configured to execute the computer-executable instruction stored in the memory <NUM>, to implement the service processing method shown in the foregoing method embodiments and performed in the foregoing embodiments.

Optionally, in a specific implementation, if the memory <NUM> and the processor <NUM> are independently implemented, the memory <NUM> and the processor <NUM> may be connected to each other by using a bus and complete communication between each other. The bus may be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (Peripheral Component Interconnect, PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The bus may be categorized as an address bus, a data bus, a control bus, or the like, but this does not mean that there is only one bus or a bus of one type.

Optionally, in a specific implementation, if the memory <NUM> and the processor <NUM> are integrated on one chip for implementation, the memory <NUM> and the processor <NUM> may complete communication between each other by using an internal interface.

The network device in this embodiment may be configured to perform the technical solutions of the foregoing method embodiments. The implementation principles and technical effects are similar, and are not described herein again.

When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in one computer-readable storage medium. Based on such an understanding, the technical solutions of this application essentially, or the part contributing to the prior art, or some of the technical solutions may be implemented in a form of a software product. The software product is stored in one storage medium, and includes several instructions for instructing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or some of the steps of the methods described in the embodiments of this application.

Claim 1:
A network device (<NUM>) comprising a network processor, NP (<NUM>), and a central processing unit, CPU (<NUM>), wherein the network device (<NUM>) is an edge router, wherein:
• the NP (<NUM>) is configured to:
∘ receive a first packet, and obtain a packet feature of the first packet;
∘ obtain a processing rule corresponding to the packet feature, wherein the processing rule is reporting the packet feature to the CPU;
∘ process the first packet based on the processing rule, to obtain a second packet by adding a first extension header to the first packet, wherein the first extension header comprises the packet feature; and
∘ send the second packet to the CPU (<NUM>);
• the CPU (<NUM>) is configured to:
o receive the second packet, and process the second packet, wherein the processing the second packet comprises the steps of:
▪ obtaining the packet feature from the first extension header of the second packet;
▪ deleting the first extension header from the second packet, to obtain the first packet; and
▪ forwarding the first packet based on the packet feature.