Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 18:04:46 +0530
From:      "Nagaraju" <naga_raju_@hotmail.com>
To:        <freebsd-net@freebsd.org>
Subject:   How do tt_timerq and tmerq manage  tcp syncache?
Message-ID:  <BAY13-DAV66fwjHNuQu0001883e@hotmail.com>
References:  <20040414190205.7AE6516A4D1@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

In  FreeBSD 4.9,
tcp_syncache implements a hash table with buckets, where an entry is created
on SYN request.
Function syncache_timer takes care of SYN-ACK retransmissions and removing
old entries from syncache.
It uses two variables timerq (array of link lists) and tt_timerq (array of
callouts).
Size of both arrays is SYNCACHE_MAXREXMTS+1. (SYNCACHE_MAXREXMTS = 3)
Can someone explain, how these two variable do manage, required
functionality (removing old entries and retransmitting SYN-ACK etc)?

Thanks&Regards,
Nagaraju.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY13-DAV66fwjHNuQu0001883e>