IO Linux memory instance
no vote
Obtain card information of Linux system, including the physical address, IP address, subnet mask and other detailed information, access to the network card list need to obtain from /pro/net/dev file, open the file, then read the contents can be, the acquisition card information main function is iotcl and socket creation function.