Re: Speed of Ethernet Interface in linux-kernel

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Dec 30 2002 - 10:22:32 EST


On Mon, 2002-12-30 at 14:22, narayana rao wrote:
> Hi All,
>
> I am Implementing MIB-II( rfc-1213) on Linux. All these API's are kept
> under kernel. my questions is how can I get speed of the Ethernet

Why not do it in user space like everyone else does ? You get the speed
on newer interfaces using the ethtool interfaces

-
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 Dec 31 2002 - 22:00:16 EST