public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Interface "type".
@ 2001-05-30  8:25 Haseeb Budhani
  2001-06-02 12:14 ` Francois Romieu
  0 siblings, 1 reply; 2+ messages in thread
From: Haseeb Budhani @ 2001-05-30  8:25 UTC (permalink / raw)
  To: linux-kernel

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Interface "type".
  2001-05-30  8:25 Interface "type" Haseeb Budhani
@ 2001-06-02 12:14 ` Francois Romieu
  0 siblings, 0 replies; 2+ messages in thread
From: Francois Romieu @ 2001-06-02 12:14 UTC (permalink / raw)
  To: Haseeb Budhani; +Cc: linux-kernel

Haseeb Budhani <haseeb@ipinfusion.com> ecrit :
[...]
> 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

-- 
Ueimor

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-02 12:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-30  8:25 Interface "type" Haseeb Budhani
2001-06-02 12:14 ` Francois Romieu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox