summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove maxburst feature from tcp_outputjan2021-02-081-3/+1
| | | | OK bluhm@, claudio@, deraadt@
* Received SACK options are managed by a linked list at the TCP socket.bluhm2019-07-101-2/+3
| | | | | | | | | | | | | There is a global tunable limit net.inet.tcp.sackholelimit, default is 32768. If an attacker manages to attach all these sack holes to a few TCP connections, the lists may grow long. Traversing them might cause higher CPU consumption on the victim machine. In practice such a situation is hard to create as the TCP retransmit and 2*msl timer flush the list periodically. For additional protection, enforce a per connection limit of 128 SACK holes in the list. reported by Reuven Plevinsky and Tal Vainshtein discussed with claudio@ and procter@; OK deraadt@
* Add the TCP socket option TCP_NOPUSH to delay sending the stream.bluhm2013-08-121-1/+2
| | | | | | This is useful to aggregate data in the kernel from multiple sources like writes and socket splicing. It avoids sending small packets. From FreeBSD via David Hill; OK mikeb@ henning@
* increase heat in the hackathon room by making sure everybody has to recompilehenning2013-06-021-14/+14
| | | | | | even more of the kernel fix formatting ugliness, whitespace only, obviously a copy & pasto ok ryan
* Fix pr 6192: make netinet/tcp.h follow SUSv4 namespace rules byguenther2010-10-231-3/+9
| | | | | | | | hiding everything but the TCP_* options unless __BSD_VISIBLE. While we're here, change the structure to use u_int32_t instead of u_int to cut-off the types discussion. ok tedu@, mikeb@
* use underscore variants of _BYTE_ORDER macros which are always definedtedu2006-04-271-3/+3
| | | | ok deraadt millert
* in ansi c, bitfields must be done against int, unsigned int, or _Bool.deraadt2005-12-101-3/+3
| | | | so we must start to use u_int; ok cloder
* check TF_SIGNATURE when calculating the mss; add TCPOLEN_SIGLEN andmarkus2004-02-101-1/+2
| | | | avoid magic constants; ok henning@
* rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIGhenning2004-01-311-2/+2
| | | | | requested by theo ok markus@ hshoexer@
* !sack_disable -> sack_enable; ok deraadt@markus2004-01-311-2/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* whitespaceitojun2002-06-091-2/+2
|
* bring in ECN support from KAME.kjc2002-05-161-1/+3
| | | | | | | | | | | | 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@
* Inclusion protection.angelos2001-06-091-2/+2
|
* Added support for TCP MD5 option (RFC 2385).cmetz1999-07-061-1/+4
|
* Fixed a #ifdef defined()... typo that turned into a compilation failure.cmetz1999-07-021-4/+6
|
* netinet merge of NRL stuff. some indent and shrinkage needed; NRL/cmetzderaadt1999-01-111-1/+9
|
* indentderaadt1999-01-071-2/+2
|
* do not require userland programs to define cpp variables, that is stupidderaadt1998-11-181-7/+1
|
* NewReno, SACK and FACK support for TCP, adapted from code for BSDIprovos1998-11-171-1/+19
| | | | | | | | by Hari Balakrishnan (hari@lcs.mit.edu), Tom Henderson (tomh@cs.berkeley.edu) and Venkat Padmanabhan (padmanab@cs.berkeley.edu) as part of the Daedalus research group at the University of California, (http://daedalus.cs.berkeley.edu). [I was able to do this on time spent at the Center for Information Technology Integration (citi.umich.edu)]
* OpenBSD tags + some prototyping policeniklas1997-02-241-0/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+100