summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* implement sysctls to report IP, TCP, UDP, and ICMP statistics andreyk2007-12-131-2/+5
| | | | | | | | change netstat to use them instead of accessing kvm for it. more protocols will be added later. discussed with deraadt@ claudio@ gilles@ ok deraadt@
* merge tcp_set_iss() and tcp_set_tsm(); ok mcbride, djm (on earlier version)markus2007-06-251-3/+2
|
* Drop the current random timestamps and the current ISN generationmarkus2007-06-151-2/+4
| | | | | | | code and replace both with a RFC1948 based method, so TCP clients now have monotonic ISN/timestamps. The server side uses completely random ISN/timestamps and does time-wait recycling (on port reuse). ok djm@, mcbride@; thanks to lots of testers
* correct rfc; from Kris Katterjohnjmc2007-02-011-2/+2
|
* bitfields must be off an int or such typederaadt2005-12-111-3/+3
|
* splimp -> splvm. mbuf allocation here.brad2005-11-201-3/+4
| | | | ok henning@
* Only two `h' in threshold.miod2005-11-151-2/+2
|
* change the TCP reass queue from LIST to TAILQ;markus2005-08-021-3/+13
| | | | ok henning claudio fgsch krw
* remove TUBA, ok manymarkus2005-07-041-4/+1
|
* implement PMTU checks frommarkus2005-06-301-1/+11
| | | | | | | http://www.gont.com.ar/drafts/icmp-attacks-against-tcp.html i.e. don't act on ICMP-need-frag immediately if adhoc checks on the advertised mtu fail. the mtu update is delayed until a tcp retransmit happens. initial patch by Fernando Gont, tested by many.
* Ignore ICMP Source Quench messages meant for TCP connections. (Details infgont2005-05-241-2/+1
| | | | | http://www.gont.com.ar/drafts/icmp-attacks-against-tcp.html) ok markus frantzen
* add tcp sack stats, similar to freebsd; ok deraadtmarkus2005-04-051-1/+7
|
* from freebsd:markus2005-03-091-4/+2
| | | | | | 1. set rcv_laststart/rcv_lastend after checking the tcp window 2. pass rcv_laststart and rcv_lastend on the stack (shrink tcp state) ok henning, djm
* - check th_ack against snd_una/max; from Raja Mukerji via hugh@markus2005-03-041-3/+7
| | | | | | | - limit pool to tcp_sackhole_limit entries (sysctl-able) - stop sack option processing on pool_get errors - use SEQ_MIN/SEQ_MAX ok henning, hshoexer, deraadt
* 1. tcp_xmit_timer(): remove extra rtt decrement (t_rtttime is 0-basedmarkus2005-02-271-10/+9
| | | | | | | | | | | while t_rtt was 1-based), update callers 2. define and use TCP_RTT_BASE_SHIFT instead of the hardcoded 2. 3. add missing shifts when t_srtt/t_rttvar are used. 4. update the comments: t_srtt uses 5 bits of fraction (not 3) and t_rttvar uses 4 bits 5. remove obsolete/unused macros TCP_RTT_SCALE and TCP_RTTVAR_SCALE 6. make sure rttmin is not > TCPTV_REXMTMAX parts from netbsd, ok mcbride, henning
* Make sure bogus values don't make their way into tcp_xmit_timer() calculations.mcbride2005-01-101-1/+2
| | | | | | | | | | - Ignore ts_ecr if it is 0, or the resulting rtt is out of range. (use tp->t_rtttime instead) - Initialise tcp_now to 1, to avoid the 500ms window where a valid ts_ecr of 0 could be ignored. - Convert out-of-range rtt values to valid ones in tcp_xmit_timer(). ok frantzen@ markus@
* fix for race between invocation for timer and network inputmarkus2004-11-251-1/+6
| | | | | | 1) add a reaper for TCP and SYN cache states (cf. netbsd pr 20390) 2) additional check for TCP_TIMER_ISARMED(TCPT_REXMT) in tcp_timer_persist() with mickey@; ok deraadt@
* Modulate tcp_now by a random amount on a per-connection basis.mcbride2004-10-281-1/+3
| | | | ok markus@ frantzen@
* don't send partial segments if SS_ISSENDING is set, remembermarkus2004-09-161-1/+2
| | | | | TF_LASTIDLE across invocations of tcp_output (from freebsd); ok mcbride
* tcp_trace() expects short, not int; ok deraadtmarkus2004-07-151-2/+2
|
* factor out md5 code; ok+tests henning@, djm@, hshoexer@markus2004-06-081-1/+3
|
* add TCPCTL_DROP; ok deraadt, cedric, grange, ...markus2004-04-251-2/+5
|
* add tcps_rcvacktooold; ok deraadtmarkus2004-04-201-1/+2
|
* limit total number of queued out-of-order packets to NMBCLUSTERS/2; ok mcbridemarkus2004-03-021-3/+10
|
* implement tcp_drain() similar to ip_drain(); ok mcbride@markus2004-02-271-5/+31
|
* API change; counter for upcoming tcp_drain(); ok deraadtmarkus2004-02-271-1/+3
|
* switch to sysctl_int_arr(); ok itojun, henning, miod, deraadtmarkus2004-02-151-1/+22
|
* !sack_disable -> sack_enable; ok deraadt@markus2004-01-311-2/+2
|
* support for RFC3390 (Increasing TCP's Initial Window); ok deraadt, itojunmarkus2004-01-291-2/+5
|
* syncache+ipv6 support for TCP_SIGNATURE; with itojun; ok deraadtmarkus2004-01-141-1/+2
|
* bring back the old TCP_SIGNATURE code from tcp_input.c rev 1.45markus2004-01-131-3/+3
| | | | and make it compile (does not work yet); ok deraadt@
* syn_XXX_limit -> synXXXlimit for consistency; ok deraadtmarkus2004-01-071-3/+3
|
* import netbsd's version of David Borman's syncache codemarkus2004-01-061-3/+125
| | | | http://www.kohala.com/start/borman.97jun06.txt; ok deraadt@, henning@
* backout following:itojun2003-06-091-2/+2
| | | | | | >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-2/+2
|
* fix tcpcb size to make trpt happyitojun2003-05-261-2/+2
|
* don't #ifdef within struct tcpcb definition, as it is used in userland too.itojun2003-05-231-4/+4
| | | | dhartmei ok
* Nuke a whole bunch of commons; ok tedu (still more to come *sigh*)jason2003-05-121-2/+2
|
* Remove commons; inspired by netbsd.jason2003-02-121-2/+2
|
* whitespaceitojun2002-06-091-8/+8
|
* bring in ECN support from KAME.kjc2002-05-161-4/+25
| | | | | | | | | | | | 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-56/+56
|
* use timeout(9) to schedule TCP timers. this avoid traversing allprovos2002-03-081-6/+4
| | | | tcp connections during tcp_slowtimo. apdapted from thorpej@netbsd.org
* disable immediate ack on TH_PUSH. make behaviour sysctl tuneable.provos2002-03-021-2/+5
| | | | | 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-2/+29
| | | | adapated from netbsd. okay angelos@
* allocate sackholes with poolprovos2002-01-151-1/+2
|
* Keep stats on TCP/UDP hardware checksumming.angelos2001-06-231-1/+3
|
* Inclusion protection.angelos2001-06-091-2/+5
|
* more random tcp sequence numbers. okay deraadt@, angelos@provos2000-12-131-1/+5
|