Speed of the network card

Sourav Ghosh (sourav@cs.cmu.edu)
Sat, 06 Jan 2001 20:20:02 -0500


Hello,

I was wondering how I can determine the speed of a network device inside
the kernel.

In case of ethernet, the "name" field of device structure will only
give eth0 or something. But the speed could be either 10Mbps or 100Mbps.

Thanks,

--
Sourav

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