Method for processing packet and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsHewen Zheng, Xiaojun Zhang, Lei Han, Xiaofei Xu
Life of this patent
Estimating the term…
Abstract
A method implemented by a communication apparatus for processing a packet. The method includes obtaining, by the communication apparatus, a first packet, where the first packet includes a first-layer header. The first-layer header includes an identification field used to identify whether the first-layer header of the first packet includes information in a second-layer header. The communication apparatus then processes the first packet, which may include sending the first packet, forwarding the first packet, scheduling or marking the first packet, or the like.
Claims20
A method implemented by a communication apparatus, the method comprising:
- obtaining a second packet comprising at least one of a network layer header or a transport layer header;
- generating, based on the second packet, a first packet comprising a first-layer header, wherein the first-layer header comprises an identification field for identifying whether the first-layer header comprises information in a second-layer header, wherein a link layer header of the first packet comprises the information in the at least one of the network layer header or the transport layer header of the second packet, and wherein the first packet does not comprise the at least one of the network layer header or the transport layer header;
- and
- processing the first packet.
An apparatus comprising:
- a memory configured to store instructions;
- and
- a processor coupled to the memory and configured to execute the instructions to cause the apparatus to:
- obtain a second packet comprising at least one of a network layer header or a transport layer header;
- generate, based on the second packet, a first packet comprising a first-layer header, wherein the first-layer header comprises an identification field for identifying whether the first-layer header of the first packet comprises information in a second-layer header, wherein a link layer header of the first packet comprises the information in the at least one of the network layer header or the transport layer header of the second packet, and wherein the first packet does not comprise the at least one of the network layer header or the transport layer header;
- and
- process the first packet.
A computer program product comprising computer-executable instructions stored on a non-transitory computer-readable storage medium, the computer-executable instructions when executed by a processor of an apparatus, cause the apparatus to:
- obtain a second packet comprising at least one of a network layer header or a transport layer header;
- generate, based on the second packet, a first packet comprising a first-layer header, wherein the first-layer header comprises an identification field for identifying whether the first-layer header of the first packet comprises information in a second-layer header, wherein a link layer header of the first packet comprises the information in the at least one of the network layer header or the transport layer header of the second packet, and wherein the first packet does not comprise the at least one of the network layer header or the transport layer header;
- and
- process the first packet.
Dependencies are inferred from the claim text.