summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* implement tcp_drain() similar to ip_drain(); ok mcbride@markus2004-02-271-1/+16
|
* !sack_disable -> sack_enable; ok deraadt@markus2004-01-311-2/+2
|
* support for RFC3390 (Increasing TCP's Initial Window); ok deraadt, itojunmarkus2004-01-291-1/+2
|
* don't restrict tcp signature keys to ascii; ok mcbridemarkus2004-01-091-23/+1
|
* import netbsd's version of David Borman's syncache codemarkus2004-01-061-5/+37
| | | | http://www.kohala.com/start/borman.97jun06.txt; ok deraadt@, henning@
* de-register. deraadt okitojun2003-12-101-17/+17
|
* add in(6)_pcblookup_listen() and replace all calls to in_pcblookup()markus2003-11-041-9/+7
| | | | | | with either in(6)_pcbhashlookup() or in(6)_pcblookup_listen(); in_pcblookup is now only used by bind(2); speeds up pcb lookup for listening sockets; from Claudio Jeker
* use random number generator to generate IPv6 fragment ID/flowlabel.itojun2003-10-011-2/+2
| | | | cleanup IPv6 flowlabel handling. deraadt ok
* do not flip ip_len/ip_off in netinet stack. deraadt ok.itojun2003-07-091-2/+2
| | | | (please test, especially PF portion)
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Nuke a whole bunch of commons; ok tedu (still more to come *sigh*)jason2003-05-121-1/+4
|
* Fix a problem where passing NULL as a pointer with varargs does not promotepefo2002-08-281-4/+3
| | | | | | | | 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-18/+18
|
* avoid is_ipv6 construct. a step towards IPv4-less kernelitojun2002-06-071-37/+39
|
* bring in ECN support from KAME.kjc2002-05-161-1/+2
| | | | | | | | | | | | 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@
* First round of __P removal in sysmillert2002-03-141-4/+4
|
* use timeout(9) to schedule TCP timers. this avoid traversing allprovos2002-03-081-1/+2
| | | | tcp connections during tcp_slowtimo. apdapted from thorpej@netbsd.org
* disable immediate ack on TH_PUSH. make behaviour sysctl tuneable.provos2002-03-021-3/+4
| | | | | from netbsd; also fix a bug where setting TF_ACKNOW didn't actually result in an ack.
* remove tcp_fasttimo and convert delayed acks to the timeout(9) API instead.provos2002-03-011-1/+7
| | | | adapated from netbsd. okay angelos@
* allocate tcp reassembly queue via pool; based on netbsd; okay art@ angelos@provos2002-01-241-23/+21
|
* Pool deals fairly well with physical memory shortage, but it doesn't dealart2002-01-231-3/+3
| | | | | | | | | | | | | | | | | | well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it.
* allocate sackholes with poolprovos2002-01-151-2/+9
|
* change tcpcb allocation to poolprovos2002-01-151-3/+7
|
* use macros to manage tcp timers; based on netbsdprovos2002-01-141-5/+8
|
* repair IPv6 TCP. th_sum has to be initialized to 0 on template.itojun2001-07-211-2/+2
| | | | | (older code had "th_sum = 0" at the bottom of the function, which was removed during TCP hardware checksumming change)
* zero tcp checksum field before calculating new value.marc2001-07-181-1/+2
| | | | | Fixes problem with bad checksums on keepalives OK provos@
* Pointer arithmetic fixes work better when you get the casting right.angelos2001-07-031-3/+3
|
* Appease gcc by not using void pointers in arithmetic operations.aaron2001-06-261-3/+3
|
* Always defer output TCP checksumming until ip_output() (or hardware,angelos2001-06-251-4/+5
| | | | | 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.
* Add comment on why checksum deferral is not useful in tcp_respond()angelos2001-06-231-1/+7
|
* Cut down on include files.angelos2001-06-081-8/+2
|
* repair copyright notices for NRL & cmetz; cmetzderaadt2001-06-051-14/+38
|
* use faster arc4random() in tcp_rndiss_next; niels okmickey2001-06-041-7/+3
|
* Match IPSEC output prototypes.angelos2001-05-311-3/+2
|
* Fix tcp_signature_tdb_input decl; kernel compiles again if TCP_SIGNATUREfgsch2001-05-011-2/+3
| | | | option is used. Note that this does not work.
* Move offsetof define into sys/param.hcsapuntz2001-04-061-5/+1
|
* provide a random start for tcp timestamps; niels@ okmickey2001-03-141-1/+2
|
* pull in new pcb notification code from kame. better handling of scope address.itojun2001-02-161-62/+52
|
* correct ipv6 path mtu discovery.itojun2000-12-211-2/+2
|
* more random tcp sequence numbers. okay deraadt@, angelos@provos2000-12-131-4/+55
|
* nuke #ifdef TCP6 (no longer supported).itojun2000-12-111-26/+81
| | | | | | | validate ICMPv6 too big messages (pmtud) based on pcb. we accept certain amount of non-validated ones, as IPv6 mandates ICMPv6 (so even for traffic from unconnected pcb, we need pmtud). sync with kame
* validate mbuf chain length on *_ctlinput. remote node may be able toitojun2000-10-131-1/+5
| | | | transmit a truncated icmp6 packet and panic the system. sync with kame.
* verify payload of the icmp need fragment message at the tcp layer. okay itojun@provos2000-10-101-3/+23
|
* on expiry of pmtu route, retry higher mtu. okay angelos@provos2000-09-251-2/+24
|
* correctly calculate mssprovos2000-09-201-12/+5
|
* Path MTU discovery based on NetBSD but with the decision to use the DFprovos2000-09-181-4/+51
| | | | | flag delayed to ip_output(). That halves the code and reduces most of the route lookups. okay deraadt@
* forgot to reset rscaleprovos2000-07-111-1/+2
|
* compute correct window scale when recvpipe option is set in route; basedprovos2000-07-111-1/+13
| | | | on diff from "Pete Kazmier" <pete@kazmier.com>
* more cleanup for IPv4 mapped address support. there seem to be someitojun2000-07-051-9/+5
| | | | | | | | | inconsistency in corner cases (from NRL I believe). todd (fries) and I have seen panic, with the following call chain: ip6_input -> tcp_input -> tcp_respond -> ip_input -> bang! more cleanups should be done, to decrease complexity. for example, INP_IPV6_MAPPED should be nuked.
* Make the definition of tcpstat in tcp_var.h extern.art2000-06-261-1/+3
|