* Question on TCP_INFO and retransmits.
@ 2004-07-29 22:25 Ben Greear
0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2004-07-29 22:25 UTC (permalink / raw)
To: 'netdev@oss.sgi.com'
The tcp_info structure that is available with getsockopt(...TCP_INFO)
has a tcpi_retransmits field and a tcpi_retrans field.
I was hoping that one of these would be monatomically incrementing
and keep track of all of the retransmits for the socket since it
was opened...
However, it appears that these counters are reset to zero fairly
often, making it difficult or impossible to use them to detect actual
TCP retransmits.
Is there some other way to detect the number of retransmitted packets?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-29 22:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29 22:25 Question on TCP_INFO and retransmits Ben Greear
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).