From: Andi Kleen <ak@suse.de>
To: "David S. Miller" <davem@davemloft.net>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>, netdev@oss.sgi.com
Subject: Re: way of figuring out total number of retransmitted packets on a TCP socket?
Date: Thu, 21 Oct 2004 01:04:05 +0200 [thread overview]
Message-ID: <20041020230405.GE995@wotan.suse.de> (raw)
In-Reply-To: <20041020155352.1c9b70f6.davem@davemloft.net>
> I agree. We could easily add the thing you are looking for. It's
> just another statistic, zero'd at socket creation time and incremented
> right under the line which reads:
>
> /* Update global TCP statistics. */
> TCP_INC_STATS(TCP_MIB_RETRANSSEGS);
>
> in tcp_retransmit_skb().
>
> I'll add this for you.
Is it really necessary? Our struct sock is already bloated enough
as is ... If Lennert needs it for some obscure purpose it's probably
better if he just does it locally.
-Andi
next prev parent reply other threads:[~2004-10-20 23:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-20 13:01 way of figuring out total number of retransmitted packets on a TCP socket? Lennert Buytenhek
2004-10-20 13:25 ` Baruch Even
2004-10-20 22:16 ` David S. Miller
2004-10-20 22:14 ` David S. Miller
2004-10-20 22:35 ` Lennert Buytenhek
2004-10-20 22:53 ` David S. Miller
2004-10-20 23:04 ` Andi Kleen [this message]
2004-10-20 23:07 ` David S. Miller
2004-10-20 23:27 ` Andi Kleen
2004-10-20 23:42 ` David S. Miller
2004-10-21 1:18 ` Arnaldo Carvalho de Melo
2004-10-20 23:44 ` Lennert Buytenhek
2004-10-20 23:44 ` David S. Miller
2004-10-21 9:01 ` Lennert Buytenhek
2004-10-21 4:37 ` David S. Miller
2004-10-26 13:47 ` Lennert Buytenhek
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=20041020230405.GE995@wotan.suse.de \
--to=ak@suse.de \
--cc=buytenh@wantstofly.org \
--cc=davem@davemloft.net \
--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).