query netdevice interfaces.

From: Joe Wong (joewong@shaolinmicro.com)
Date: Fri May 03 2002 - 22:25:01 EST


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/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:22 EST