Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Operation method of network card MAC address under VxWorks

A technology of MAC address and vxworks, which is applied in the computer field, can solve problems such as inconsistent methods of reading MAC addresses, and achieve the effects of simple and reliable operation methods, high execution efficiency, and strong versatility

Pending Publication Date: 2021-11-09
TIANJIN JINHANG COMP TECH RES INST
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because there are many types of network cards, the MAC addresses of different network cards usually need to be read from different specified I / O addresses, that is, the methods for reading MAC addresses of different network cards are not uniform.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to better understand the above technical solution, the technical solution of the present application will be described in detail below through specific examples. It should be understood that the embodiment of the present application and the specific features in the embodiment are a detailed description of the technical solution of the present application, rather than a detailed description of the technical solution of the present application. As for the limitation of the technical solution, the embodiments of the present application and the technical features in the embodiments may be combined without conflict.

[0025] In order to improve the convenience for software personnel to obtain the MAC address of the network card under the VxWorks operating system, and realize that the MAC addresses of all types of network cards are read and rewritten in the same way, the present invention proposes a method for operating the MAC address of the network card under VxWorks...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for operating a network card MAC address under VxWorks, and belongs to the technical field of computers. According to the method provided by the invention, a muxIoctl interface function in a VxWorks system kernel is utilized, and an EIOCGADDR command and an EIOCSADDR command of the interface are called to read and rewrite the MAC address of the network card, so that the method has high universality and is suitable for all types of network cards; According to the invention, the operation method is simple, reliable and high in execution efficiency, wherein the automatic setting of the network card MAC address when the VxWorks system is started can be completed by setting / modifying the script and the configuration file, separation of MAC address setting / modifying and program codes is achieved, and the maintainability of the system is greatly improved.

Description

technical field [0001] The invention relates to a method for operating the MAC address of a network card under VxWorks, and belongs to the technical field of computers. Background technique [0002] Usually, the operation on the MAC address of the network card under the VxWorks operating system mainly includes reading the MAC address and rewriting the MAC address. Due to the various types of network cards, the MAC addresses of different network cards usually need to be read from different specified I / O addresses, that is, the methods for reading the MAC addresses of different network cards are not uniform. In some specific applications, such as when there are dual redundant network cards in the system, we need to read out the MAC address of one of the network cards, and set the MAC address of the other network card to the same MAC address as it. Contents of the invention [0003] The technical problem solved by the present invention is: overcome the deficiencies in the pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445H04L29/12
CPCG06F9/4451H04L2101/622
Inventor 赵昶宇
Owner TIANJIN JINHANG COMP TECH RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products