#include <itpp/protocol/tcp.h>
#include <itpp/base/itfile.h>
#include <limits>
#include <cstdlib>
#include <ctime>
Go to the source code of this file.
Namespaces | |
namespace | itpp |
Defines | |
#define | TCP_HEADERLENGTH 40 |
#define | TCP_VERSION kReno |
#define | TCP_SMSS 1460 |
#define | TCP_INITIALCWNDREL 2 |
#define | TCP_INITIALSSTHRESHREL 1 |
#define | TCP_MAXCWNDREL 32 |
#define | TCP_DUPACKS 3 |
#define | TCP_INITIALRTT 1 |
#define | TCP_MAXBACKOFF 64 |
#define | TCP_IMMEDIATEBACKOFFRESET false |
#define | TCP_TIMESTAMPS false |
#define | TCP_KARN true |
#define | TCP_NAGLE false |
#define | TCP_GOBACKN true |
#define | TCP_FLIGHTSIZERECOVERY false |
#define | TCP_RENOCONSERVATION true |
#define | TCP_CAREFULSSTHRESHREDUCTION true |
#define | TCP_IGNOREDUPACKONTORECOVERY true |
#define | TCP_CAREFULMULFASTRTXAVOIDANCE true |
#define | TCP_RESTARTAFTERIDLE true |
#define | TCP_RMSS 1460 |
#define | TCP_DELAYEDACK true |
#define | TCP_SENDPERIODICACKS false |
#define | TCP_STRICTPERIODICACKS false |
#define | TCP_PERIODICACKINTERVAL 1 |
#define | TCP_ACKSCHEDULINGDELAY 0 |
#define | TCP_ACKBUFFERWRITE false |
#define | TCP_ACKBUFFERREAD true |
#define | TCP_MINUSERBLOCKSIZE 1 |
#define | TCP_USERBLOCKPROCDELAY 0 |
#define | TCPGEN_BLOCKSIZE 1460 |
#define | TCPAPP_MAXNOOFACTIVEAPPS 500 |
#define | TCPAPP_DISTSTATARRAYSIZE 100 |
#define | TCPAPP_DISTSTATMAXGOODPUT 1000 |
#define | TCPAPP_DISTSTATMAXTRANSFERTIME 10000 |
#define | TCPAPP_CONDMEANSTATARRAYSIZE 100 |
#define | TCPAPP_CONDMEANSTATMAXREQSIZE 100000 |
Functions | |
int | itpp::min (int opd1, int opd2) |
int | itpp::max (int opd1, int opd2) |
double | itpp::round (const double value, const double granularity) |
std::ostream & | itpp::operator<< (std::ostream &os, const TCP_Segment &segment) |
std::ostream & | itpp::operator<< (std::ostream &out, TCP_Packet &msg) |
Variables | |
const double | itpp::TCP_STIMERGRAN = 0.2 |
const double | itpp::TCP_SWSATIMERVALUE = 0.2 |
const double | itpp::TCP_MAXRTO = std::numeric_limits<double>::max() |
const int | itpp::TCP_BUFFERSIZE = std::numeric_limits<int>::max()/4 |
const double | itpp::TCP_ACKDELAYTIME = 0.2 |
const int | itpp::TCP_MAXUSERBLOCKSIZE = std::numeric_limits<int>::max()/4 |
$Date$ $Revision$
-------------------------------------------------------------------------
IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions
Copyright (C) 1995-2007 (see AUTHORS file for a list of contributors)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-------------------------------------------------------------------------
Copyright (c) 2000-2004 IKR (formerly IND), University of Stuttgart This file is part of the IKR (formerly IND) TCP Library.
Definition in file tcp.cpp.
Generated on Thu Aug 30 02:47:21 2007 for IT++ by Doxygen 1.5.3