> 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.
Should be the size of the raw frame that gets passed to the Ethernet
controller.
> 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?
It's probably easiest to define it like that - the Tulip driver isn't
alone, and it can sometimes be sticky to work out how many bytes were sent
after the event. Also, I think the transmitted packet count measures the
number of packets that were queued for transmission, not the number that
made it onto the wire.
p.