summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_reass.c
Commit message (Collapse)AuthorAgeFilesLines
* New style sysctl & staticize alot of stuff.phk1995-11-141-6/+15
|
* Start adding new style sysctl here too.phk1995-11-091-1/+5
|
* Cosmetic changes to processing of segments in the SYN_SENT state:olah1995-11-031-10/+10
| | | | | | | | - remove a redundant condition; - complete all validity checks on segment before calling soisconnected(so). Reviewed by: Richard Stevens, davidg, wollman
* Routes can be asymmetric. Always offer to /accept/ an MSS of up to thewollman1995-10-131-7/+1
| | | | | | capacity of the link, even if the route's MTU indicates that we cannot send that much in their direction. (This might actually make it possible to test Path MTU discovery in a useful variety of cases.)
* Finish 4.4-Lite-2 merge: randomize TCP initial sequence numberswollman1995-10-031-6/+8
| | | | to make ISS-guessing spoofing attacks harder.
* Remove a redundant `if' from tcp_reass().olah1995-07-311-4/+2
| | | | | | Correct a typo in a comment (SEND_SYN -> NEEDSYN). Reviewed by: David Greenman
* tcp_input.c - keep track of how many times a route contained a cached rttwollman1995-07-101-7/+7
| | | | | | | | | or ssthresh that we were able to use tcp_var.h - declare tcpstat entries for above; declare tcp_{send,recv}space in_rmx.c - fill in the MTU and pipe sizes with the defaults TCP would have used anyway in the absence of values here
* Keep track of the number of samples through the srtt filter so that wewollman1995-06-291-1/+2
| | | | | | know better when to cache values in the route, rather than relying on a heuristic involving sequence numbers that broke when tcp_sendspace was increased to 16k.
* Remove trailing whitespace.rgrimes1995-05-301-35/+35
|
* #ifdef'd my Nagel/ACK hack with "TCP_ACK_HACK", disabled by default. I'mdg1995-05-111-1/+24
| | | | | | | | currently considering reducing the TCP fasttimo to 100ms to help improve things, but this would be done as a seperate step at some point in the future. This was done because it was causing some sometimes serious performance problems with T/TCP.
* Fix a misspelled constant in tcp_input.c.olah1995-05-091-2/+2
| | | | | | | | | | | | | | | | | On Tue, 09 May 1995 04:35:27 PDT, Richard Stevens wrote: > In tcp_dooptions() under the case TCPOPT_CC there is an assignment > > to->to_flag |= TCPOPT_CC; > > that should be > > to->to_flag |= TOF_CC; > > I haven't thought through the ramifications of what's been happening ... > > Rich Stevens Submitted by: rstevens@noao.edu (Richard Stevens)
* Changed in_pcblookuphash() to not automatically call in_pcblookup() ifdg1995-05-031-3/+14
| | | | | | the lookup fails. Updated callers to deal with this. Call in_pcblookuphash instead of in_pcblookup() in in_pcbconnect; this improves performance of UDP output by about 17% in the standard case.
* Further satisfy my paranoia by making sure that the ACKNOW is onlydg1995-04-101-10/+5
| | | | set when ti_len is non-zero.
* Fixed bug I introduced with my Nagel hack which caused tcp_input anddg1995-04-101-3/+3
| | | | | tcp_output to loop endlessly. This was freefall's problem during the past day.
* Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,dg1995-04-091-14/+6
| | | | and in_pcblookuphash.
* Fix a bug in tcp_input reported by Rick Jones <raj@hpisrdq.cup.hp.com>.olah1995-04-051-11/+8
| | | | | | | If a goto findpcb occurred during the processing of a segment, the TCP and IP headers were dropped twice from the mbuf which resulted in data acked by TCP but not delivered to the user. Reviewed by: davidg
* Re-apply my "breakage" to the Nagel congestion avoidence. This versiondg1995-03-271-2/+20
| | | | | differs slightly in the logic from the previous version; packets are now acked immediately if the sender set PUSH.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-161-4/+1
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* Avoid deadlock situation described by Stevens using his suggested replacementwollman1995-02-161-30/+20
| | | | | | code. Obtained from: Stevens, vol. 2, pp. 959-960
* Transaction TCP support now standard. Hack away!wollman1995-02-161-189/+1
|
* YFfix.phk1995-02-141-2/+1
|
* Get rid of some unneeded #ifdef TTCP lines. Also, get rid of somewollman1995-02-141-1/+6
| | | | bogus commons declared in header files.
* Merge Transaction TCP, courtesy of Andras Olah <olah@cs.utwente.nl> andwollman1995-02-091-102/+680
| | | | | | | | | 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).
* As suggested by Sally Floyd, don't add the ``small fraction of the windowwollman1994-10-131-5/+3
| | | | | | size'' when doing congestion avoidance. Submitted by: Mark Andrews
* GCC cleanup.phk1994-10-021-5/+6
| | | | | | Reviewed by: Submitted by: Obtained from:
* Made TCPDEBUG truely optional. Based on changes I made in FreeBSD 1.1.5.dg1994-09-151-3/+13
| | | | | Fixed somebody's idea of a joke - about the first half of the lines in in_proto.c were spaced over by one space.
* Obey RFC 793, section 3.4:wollman1994-08-261-2/+2
| | | | | | | | | Several examples of connection initiation follow. Although these examples do not show connection synchronization using data-carrying segments, this is perfectly legitimate, so long as the receiving TCP doesn't deliver the data to the user until it is clear the data is valid (i.e., the data must be buffered at the receiver until the connection reaches the ESTABLISHED state).
* Fix up some sloppy coding practices:wollman1994-08-181-3/+1
| | | | | | | | | | | | - Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above. NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter.
* Added $Id$dg1994-08-021-0/+1
|
* Fixed bug with Nagel Congestion Avoidance where a tcp connection woulddg1994-08-011-1/+19
| | | | | stall unnecessarily - always send an ACK when a packet len of < mss is received.
* Added missing ntohl()'s that are needed before calling IN_MULTICAST indg1994-05-261-2/+2
| | | | | a couple of places. Submitted by: Johannes Helander
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-4/+4
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+1647
OpenPOWER on IntegriCloud