Skip to contentSkip to conversation

query netdevice interfaces.

DISCUSSION Joe Wong 1 participant 1 message May 4, 2002

lore
Share & tools
lore

Joe Wong

author
#0 lore raw

Hello,

I know there is a kernel API dev_get_by_name (const char * name) to
return a netdev with a given name. However, is there any way to query a list of available interface so I don't need to know the name beforehand?

Thx,

- Joe