summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move #ifdef INET6 outside of 'case AF_INET6:' in tcp_ident().mcbride2005-02-221-2/+2
| | | | | | | No functional change due to earlier check, fix from Maxim Konovalov <maxim@macomnet.ru> ok deraadt@ dhartmei@
* Modulate tcp_now by a random amount on a per-connection basis.mcbride2004-10-281-1/+8
| | | | ok markus@ frantzen@
* tcp_trace() expects short, not int; ok deraadtmarkus2004-07-151-2/+2
|
* Require NULL oldp when dropping a connection.otto2004-04-271-5/+7
| | | | ok markus@
* change tcpdrop to require newp instead of oldp; suggested by ottomarkus2004-04-261-12/+13
|
* add TCPCTL_DROP; ok deraadt, cedric, grange, ...markus2004-04-251-6/+31
|
* remove duplicate if. from pedro martelletto, ok markus@tedu2004-04-121-8/+2
|
* limit total number of queued out-of-order packets to NMBCLUSTERS/2; ok mcbridemarkus2004-03-021-1/+14
|
* switch to sysctl_int_arr(); ok itojun, henning, miod, deraadtmarkus2004-02-151-48/+15
|
* rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIGhenning2004-01-311-3/+3
| | | | | requested by theo ok markus@ hshoexer@
* !sack_disable -> sack_enable; ok deraadt@markus2004-01-311-7/+7
|
* add support for getsockopt(..., TCP_SIGNATURE_ENABLEhenning2004-01-301-1/+6
| | | | | | so you can check wether a just accept()ed connection is md5sig'd ok deraadt@ markus@
* support for RFC3390 (Increasing TCP's Initial Window); ok deraadt, itojunmarkus2004-01-291-1/+4
|
* import netbsd's version of David Borman's syncache codemarkus2004-01-061-1/+7
| | | | http://www.kohala.com/start/borman.97jun06.txt; ok deraadt@, henning@
* de-register. deraadt okitojun2003-12-101-9/+9
|
* Mbuf tag tcp and udp packets which are translated to localhost, andmcbride2003-12-081-3/+3
| | | | | | | | | | | | | use the the presence of this tag to reverse the match order in in{6}_pcblookup_listen(). Some daemons (such as portmap) do a double bind, binding to both * and localhost in order to differentiate local from non-local connections, and potentially granting more privilege to local ones. This change ensures that redirected connections to localhost do not appear local to such a daemon. Bulk of changes from dhartmei@, some changes markus@ ok dhartmei@ deraadt@
* add in(6)_pcblookup_listen() and replace all calls to in_pcblookup()markus2003-11-041-7/+5
| | | | | | 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
* 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
|
* Remove commons; inspired by netbsd.jason2003-02-121-1/+3
|
* KNF - return is not a function. sync w/kameitojun2002-09-111-2/+2
|
* redo socketbuf speedup.provos2002-08-081-3/+3
|
* backout the tree break. ok pb@, art@todd2002-08-081-3/+3
|
* socket buf speedup from thorpej@netbsd, okay art@ ericj@:provos2002-08-081-3/+3
| | | | | | | | | | | | | | | | Make insertion of data into socket buffers O(C): * Keep pointers to the first and last mbufs of the last record in the socket buffer. * Use the sb_lastrecord pointer in the sbappend*() family of functions to avoid traversing the packet chain to find the last record. * Add a new sbappend_stream() function for stream protocols which guarantee that there will never be more than one record in the socket buffer. This function uses the sb_mbtail pointer to perform the data insertion. Make TCP use sbappend_stream(). On a profiling run, this makes sbappend of a TCP transmission using a 1M socket buffer go from 50% of the time to .02% of the time. Thanks to Bill Sommerfeld and YAMAMOTO Takashi for their debugging assistance!
* whitespaceitojun2002-06-091-2/+2
|
* avoid is_ipv6 construct. a step towards IPv4-less kernelitojun2002-06-071-13/+13
|
* remove extra spaces, tabs, and semicolon.fgsch2002-05-261-12/+12
|
* bring in ECN support from KAME.kjc2002-05-161-1/+6
| | | | | | | | | | | | 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-2/+2
|
* use timeout(9) to schedule TCP timers. this avoid traversing allprovos2002-03-081-10/+2
| | | | tcp connections during tcp_slowtimo. apdapted from thorpej@netbsd.org
* disable immediate ack on TH_PUSH. make behaviour sysctl tuneable.provos2002-03-021-1/+4
| | | | | from netbsd; also fix a bug where setting TF_ACKNOW didn't actually result in an ack.
* Don't cast nonexistent return value from splx to (void). ok art@nordin2002-02-151-2/+2
|
* use macros to manage tcp timers; based on netbsdprovos2002-01-141-3/+3
|
* Restore inclusion of <sys/systm.h>.aaron2001-06-261-1/+2
|
* Cut down on include files.angelos2001-06-081-9/+1
|
* repair copyright notices for NRL & cmetz; cmetzderaadt2001-06-051-14/+38
|
* Remove unnecessary XXX comment.angelos2001-05-271-4/+1
|
* more random tcp sequence numbers. okay deraadt@, angelos@provos2000-12-131-5/+5
|
* nuke #ifdef TCP6 (no longer supported).itojun2000-12-111-2/+3
| | | | | | | 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
* implement net.inet.tcp.rstppslimit. rate-limits outbound TCP RST trafficitojun2000-10-141-1/+6
| | | | to less than N per 1 second.
* Lots and lots of changes.angelos2000-09-191-8/+2
|
* compute correct window scale when recvpipe option is set in route; basedprovos2000-07-111-4/+3
| | | | on diff from "Pete Kazmier" <pete@kazmier.com>
* completely remove ipv4 mapped cases from tcp_input().itojun2000-07-061-36/+1
| | | | cleanup (indentation, v4-or-v6 conditions)
* more cleanup for IPv4 mapped address support. there seem to be someitojun2000-07-051-4/+13
| | | | | | | | | 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.
* permit compilation of non-V6 kernelsderaadt2000-06-181-5/+2
|
* support ipv6 for tcp_identbeck2000-06-181-11/+54
|
* for setsockopt/getsockopt, don't assume non-PF_INET6 address family asitojun2000-06-181-3/+10
| | | | PF_INET. we may see other family in the future... (pedant)
* correctly handle ctlinput messages for IPv6.itojun2000-06-031-2/+10
|
* option TCP_NEWRENO goes away, its the default case for TCP_SACK ifprovos1999-12-211-2/+2
| | | | SACK is disabled for the connection or via sysctl