summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_timer.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove advertising clause from University of California Regent'sWarner Losh2004-04-071-4/+0
| | | | | | | | | | license, per letter dated July 22, 1999 and email from Peter Wemm, Alan Cox and Robert Watson. Approved by: core, peter, alc, rwatson Notes: svn path=/head/; revision=128019
* Remove a panic(); if the zone allocator can't provide more timewaitJonathan Lemon2003-03-081-1/+7
| | | | | | | | | | structures, reuse the oldest one. Also move the expiry timer from a per-structure callout to the tcp slow timer. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=112009
* Add a TCP TIMEWAIT state which uses less space than a fullblown TCPJonathan Lemon2003-02-191-0/+1
| | | | | | | | | | | control block. Allow the socket and tcpcb structures to be freed earlier than inpcb. Update code to understand an inp w/o a socket. Reviewed by: hsu, silby, jayanth Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=111145
* make the strings for tcptimers, tanames and prurequests const to silenceAlfred Perlstein2002-08-161-1/+1
| | | | | | | warnings. Notes: svn path=/head/; revision=101975
* Introduce two new sysctl's:Matthew Dillon2002-07-181-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | net.inet.tcp.rexmit_min (default 3 ticks equiv) This sysctl is the retransmit timer RTO minimum, specified in milliseconds. This value is designed for algorithmic stability only. net.inet.tcp.rexmit_slop (default 200ms) This sysctl is the retransmit timer RTO slop which is added to every retransmit timeout and is designed to handle protocol stack overheads and delayed ack issues. Note that the *original* code applied a 1-second RTO minimum but never applied real slop to the RTO calculation, so any RTO calculation over one second would have no slop and thus not account for protocol stack overheads (TCP timestamps are not a measure of protocol turnaround!). Essentially, the original code made the RTO calculation almost completely irrelevant. Please note that the 200ms slop is debateable. This commit is not meant to be a line in the sand, and if the community winds up deciding that increasing it is the correct solution then it's easy to do. Note that larger values will destroy performance on lossy networks while smaller values may result in a greater number of unnecessary retransmits. Notes: svn path=/head/; revision=100335
* I don't know how the minimum retransmit timeout managed to get set toMatthew Dillon2002-07-171-1/+7
| | | | | | | | | | | one second but it badly breaks throughput on networks with minor packet loss. Complaints by: at least two people tracked down to this. MFC after: 3 days Notes: svn path=/head/; revision=100270
* Remove __P.Alfred Perlstein2002-03-191-5/+5
| | | | Notes: svn path=/head/; revision=92723
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-12-291-2/+2
| | | | | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. Notes: svn path=/head/; revision=55205
* Change the delayed ack time from 200ms to 100ms.Jonathan Lemon1999-12-021-1/+1
| | | | | | | | | | | This results in closer behavior to earlier versions, where the fixed 200ms timer actually resulted in a delay anywhere from 1..200ms, with the average delay being 100ms. Pointed out by: dg Notes: svn path=/head/; revision=54018
* Remove conversion macros that were used during development.Jonathan Lemon1999-08-311-9/+1
| | | | Notes: svn path=/head/; revision=50704
* Restructure TCP timeout handling:Jonathan Lemon1999-08-301-25/+35
| | | | | | | | | | | | | - eliminate the fast/slow timeout lists for TCP and instead use a callout entry for each timer. - increase the TCP timer granularity to HZ - implement "bad retransmit" recovery, as presented in "On Estimating End-to-End Network Path Properties", by Allman and Paxson. Submitted by: jlemon, wollmann Notes: svn path=/head/; revision=50673
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Some staticized variables were still declared to be extern.Bruce Evans1997-09-071-2/+1
| | | | Notes: svn path=/head/; revision=29179
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-221-1/+1
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Make the misnamed tcp initial keepalive timer value (which is really thePaul Traina1996-09-131-1/+2
| | | | | | | | | | | time, in seconds, that state for non-established TCP sessions stays about) a sysctl modifyable variable. [part 1 of two commits, I just realized I can't play with the indices as I was typing this commit message.] Notes: svn path=/head/; revision=18280
* Better selection of initial retransmit timeout when no cachedGarrett Wollman1996-06-141-1/+2
| | | | | | | | | | RTT information is available. Submitted by: kbracey@art.acorn.co.uk (Kevin Bracey) (slightly modified by me) Notes: svn path=/head/; revision=16367
* Fix a bunch of spelling errors in the comment fields ofMike Pritchard1996-01-301-3/+3
| | | | | | | a bunch of system include files. Notes: svn path=/head/; revision=13765
* New style sysctl & staticize alot of stuff.Poul-Henning Kamp1995-11-141-2/+2
| | | | Notes: svn path=/head/; revision=12296
* Get rid of some unneeded #ifdef TTCP lines. Also, get rid of someGarrett Wollman1995-02-141-3/+1
| | | | | | | bogus commons declared in header files. Notes: svn path=/head/; revision=6348
* Merge in T/TCP TCP header file changes.Garrett Wollman1995-02-081-1/+5
| | | | Notes: svn path=/head/; revision=6247
* Made idempotent.Paul Richards1994-08-211-1/+6
| | | | | | | Submitted by: Paul Notes: svn path=/head/; revision=2169
* Added $Id$David Greenman1994-08-021-0/+1
| | | | Notes: svn path=/head/; revision=1817
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.Rodney W. Grimes1994-05-251-2/+2
| | | | | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman Notes: svn path=/head/; revision=1549
* BSD 4.4 Lite Kernel SourcesRodney W. Grimes1994-05-241-0/+128
Notes: svn path=/head/; revision=1541