Tx_bytes

Mister_New <[email protected]> Mon, 21 Nov 2011 02:45:11 -0800 (PST)
Newsgroups gmane.linux.drivers.madwifi.user
Message-ID <[email protected]>
Hello everybody, I have a question and I hope that somebody can help me. I
know that in netdevice.h file there is the struct net_device_stats with
rx_bytes and tx_bytes fields. I wrote a program that prints on stdout (every
x seconds) these two numbers. While for rx_bytes I know that this is the
number of *correctly* received bytes, I was wondering: how can I know the
number of total *successfully* transmitted bytes? This question comes from
the fact that tx_bytes is incremented when is put into the buffer and so it
counts also retransmissions (and by the way some of them are performed by
hardware...), but I'm interested in just the correct tx_bytes, because I
have to compute the goodput. Is there an expert guy (or maybe more than one)
that knows how to help me? 

Thanks in advance.

Regards.

--
View this message in context: http://madwifi-users.20070.n2.nabble.com/Tx-bytes-tp7015933p7015933.html
Sent from the Madwifi Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d