Packet sending method, packet receiving method, and network device
AssigneeHuawei Technologies Co., Ltd.
InventorJianxiong Wei
Life of this patent
Estimating the term…
Abstract
A packet sending method includes generating, by a network device, a first packet, and sending the first packet. The first packet includes a first packet header, a second packet header, and protected data. The first packet header includes an indication field. The indication field indicates that the first packet includes the second packet header. The second packet header includes a type field. The type field indicates a first protection protocol. The protected data is protected by using the first protection protocol.
Claims20
A packet sending method implemented by a network device, comprising:
- generating a first packet comprising a first packet header, a second packet header, and protected data, wherein the first packet header comprises an indication field indicating that the first packet comprises the second packet header, wherein the second packet header comprises:
- 1) a type field indicating a first protection protocol, wherein the protected data is protected by the first protection protocol;
- 2) an offset field indicating a location of the protected data;
- and 3) a flag field indicating whether the second packet header comprises the offset field that indicates the location of the protected data;
- and
- sending the first packet.
A packet receiving method implemented by a network device, comprising:
- receiving a first packet comprising a first packet header, a second packet header, and protected data, wherein the first packet header comprises an indication field indicating that the first packet comprises the second packet header, wherein the second packet header comprises:
- 1) a type field indicating a first protection protocol, wherein the protected data is protected by the first protection protocol;
- 2) an offset field indicating a location of the protected data;
- and 3) a flag field indicating whether the second packet header comprises the offset field that indicates the location of the protected data;
- and
- obtaining original data according to the first protection protocol and the protected data, wherein the original data is not protected by using the first protection protocol.
A network device, comprising:
- a memory configured to store a computer program;
- and
- a processor coupled to the memory and configured to execute the computer program to cause the network device to:
- generate a first packet comprising a first packet header, a second packet header, and protected data, wherein the first packet header comprises an indication field indicating that the first packet comprises the second packet header, wherein the second packet header comprises:
- 1) a type field indicating a first protection protocol, wherein the protected data is protected by the first protection protocol;
- 2) an offset field indicating a location of the protected data;
- and 3) a flag field indicating whether the second packet header comprises the offset field that indicates the location of the protected data;
- and
- send the first packet.
Dependencies are inferred from the claim text.