PACKET FORWARDING METHOD AND DEVICE
This application discloses a packet forwarding method and apparatus, and pertains to the field of communications technologies. The method includes: determining whether a current to-be-sent target packet is a header packet or a following packet in a burst sequence; when the target packet is the follo...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This application discloses a packet forwarding method and apparatus, and pertains to the field of communications technologies. The method includes: determining whether a current to-be-sent target packet is a header packet or a following packet in a burst sequence; when the target packet is the following packet in the burst sequence, obtaining port information of an egress port used to send the burst sequence, where the port information of the egress port is determined and stored when the header packet in the burst sequence is sent, and the burst sequence is a sequence including a plurality of packets that belong to a same service flow; and sending the target packet through the obtained egress port. Because the port information of the egress port of the burst sequence is determined and stored when the header packet in the burst sequence is sent, in this application, when sending the target packet, the target packet may be directly sent through the corresponding egress port determined based on the stored egress port information, and there is no need to perform a complex action of looking up a routing table or looking up another forwarding table again based on forwarding information carried in the target packet, thereby increasing a forwarding rate and reducing a forwarding delay. |
---|