4

After some search on the Internet,I came to know that, following are the list of options available to get/set parameters to the ethernet interface.

  1. SIOCETHTOOL
  2. SIOCGMIIPHY
  3. SIOCGIFFLAGS

I even saw some 'stackoverflow' questions regarding the usage of SIOCETHTOOL. But the questions I have are:

  1. Comparison of these three interfaces (means API's) in terms of the features they offer and support in multiple kernels. When should one of these options should be preferred over the others.
  2. I hardly find documentations for SIOCETHTOOL and SIOCGMIIPHY. Can you please point to the same?
Community
  • 1
  • 1
Vivek Maran
  • 2,623
  • 5
  • 38
  • 52

0 Answers0