* Re: reading the tcp headers within the write queue
[not found] <20071213185626.GV7409@nuim.ie>
@ 2007-12-13 19:00 ` David Miller
2007-12-13 19:08 ` Gavin McCullagh
0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2007-12-13 19:00 UTC (permalink / raw)
To: Gavin.McCullagh; +Cc: linux-net, netdev
From: Gavin McCullagh <Gavin.McCullagh@nuim.ie>
Date: Thu, 13 Dec 2007 18:56:26 +0000
> I'm trying to hack together something which will run through the
> retransmit queue looking at the tcp headers.
The packets in the retransmit queue are headerless, the
header only gets added to clones of the retransmit queue
frames during the actual transmit.
And this question belongs on netdev not linux-net.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: reading the tcp headers within the write queue
2007-12-13 19:00 ` reading the tcp headers within the write queue David Miller
@ 2007-12-13 19:08 ` Gavin McCullagh
2007-12-13 19:13 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Gavin McCullagh @ 2007-12-13 19:08 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Hi,
thanks for the swift reply.
On Thu, 13 Dec 2007, David Miller wrote:
> > I'm trying to hack together something which will run through the
> > retransmit queue looking at the tcp headers.
>
> The packets in the retransmit queue are headerless, the
> header only gets added to clones of the retransmit queue
> frames during the actual transmit.
Thought that might be it. I presume there isn't any other residue of the
tcp options elsewhere, that one could look at when the packet gets
acknowledged? I'm particularly interested in the timestamp.
> And this question belongs on netdev not linux-net.
Oops, sorry.
Gavin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: reading the tcp headers within the write queue
2007-12-13 19:08 ` Gavin McCullagh
@ 2007-12-13 19:13 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2007-12-13 19:13 UTC (permalink / raw)
To: Gavin.McCullagh; +Cc: netdev
From: Gavin McCullagh <Gavin.McCullagh@nuim.ie>
Date: Thu, 13 Dec 2007 19:08:59 +0000
> Thought that might be it. I presume there isn't any other residue of the
> tcp options elsewhere, that one could look at when the packet gets
> acknowledged? I'm particularly interested in the timestamp.
Every time we transmit, the timestamp will be different.
We store the jiffies at transmit time in TCP_SKB_CB(skb)->when,
so you can use that. This is the value we use to compute the
timestamp.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-12-13 19:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20071213185626.GV7409@nuim.ie>
2007-12-13 19:00 ` reading the tcp headers within the write queue David Miller
2007-12-13 19:08 ` Gavin McCullagh
2007-12-13 19:13 ` David Miller
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).