Method and device for processing memory of network interface structure in linux environment
A technology of interface structure and environment network, which is applied in the field of Linux environment network interface structure memory processing, can solve problems such as system downtime and inaccessibility, and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] First, the Linux environment network interface structure memory processing method of the embodiment of the present invention is described, and the method may include the following steps:
[0027] When receiving an interface use request, according to the interface identification provided by the use request, search for a target memory address, the target memory address is the first address of the memory allocated to the target structure, and the target structure includes the interface identification;
[0028] When the target memory address is not found, create a structure including the interface identifier and an interface status identifier;
[0029] Allocate memory for the created structure;
[0030] Set the interface state flag of the created structure to available state;
[0031] When receiving an interface logout request, look for a structure including the interface identifier provided by the logout request;
[0032] Setting the interface status flag of the found st...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


