summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_timer.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/2.2.7_cvscvs2svn1998-07-241-1/+1
| | | | | | | 'RELENG_2_2_7_RELEASE'. This commit was manufactured to restore the state of the 2.2.7-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: tcp_var.h/1.43 & tcp_timer.c/1.28: bugfix for PR#6068 - connectionsDavid Greenman1998-04-241-12/+7
| | | | | | | timing out too quickly. Notes: svn path=/stable/2.2/; revision=35420
* MFC: make TCPDEBUG a new-style optionJoerg Wunsch1997-09-161-1/+3
| | | | Notes: svn path=/stable/2.2/; revision=29515
* Make the misnamed tcp initial keepalive timer value (which is really thePaul Traina1996-09-131-1/+5
| | | | | | | | | | | 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
* Fixed two bugs in previous commit: be sure to include tcp_debug.h whenDavid Greenman1996-07-121-1/+4
| | | | | | | TCPDEBUG is defined, and fix typo in TCPDEBUG2() macro. Notes: svn path=/head/; revision=17138
* Modify the kernel to use the new pr_usrreqs interface rather than the oldGarrett Wollman1996-07-111-4/+16
| | | | | | | | | | | | | | | | | pr_usrreq mechanism which was poorly designed and error-prone. This commit renames pr_usrreq to pr_ousrreq so that old code which depended on it would break in an obvious manner. This commit also implements the new interface for TCP, although the old function is left as an example (#ifdef'ed out). This commit ALSO fixes a longstanding bug in the TCP timer processing (introduced by davidg on 1995/04/12) which caused timer processing on a TCB to always stop after a single timer had expired (because it misinterpreted the return value from tcp_usrreq() to indicate that the TCB had been deleted). Finally, some code related to polling has been deleted from if.c because it is not relevant t -current and doesn't look at all like my current code. Notes: svn path=/head/; revision=17096
* Fix a bug in the handling of the "persist" state which, under certainJohn Polstra1996-06-031-7/+12
| | | | | | | | | | | | | circumstances, caused perfectly good connections to be dropped. This happened for connections over a LAN, where the retransmit timer calculation TCP_REXMTVAL(tp) returned 0. If sending was blocked by flow control for long enough, the old code dropped the connection, even though timely replies were being received for all window probes. Reviewed by: W. Richard Stevens <rstevens@noao.edu> Notes: svn path=/head/; revision=16099
* Two fixes from Rich Stevens:David Greenman1996-04-151-2/+2
| | | | | | | | | | | | 1) Set the persist timer to help time-out connections in the CLOSING state. 2) Honor the keep-alive timer in the CLOSING state. This fixes problems with connections getting "stuck" due to incompletion of the final connection shutdown which can be a BIG problem on busy WWW servers. Notes: svn path=/head/; revision=15262
* Add a sysctl (net.inet.tcp.always_keepalive: 0) that when set will forcePoul-Henning Kamp1996-04-041-2/+7
| | | | | | | | | keepalive on all tcp sessions. Setsockopt(2) cannot override this setting. Maybe another one is needed that just changes the default for SO_KEEPALIVE ? Requested by: Joe Greco <jgreco@brasil.moneng.mei.com> Notes: svn path=/head/; revision=15039
* Move or add #include <queue.h> in preparation for upcoming struct socketDavid Greenman1996-03-111-2/+2
| | | | | | | changes. Notes: svn path=/head/; revision=14546
* Reverse the modification which caused the annoying m_copydata crash: setAndras Olah1996-01-041-1/+5
| | | | | | | | | the TF_ACKNOW flag when the REXMT timer goes off to force a retransmission. In certain situations pulling snd_nxt back to snd_una is not sufficient. Notes: svn path=/head/; revision=13229
* New style sysctl & staticize alot of stuff.Poul-Henning Kamp1995-11-141-6/+8
| | | | Notes: svn path=/head/; revision=12296
* Start adding new style sysctl here too.Poul-Henning Kamp1995-11-091-1/+9
| | | | Notes: svn path=/head/; revision=12172
* Setting the TF_ACKNOW flag was redundant in the REXMT timeout becauseAndras Olah1995-11-031-5/+1
| | | | | | | | | | tcp_output() checks for the condition snd_nxt == snd_una. Reviewed by: davidg, wollman, olah Suggested by: Richard Stevens Notes: svn path=/head/; revision=12046
* Finish 4.4-Lite-2 merge: randomize TCP initial sequence numbersGarrett Wollman1995-10-031-8/+16
| | | | | | | to make ISS-guessing spoofing attacks harder. Notes: svn path=/head/; revision=11150
* Add connection drop capability for persist timeouts.David Greenman1995-07-291-1/+17
| | | | | | | | Reviewed by: Andras Olah Obtained from: 4.4BSD-lite2 via W. Richard Stevens Notes: svn path=/head/; revision=9773
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8876
* Fixed bug I introduced when changing PCB list to use 4.4BSD style queueDavid Greenman1995-04-121-4/+3
| | | | | | | macros. Basically, detect 'tp' going away differently. Notes: svn path=/head/; revision=7770
* Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,David Greenman1995-04-091-14/+19
| | | | | | | and in_pcblookuphash. Notes: svn path=/head/; revision=7684
* Transaction TCP support now standard. Hack away!Garrett Wollman1995-02-161-5/+1
| | | | Notes: svn path=/head/; revision=6475
* Merge Transaction TCP, courtesy of Andras Olah <olah@cs.utwente.nl> andGarrett Wollman1995-02-091-1/+10
| | | | | | | | | | | | Bob Braden <braden@isi.edu>. NB: This has not had David's TCP ACK hack re-integrated. It is not clear what the correct solution to this problem is, if any. If a better solution doesn't pop up in response to this message, I'll put David's code back in (or he's welcome to do so himself). Notes: svn path=/head/; revision=6283
* Added $Id$David Greenman1994-08-021-0/+1
| | | | Notes: svn path=/head/; revision=1817
* BSD 4.4 Lite Kernel SourcesRodney W. Grimes1994-05-241-0/+312
Notes: svn path=/head/; revision=1541