netdev
[Top] [All Lists]

ack.lrcvtime initialization in Linux 2.6.9

To: Linux Networking Mailing List <netdev@xxxxxxxxxxx>
Subject: ack.lrcvtime initialization in Linux 2.6.9
From: Sami Farin <safari-kernel@xxxxxxxxxxxxx>
Date: Thu, 11 Nov 2004 23:58:59 +0200
Mail-followup-to: Linux Networking Mailing List <netdev@xxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
when no data was received during the connection,
tcpi_last_data_recv in struct tcp_info (getsockopt(...TCP_INFO...))
contains garbage value.  for example, one 30-second connection
had tcpi_last_data_recv=133682531.
then I thought maybe I could first check if tcpi_ato==0...
but no, sometimes it's 40000 (TCP_ATO_MIN) when no data was received.

so, I think it would be funnier if tcpi_last_data_recv was 0
(or 4294967295, or...) when no data was received.  right? :)

-- 


<Prev in Thread] Current Thread [Next in Thread>
  • ack.lrcvtime initialization in Linux 2.6.9, Sami Farin <=