sys/class/net/ethx/type What is it?
To get info of all etherhet adapters I am using C as well as info from various files in /sys/class/net/ethx directory.
There is a file name 'type' and has a number in it. Is it physical medium type of ethernet adapter? If yes, then how do I get string representation of that number? If no, then How do I determine physical medium type of ethernet adapter. For example 802.3, 802.5 etc.