From: Ben Greear <greearb@candelatech.com>
To: "'netdev@oss.sgi.com'" <netdev@oss.sgi.com>
Subject: Question on TCP_INFO and retransmits.
Date: Thu, 29 Jul 2004 15:25:35 -0700 [thread overview]
Message-ID: <4109795F.20300@candelatech.com> (raw)
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
reply other threads:[~2004-07-29 22:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4109795F.20300@candelatech.com \
--to=greearb@candelatech.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).