Method for treating protocol stack of route through one process
A routing protocol and single-process technology, applied in the field of communication, can solve the problems of high CPU overhead and low CPU operating efficiency, and achieve the effect of improving operating efficiency and saving resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The invention points of the present invention will be specifically described below with reference to the drawings.
[0033] see figure 2 , which is a flow chart of the present invention using a single process to process the routing protocol stack. The method includes:
[0034] S110: When the process of the routing protocol stack is started, the routing protocol stack is initialized, and the initialization includes:
[0035] A: Establish a protocol registration linked list of each layer, each node of the protocol registration linked list saves the information of a protocol supported by this layer, and the information is used to process sending and receiving data and protocol events;
[0036] B: Establish a protocol event chain list, if the protocol receives an instruction from the application layer, add a node in the protocol event chain list to save the protocol event;
[0037] S120: Search each node of the protocol registration linked list in turn, and perform pack...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 