how can I determine a network device speed from a linux kernel module

Posted by meg18019 on Stack Overflow See other posts from Stack Overflow or by meg18019
Published on 2010-05-15T02:59:05Z Indexed on 2010/05/15 3:04 UTC
Read the original article Hit count: 243

Filed under:
|

I have a linux kernel module that needs to find the speed of a given network interface (i.e. "eth0"). For linux 2.6.31 how would I find the speed (configured/negotiated)?

© Stack Overflow or respective owner

Related posts about linux

Related posts about kernel