summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't depend on "implicit int".bde1998-02-201-2/+2
|
* Don't allow the window to be increased beyond what is possible tofenner1997-10-071-3/+3
| | | | | | | | | | | | represent in the TCP header. The old code did effectively: win = min(win, MAX_ALLOWED); win = max(win, what_i_think_i_advertised_last_time); so if what_i_think_i_advertised_last_time is bigger than can be represented in the header (e.g. large buffers and no window scaling) then we stuff a too-big number into a short. This fix reverses the order of the comparisons. PR: kern/4712
* Make TCPDEBUG a new-style option.joerg1997-09-161-1/+3
|
* Removed unused #includes.bde1997-08-021-4/+1
|
* Reorganize elements of the inpcb struct to take better advantage ofdg1997-04-031-3/+3
| | | | | | | | cache lines. Removed the struct ip proto since only a couple of chars were actually being used in it. Changed the order of compares in the PCB hash lookup to take advantage of partial cache line fills (on PPro). Discussed-with: wollman
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Changed some memcpy()'s back to bcopy()'s.bde1996-06-081-2/+2
| | | | | | | gcc only inlines memcpy()'s whose count is constant and didn't inline these. I want memcpy() in the kernel go away so that it's obvious that it doesn't need to be optimized. Now it is only used for one struct copy in si.c.
* Two fixes from Rich Stevens:dg1996-04-151-5/+8
| | | | | | | | | 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.
* Move or add #include <queue.h> in preparation for upcoming struct socketdg1996-03-111-2/+2
| | | | changes.
* Be more conservative when T/TCP extensions are disabled. In particular,olah1996-01-171-1/+14
| | | | do not send data and/or FIN on SYN segments in this case.
* Path MTU Discovery is now standard.wollman1995-12-051-6/+6
|
* Fix a logical error in T/TCP: when we actively open a connection, weolah1995-11-031-10/+3
| | | | | | | | | | have to decide whether to send a CC or CCnew option in our SYN segment depending on the contents of our TAO cache. This decision has to be made once when the connection starts. The earlier code delayed this decision until the segment was assembled in tcp_output() and retransmitted SYN segments could have different CC options. Reviewed by: Richard Stevens, davidg, wollman
* The ability to administratively change the MTU of an interface presentswollman1995-10-161-1/+13
| | | | | | | a few new wrinkles for MTU discovery which tcp_output() had better be prepared to handle. ip_output() is also modified to do something helpful in this case, since it has already calculated the information we need.
* Merge 4.4-Lite-2: update version number (we already have the same fixes).wollman1995-09-221-5/+4
| | | | Obtained from: 4.4BSD-Lite-2
* Add support in TCP for Path MTU discovery. This is highly experimentalwollman1995-09-201-6/+18
| | | | | | | and gated on `options MTUDISC' in the source. It is also practically untested becausse (sniff!) I don't have easy access to a network with an MTU of less than an Ethernet. If you have a small MTU network, please try it and tell me if it works!
* If tcp_output() is unable to allocate space for a copy of the data waitingwollman1995-09-131-3/+6
| | | | | | | | | to be sent, just clean up and return ENOBUFS rather than silently proceeding without sending any of the data. This makes it consistent with the `#ifdef notyet' case immediately above. Reviewed by: Andras Olah <olah@freebsd.org> Obtained from: Lite-2
* Remove trailing whitespace.rgrimes1995-05-301-11/+11
|
* Replaced some bcopy()'s with memcpy()'s so that gcc while inline/optimize.dg1995-05-091-4/+4
|
* Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,dg1995-04-091-1/+2
| | | | and in_pcblookuphash.
* Transaction TCP support now standard. Hack away!wollman1995-02-161-23/+1
|
* Merge Transaction TCP, courtesy of Andras Olah <olah@cs.utwente.nl> andwollman1995-02-091-15/+145
| | | | | | | | | 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).
* Kill previous commit as it isn't necessary.dg1995-01-261-6/+1
|
* Extended the previous change to cover the non-options case, too.dg1995-01-241-1/+6
|
* Applied fix from Andreas Schulz with a different comment by me. Fixes adg1995-01-231-1/+6
| | | | | | bug where TCP connections are closed prematurely. Submitted by: Andreas Schulz
* Made TCPDEBUG truely optional. Based on changes I made in FreeBSD 1.1.5.dg1994-09-151-1/+5
| | | | | Fixed somebody's idea of a joke - about the first half of the lines in in_proto.c were spaced over by one space.
* Added $Id$dg1994-08-021-0/+1
|
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+599
OpenPOWER on IntegriCloud