Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | implement tcp_drain() similar to ip_drain(); ok mcbride@ | 2004-02-27 | 1 | -1/+16 | ||
| | ||||||
* | !sack_disable -> sack_enable; ok deraadt@ | 2004-01-31 | 1 | -2/+2 | ||
| | ||||||
* | support for RFC3390 (Increasing TCP's Initial Window); ok deraadt, itojun | 2004-01-29 | 1 | -1/+2 | ||
| | ||||||
* | don't restrict tcp signature keys to ascii; ok mcbride | 2004-01-09 | 1 | -23/+1 | ||
| | ||||||
* | import netbsd's version of David Borman's syncache code | 2004-01-06 | 1 | -5/+37 | ||
| | | | | http://www.kohala.com/start/borman.97jun06.txt; ok deraadt@, henning@ | |||||
* | de-register. deraadt ok | 2003-12-10 | 1 | -17/+17 | ||
| | ||||||
* | add in(6)_pcblookup_listen() and replace all calls to in_pcblookup() | 2003-11-04 | 1 | -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. | 2003-10-01 | 1 | -2/+2 | ||
| | | | | cleanup IPv6 flowlabel handling. deraadt ok | |||||
* | do not flip ip_len/ip_off in netinet stack. deraadt ok. | 2003-07-09 | 1 | -2/+2 | ||
| | | | | (please test, especially PF portion) | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | ||
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
* | Nuke a whole bunch of commons; ok tedu (still more to come *sigh*) | 2003-05-12 | 1 | -1/+4 | ||
| | ||||||
* | Fix a problem where passing NULL as a pointer with varargs does not promote | 2002-08-28 | 1 | -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@ | |||||
* | whitespace | 2002-06-09 | 1 | -18/+18 | ||
| | ||||||
* | avoid is_ipv6 construct. a step towards IPv4-less kernel | 2002-06-07 | 1 | -37/+39 | ||
| | ||||||
* | bring in ECN support from KAME. | 2002-05-16 | 1 | -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 sys | 2002-03-14 | 1 | -4/+4 | ||
| | ||||||
* | use timeout(9) to schedule TCP timers. this avoid traversing all | 2002-03-08 | 1 | -1/+2 | ||
| | | | | tcp connections during tcp_slowtimo. apdapted from thorpej@netbsd.org | |||||
* | disable immediate ack on TH_PUSH. make behaviour sysctl tuneable. | 2002-03-02 | 1 | -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. | 2002-03-01 | 1 | -1/+7 | ||
| | | | | adapated from netbsd. okay angelos@ | |||||
* | allocate tcp reassembly queue via pool; based on netbsd; okay art@ angelos@ | 2002-01-24 | 1 | -23/+21 | ||
| | ||||||
* | Pool deals fairly well with physical memory shortage, but it doesn't deal | 2002-01-23 | 1 | -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 pool | 2002-01-15 | 1 | -2/+9 | ||
| | ||||||
* | change tcpcb allocation to pool | 2002-01-15 | 1 | -3/+7 | ||
| | ||||||
* | use macros to manage tcp timers; based on netbsd | 2002-01-14 | 1 | -5/+8 | ||
| | ||||||
* | repair IPv6 TCP. th_sum has to be initialized to 0 on template. | 2001-07-21 | 1 | -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. | 2001-07-18 | 1 | -1/+2 | ||
| | | | | | Fixes problem with bad checksums on keepalives OK provos@ | |||||
* | Pointer arithmetic fixes work better when you get the casting right. | 2001-07-03 | 1 | -3/+3 | ||
| | ||||||
* | Appease gcc by not using void pointers in arithmetic operations. | 2001-06-26 | 1 | -3/+3 | ||
| | ||||||
* | Always defer output TCP checksumming until ip_output() (or hardware, | 2001-06-25 | 1 | -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() | 2001-06-23 | 1 | -1/+7 | ||
| | ||||||
* | Cut down on include files. | 2001-06-08 | 1 | -8/+2 | ||
| | ||||||
* | repair copyright notices for NRL & cmetz; cmetz | 2001-06-05 | 1 | -14/+38 | ||
| | ||||||
* | use faster arc4random() in tcp_rndiss_next; niels ok | 2001-06-04 | 1 | -7/+3 | ||
| | ||||||
* | Match IPSEC output prototypes. | 2001-05-31 | 1 | -3/+2 | ||
| | ||||||
* | Fix tcp_signature_tdb_input decl; kernel compiles again if TCP_SIGNATURE | 2001-05-01 | 1 | -2/+3 | ||
| | | | | option is used. Note that this does not work. | |||||
* | Move offsetof define into sys/param.h | 2001-04-06 | 1 | -5/+1 | ||
| | ||||||
* | provide a random start for tcp timestamps; niels@ ok | 2001-03-14 | 1 | -1/+2 | ||
| | ||||||
* | pull in new pcb notification code from kame. better handling of scope address. | 2001-02-16 | 1 | -62/+52 | ||
| | ||||||
* | correct ipv6 path mtu discovery. | 2000-12-21 | 1 | -2/+2 | ||
| | ||||||
* | more random tcp sequence numbers. okay deraadt@, angelos@ | 2000-12-13 | 1 | -4/+55 | ||
| | ||||||
* | nuke #ifdef TCP6 (no longer supported). | 2000-12-11 | 1 | -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 to | 2000-10-13 | 1 | -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@ | 2000-10-10 | 1 | -3/+23 | ||
| | ||||||
* | on expiry of pmtu route, retry higher mtu. okay angelos@ | 2000-09-25 | 1 | -2/+24 | ||
| | ||||||
* | correctly calculate mss | 2000-09-20 | 1 | -12/+5 | ||
| | ||||||
* | Path MTU discovery based on NetBSD but with the decision to use the DF | 2000-09-18 | 1 | -4/+51 | ||
| | | | | | flag delayed to ip_output(). That halves the code and reduces most of the route lookups. okay deraadt@ | |||||
* | forgot to reset rscale | 2000-07-11 | 1 | -1/+2 | ||
| | ||||||
* | compute correct window scale when recvpipe option is set in route; based | 2000-07-11 | 1 | -1/+13 | ||
| | | | | on diff from "Pete Kazmier" <pete@kazmier.com> | |||||
* | more cleanup for IPv4 mapped address support. there seem to be some | 2000-07-05 | 1 | -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. | 2000-06-26 | 1 | -1/+3 | ||
| |