Re: Speed of Ethernet Interface in linux-kernel

Alan Cox (alan@lxorguk.ukuu.org.uk)
30 Dec 2002 15:22:32 +0000


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/