SIOCETHTOOL vs SIOCGMIIPHY vs SIOCGIFFLAGS

a 夏天 提交于 2019-12-10 18:57:20

问题


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?

来源:https://stackoverflow.com/questions/33039485/siocethtool-vs-siocgmiiphy-vs-siocgifflags

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!