summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* turn off path mtu when icmp needfrag messages get blocked, okay itojun@provos2000-12-111-7/+43
|
* Path MTU discovery based on NetBSD but with the decision to use the DFprovos2000-09-181-1/+19
| | | | | flag delayed to ip_output(). That halves the code and reduces most of the route lookups. okay deraadt@
* option TCP_NEWRENO goes away, its the default case for TCP_SACK ifprovos1999-12-211-3/+3
| | | | SACK is disabled for the connection or via sysctl
* Fix tcp retransmit/persist timers, provos@ OK.hugh1999-11-151-5/+11
| | | | | | | | | | Adapted from NetBSD: Fix a retransmission bug introduced by the Brakmo and Peterson RTO estimation changes. Under some circumstances it would return a value of 0, while the old Van Jacobson RTO code would return a minimum of 3. This would result in 12 retransmissions, each 1 second apart. This takes care of those instances, and ensures that t_rttmin is used everywhere as a lower bound.
* increase tcp_iss incrementprovos1999-09-011-2/+2
|
* Significant cleanups in the way TCP is made to handle multiple networkcmetz1999-07-021-5/+9
| | | | | | | | | | | | | | | | | | protocols. "struct tcpiphdr" is now gone from much of the code, as are separate pointers for ti and ti6. The result is fewer variables, which is generally a good thing. Simple if(is_ipv6) ... else ... tests are gone in favor of a switch(protocol family), which allows future new protocols to be added easily. This also makes it possible for someone so inclined to re-implement TUBA (TCP over CLNP?) and do it right instead of the kluged way it was done in 4.4. The TCP header template is now referenced through a mbuf rather than done through a data pointer and dtom()ed as needed. This is partly because dtom() is evil and partly because max_linkhdr + IPv6 + TCP + MSS/TS/SACK opts won't fit inside a packet header mbuf, so we need to grab a cluster for that (which the code now does, if needed).
* From Tom Henderson <tomh@cs.berkeley.edu>:provos1999-04-211-1/+8
| | | | | | | | | | Fixed a sequence wraparound bug in the snd_recover variable discovered in very large (multiple GByte) transfers (in loss free conditions, snd_recover was not sufficiently tracking snd_una). Thanks to Mark Smith for finding this. Fixed a bug in tcp_newreno that was preventing retransmission of data due to partial acks. (Discovered by Jayanth Vijayaraghavan)
* fix NEWRENO behaviour, the newreo code assumed that the send socket buffer hasprovos1999-01-271-4/+1
| | | | | | | already been cleared of the acked data, though it was called before any sbdrop() call and always called tcp_output() with 0 index in the send socket buffer and thus causing data corruption. so do not set snd_una to th_ack.
* more min vs. ulmin/lmin fixesmillert1998-11-251-2/+2
|
* NewReno, SACK and FACK support for TCP, adapted from code for BSDIprovos1998-11-171-1/+24
| | | | | | | | by Hari Balakrishnan (hari@lcs.mit.edu), Tom Henderson (tomh@cs.berkeley.edu) and Venkat Padmanabhan (padmanab@cs.berkeley.edu) as part of the Daedalus research group at the University of California, (http://daedalus.cs.berkeley.edu). [I was able to do this on time spent at the Center for Information Technology Integration (citi.umich.edu)]
* indentderaadt1997-08-261-2/+2
|
* use arc4random()deraadt1997-02-051-2/+3
|
* TCP Persist handling; from 4.4BSD Lite2 (via NetBSD PR 2335)tholo1996-09-121-1/+18
|
* Remove random() prototype, as it's not needed. Besides it was wrong for the alpha :-)niklas1996-07-291-4/+1
|
* Make TCP ISS increment by random amountstholo1996-07-291-3/+8
|
* From Lite2; skip slow start calculation if socket state is listentholo1996-03-141-2/+2
|
* From NetBSD: 960217 mergeniklas1996-03-031-2/+3
|
* initial import of NetBSD treederaadt1995-10-181-0/+321