summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* check TF_SIGNATURE when calculating the mss; add TCPOLEN_SIGLEN andmarkus2004-02-101-3/+3
| | | | avoid magic constants; ok henning@
* !sack_disable -> sack_enable; ok deraadt@markus2004-01-311-11/+12
|
* add gettdbbysrcdst(), just like gettdb(), but compares tdb_src as well; ok mcbride@markus2004-01-221-11/+18
|
* es tanzt das KNFmarkus2004-01-151-3/+3
|
* syncache+ipv6 support for TCP_SIGNATURE; with itojun; ok deraadtmarkus2004-01-141-12/+28
|
* de-register. deraadt okitojun2003-12-101-6/+6
|
* do not flip ip_len/ip_off in netinet stack. deraadt ok.itojun2003-07-091-2/+2
| | | | (please test, especially PF portion)
* backout following:itojun2003-06-091-15/+4
| | | | | | >use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). PR 3283 fixed (confirmed)
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace().itojun2003-05-291-4/+15
|
* don't send more than half of the send buffer space limit inmarkus2003-01-251-5/+14
| | | | | | one tcp segment, improves performance of tcp over interfaces with large mtu (e.g. lo0); based on similar change in netbsd; ok djm, henning, henric, millert, deraadt
* Fix a problem where passing NULL as a pointer with varargs does not promotepefo2002-08-281-2/+2
| | | | | | | | NULL to full 64 bits on a 64 bit address system. Soultion is to add a (void *) cast before NULL. This makes a 64 bit MIPS kernel work and will probably help future 64 bit ports as well. OK from art@
* whitespaceitojun2002-06-091-34/+34
|
* avoid is_ipv6 construct. a step towards IPv4-less kernelitojun2002-06-071-7/+7
|
* bring in ECN support from KAME.kjc2002-05-161-1/+62
| | | | | | | | | | | | it consists of - ECN support in TCP - tunnel-egress and fragment reassembly rules in layer-3 not to lose congestion info at tunnel-egress and fragment reassembly to enable ECN in TCP, build a kernel with TCP_ECN, and then, turn it on by "sysctl -w net.inet.tcp.ecn=1". ok deraadt@
* use timeout(9) to schedule TCP timers. this avoid traversing allprovos2002-03-081-4/+5
| | | | tcp connections during tcp_slowtimo. apdapted from thorpej@netbsd.org
* remove tcp_fasttimo and convert delayed acks to the timeout(9) API instead.provos2002-03-011-2/+10
| | | | adapated from netbsd. okay angelos@
* when retransmitting a segment after FIN has been sent don't set FINprovos2002-02-051-2/+2
| | | | | unless we are transmitting the last of our data. report from jishac@grc.nasa.gov; pr/2368
* knfprovos2002-01-141-13/+13
|
* use macros to manage tcp timers; based on netbsdprovos2002-01-141-25/+25
|
* KNFderaadt2001-11-241-3/+3
|
* Always defer output TCP checksumming until ip_output() (or hardware,angelos2001-06-251-43/+8
| | | | | if it exists). Cuts down on code a bit, and we don't need to look at the routing entry at TCP. Based on NetBSD. UDP case to follow.
* Use in_cksum_phdr() rather than in_cksum() -- from NetBSDangelos2001-06-251-2/+8
|
* Likewise, only use outgoing TCP/UDP hardware checksumming if theangelos2001-06-231-2/+3
| | | | interface is not in bridge mode.
* Keep stats on TCP/UDP hardware checksumming.angelos2001-06-231-1/+2
|
* TCP/UDP hardware checksumming. Untested, since txp dies when it triesangelos2001-06-231-1/+18
| | | | to compute the checksums. Still, it shouldn't affect anything.
* fix up mtu for routes and ongoing tcp connection when if mtu changesprovos2001-06-231-1/+11
| | | | from FreeBSD; fixes pr/1878
* Cut down on include files.angelos2001-06-081-4/+1
|
* repair copyright notices for NRL & cmetz; cmetzderaadt2001-06-051-14/+38
|
* Two fixes from Stevens via davidg@freebsd, bug report byprovos2001-05-311-5/+8
| | | | | | | | | | armin@wolfermann.org - set the persist timer so that connections in CLOSING state timeout - honor keep-alive timer in CLOSING state. Fixes the problem in simulaneous close situation where connections would never leave the CLOSING state and stay arround indefinitly.
* on expiry of pmtu route, retry higher mtu. okay angelos@provos2000-09-251-3/+2
|
* correctly calculate mssprovos2000-09-201-2/+6
|
* Path MTU discovery based on NetBSD but with the decision to use the DFprovos2000-09-181-2/+4
| | | | | flag delayed to ip_output(). That halves the code and reduces most of the route lookups. okay deraadt@
* various fixes to SACK and FACK from adesai@cisco.com, tomh@tomh.org andprovos2000-09-051-2/+22
| | | | osuga@mml.yrp.nttdocomo.co.jp
* TCP SACK fixes via Tom Henderson (tomh@cs.berkeley.edu):provos2000-02-211-21/+32
| | | | | | | | | | | | - tcp_sack_adjust() was completely rewritten, since it was erroneously referencing receiver side sequence numbers and comparing with sender side sequence numbers (thanks to Arun Desai (adesai@cisco.com) who discovered the problem) - in tcp_output(), moved assignment of sendalot=0 to the piece of code immediately following the search for sack-eligible retransmissions (bug identified by Arun Desai). - tcp_input() was not clearing t_dupacks if fewer than three dupacks arrived between acks of new data. (bug identified by Gaurav Banga (gaurav@netapp.com))
* s/memset/bzero/itojun2000-01-071-2/+2
| | | | From: Michael Shalayeff <mickey@lucifier.dial-up.user.akula.net>
* 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
* never go into persist mode if there are still segments to be retransmitted.provos1999-12-151-1/+14
| | | | | | set retransmit timer again if it was cleared, that can happen in SACK when there are no elligble SACK holes to be retransmitted and the receiver window is full.
* sync DIAGNOSTIC code with reality. we always get cluster mbuf soitojun1999-12-101-2/+2
| | | | max_linkhdr + hdrlen <= MCLBYTES is safe.
* bring in KAME IPv6 code, dated 19991208.itojun1999-12-081-49/+40
| | | | | | | | | replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon).
* typo; gbayley@ausmac.netderaadt1999-12-021-2/+2
|
* Fix tcp retransmit/persist timers, provos@ OK.hugh1999-11-151-1/+3
| | | | | | | | | | 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.
* Add comment about gettdb() and spl level.ho1999-11-041-1/+3
|
* Added support for TCP MD5 option (RFC 2385).cmetz1999-07-061-1/+127
|
* Fixed compilation problems when INET6 is enabled.cmetz1999-07-061-2/+3
|
* indentderaadt1999-07-031-7/+7
|
* Fixed a #ifdef defined()... typo that turned into a compilation failure.cmetz1999-07-021-5/+5
|
* Significant cleanups in the way TCP is made to handle multiple networkcmetz1999-07-021-89/+120
| | | | | | | | | | | | | | | | | | 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).
* netinet merge of NRL stuff. some indent and shrinkage needed; NRL/cmetzderaadt1999-01-111-25/+104
|
* more min vs. ulmin/lmin fixesmillert1998-11-251-4/+4
|