Russell Coker - mailing lists account (bofh@snoopy.virtual.net.au)
Mon, 16 Jun 97 19:37:44 +1100

Are there any specifications on the data that is to be in
/proc/net/dev? I would like to fix the ppp driver so it fills in the
number of bytes transmitted and received, and to put in received bytes
counting on the Tulip driver. I would like to know the following:

Is the count the number of bytes transferred over the media or the size
of the IP packet? It appears to be the size of the IP packet.

On transmission the Tulip driver increases the byte counter before the
packet is sent and doesn't appear to decrease it on failure to send. Is
this a bug or is the byte count defined as the number of bytes that we
attempt to send?

Russell Coker