| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: way of figuring out total number of retransmitted packets on a TCP socket? |
| From: | Andi Kleen <ak@xxxxxxx> |
| Date: | Thu, 21 Oct 2004 01:04:05 +0200 |
| Cc: | Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <20041020155352.1c9b70f6.davem@xxxxxxxxxxxxx> |
| References: | <20041020130134.GC24757@xxxxxxxxxxxxxxxxx> <20041020151448.51209278.davem@xxxxxxxxxxxxx> <20041020223547.GJ29583@xxxxxxxxxxxxxxxxx> <20041020155352.1c9b70f6.davem@xxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
> 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 |
| Previous by Date: | Re: way of figuring out total number of retransmitted packets on a TCP socket?, David S. Miller |
|---|---|
| Next by Date: | Re: [Openswan Users] DPD Problem - message from kernel malformed: unknown address family, Herbert Xu |
| Previous by Thread: | Re: way of figuring out total number of retransmitted packets on a TCP socket?, David S. Miller |
| Next by Thread: | Re: way of figuring out total number of retransmitted packets on a TCP socket?, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |