[ale] Help on device driver hacking

Doug McNash dmcnash at smyrnacable.net
Wed May 21 12:28:22 EDT 2003


Do 'cat /proc/net/dev' and you can pick off #packets and 
#total bytes per interface.  There maybe other statistics 
in the vast proc filesystem you might be interested in. 
 If you want to add custom statistics I would start 
looking at the section of code that outputs the /proc 
info.

>Also can somebody guide me(or give a few 
>hints/references) on how to program
>a NIC device driver to record number/size of packets 
>transferred over the
>NIC.
--
Doug McNash
dmcnash at smyrnacable.net
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list