Skip to content
Snippets Groups Projects
Select Git revision
  • c95f06a2dcbc3aa2b5edbcffdc7970165a34c822
  • master default protected
  • r1.8
  • r1.6
  • r1.9
  • r1.5
  • r1.7
  • r1.3
  • r1.4
  • r1.2
  • v1.6.0
  • v1.5.0
12 results

dataset.py

Blame
  • tcp_input.c 171.40 KiB
    /*
     * INET		An implementation of the TCP/IP protocol suite for the LINUX
     *		operating system.  INET is implemented using the  BSD Socket
     *		interface as the means of communication with the user level.
     *
     *		Implementation of the Transmission Control Protocol(TCP).
     *
     * Authors:	Ross Biro
     *		Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
     *		Mark Evans, <evansmp@uhura.aston.ac.uk>
     *		Corey Minyard <wf-rch!minyard@relay.EU.net>
     *		Florian La Roche, <flla@stud.uni-sb.de>
     *		Charles Hedrick, <hedrick@klinzhai.rutgers.edu>
     *		Linus Torvalds, <torvalds@cs.helsinki.fi>
     *		Alan Cox, <gw4pts@gw4pts.ampr.org>
     *		Matthew Dillon, <dillon@apollo.west.oic.com>
     *		Arnt Gulbrandsen, <agulbra@nvg.unit.no>
     *		Jorge Cwik, <jorge@laser.satlink.net>
     */
    
    /*
     * Changes:
     *		Pedro Roque	:	Fast Retransmit/Recovery.
     *					Two receive queues.
     *					Retransmit queue handled by TCP.
     *					Better retransmit timer handling.
     *					New congestion avoidance.
     *					Header prediction.
     *					Variable renaming.
     *
     *		Eric		:	Fast Retransmit.
     *		Randy Scott	:	MSS option defines.
     *		Eric Schenk	:	Fixes to slow start algorithm.
     *		Eric Schenk	:	Yet another double ACK bug.
     *		Eric Schenk	:	Delayed ACK bug fixes.
     *		Eric Schenk	:	Floyd style fast retrans war avoidance.
     *		David S. Miller	:	Don't allow zero congestion window.
     *		Eric Schenk	:	Fix retransmitter so that it sends
     *					next packet on ack of previous packet.
     *		Andi Kleen	:	Moved open_request checking here
     *					and process RSTs for open_requests.
     *		Andi Kleen	:	Better prune_queue, and other fixes.
     *		Andrey Savochkin:	Fix RTT measurements in the presence of
     *					timestamps.
     *		Andrey Savochkin:	Check sequence numbers correctly when
     *					removing SACKs due to in sequence incoming
     *					data segments.
     *		Andi Kleen:		Make sure we never ack data there is not
     *					enough room for. Also make this condition
     *					a fatal error if it might still happen.
     *		Andi Kleen:		Add tcp_measure_rcv_mss to make
     *					connections with MSS<min(MTU,ann. MSS)
     *					work without delayed acks.
     *		Andi Kleen:		Process packets with PSH set in the
     *					fast path.
     *		J Hadi Salim:		ECN support
     *	 	Andrei Gurtov,
     *		Pasi Sarolahti,
     *		Panu Kuhlberg:		Experimental audit of TCP (re)transmission
     *					engine. Lots of bugs are found.
     *		Pasi Sarolahti:		F-RTO for dealing with spurious RTOs
     */
    
    #define pr_fmt(fmt) "TCP: " fmt
    
    #include <linux/mm.h>
    #include <linux/slab.h>
    #include <linux/module.h>
    #include <linux/sysctl.h>
    #include <linux/kernel.h>