Method for network processor to copy packet and network processor
A network processor and message technology, applied in the field of communication, can solve the problems of increasing hardware cost, complicating hardware structure, increasing error probability and instability, etc. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] see figure 1 , this embodiment provides a method for a network processor to copy a message, the method comprising:
[0033] Step 101: After receiving the message, write the message into the external memory;
[0034] Step 102: When confirming that the message needs to be copied according to the locally configured service, generate the encapsulation header of the message and the encapsulation header of the copied message of the message;
[0035] Wherein, the encapsulation header is generated according to the design of the replication service. For example, during multicast replication, the encapsulation header is the MAC (Media Access Control, Media Access Control) address and VLAN (Virtual Local Area Network, Virtual Local Area Network) information of each multicast node;
[0036] Step 103: Send the encapsulation header of the message, and then read and send the message payload of the message in the external memory;
[0037] Step 104: Send the encapsulation header of th...
Embodiment 2
[0054] see image 3 , this embodiment provides a network processor, the network processor includes:
[0055] The receiving unit is used to receive the message and write the message into the external memory;
[0056] A processing unit, configured to confirm whether the message needs to be copied according to the locally configured service;
[0057] The sending unit is configured to generate the encapsulation header of the message and the encapsulation header of the copied message of the message when the processing unit confirms that the message needs to be copied; send the encapsulation header of the message, and then read and send the encapsulation header in the external memory The message payload of the message; and sending the encapsulation header of the copied message, and then reading and sending the message payload of the message in the external memory.
[0058] Further, see Figure 4 , the network processor also includes:
[0059] The internal cache unit is used to c...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com