| To: | "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx> |
|---|---|
| Subject: | Question on TCP_INFO and retransmits. |
| From: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
| Date: | Thu, 29 Jul 2004 15:25:35 -0700 |
| Organization: | Candela Technologies |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
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@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] (1/4) propgate bridge internal MTU changes, David S. Miller |
|---|---|
| Next by Date: | Re: gigabit trouble, Bart Alewijnse |
| Previous by Thread: | [PATCH 2.6] convert netrom to module_param, Stephen Hemminger |
| Next by Thread: | Re: gigabit trouble, Bart Alewijnse |
| Indexes: | [Date] [Thread] [Top] [All Lists] |