Interface "type".
Hello,
I have a fairly quick one: Is there an ioctl flag/call which can be used to find out the "type" of the interface being used ?
I would like to somehow be able to tell in my application whether the interface in question is of type ETHERNET or ATM or FRAME_RELAY etc.
Any/all help will be greatly appreciated.
--
Haseeb Budhani.
Cell : 408.757.8709.
Work : 408.794.1511.
Haseeb Budhani <[email protected]> ecrit :
[...]
Quoted 2 lines
I have a fairly quick one: Is there an ioctl flag/call which can be used to find out the "type" of the interface being used ?
See net/core/dev.c:dev_ifsioc + SIOCGIFHWADDR + include/linux/if_arp.h
+ google/search?q=linux+ioctl+device+hardware+type&btnG=Google+Search
+ man ioctl_list
Signature · 1 line
Ueimor