query netdevice interfaces.

Joe Wong (joewong@shaolinmicro.com)
04 May 2002 11:25:01 +0800


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/