A Discrete-Event Network Simulator
API

Transmission Control Protocol. More...

+ Collaboration diagram for Tcp:

Classes

class  ns3::PendingData
 class for managing I/O between applications and TCP More...
 
class  ns3::RttEstimator
 Base class for all RTT Estimators. More...
 
class  ns3::RttHistory
 Helper class to store RTT measurements. More...
 
class  ns3::RttMeanDeviation
 The "Mean--Deviation" RTT estimator, as discussed by Van Jacobson. More...
 
class  ns3::TcpHeader
 Header for the Transmission Control Protocol. More...
 
class  ns3::TcpL4Protocol
 A layer between the sockets interface and IP. More...
 
class  ns3::TcpNewReno
 An implementation of a stream socket using TCP. More...
 
class  ns3::TcpReno
 An implementation of a stream socket using TCP. More...
 
class  ns3::TcpRfc793
 An implementation of a stream socket using TCP. More...
 
class  ns3::TcpRxBuffer
 class for the reordering buffer that keeps the data from lower layer, i.e. More...
 
class  ns3::TcpSocketBase
 A base class for implementation of a stream socket using TCP. More...
 
class  ns3::TcpSocketFactoryImpl
 socket factory implementation for native ns-3 TCP More...
 
class  ns3::TcpTahoe
 An implementation of a stream socket using TCP. More...
 
class  ns3::TcpTxBuffer
 class for keeping the data sent by the application to the TCP socket, i.e. More...
 
class  ns3::TcpWestwood
 An implementation of a stream socket using TCP. More...
 

Typedefs

typedef void(* ns3::TcpStatesTracedValueCallback) (const TcpStates_t oldValue, const TcpStates_t newValue)
 TracedValue Callback signature for TcpStates_t. More...
 

Enumerations

enum  ns3::TcpWestwood::FilterType { ns3::TcpWestwood::NONE, ns3::TcpWestwood::TUSTIN }
 Filter type (None or Tustin) More...
 
enum  ns3::TcpHeader::Flags_t {
  ns3::TcpHeader::NONE = 0, ns3::TcpHeader::FIN = 1, ns3::TcpHeader::SYN = 2, ns3::TcpHeader::RST = 4,
  ns3::TcpHeader::PSH = 8, ns3::TcpHeader::ACK = 16, ns3::TcpHeader::URG = 32, ns3::TcpHeader::ECE = 64,
  ns3::TcpHeader::CWR = 128
}
 TCP flag field values. More...
 
enum  ns3::TcpWestwood::ProtocolType { ns3::TcpWestwood::WESTWOOD, ns3::TcpWestwood::WESTWOODPLUS }
 Protocol variant (Westwood or Westwood+) More...
 
enum  ns3::TcpStates_t {
  ns3::CLOSED, ns3::LISTEN, ns3::SYN_SENT, ns3::SYN_RCVD,
  ns3::ESTABLISHED, ns3::CLOSE_WAIT, ns3::LAST_ACK, ns3::FIN_WAIT_1,
  ns3::FIN_WAIT_2, ns3::CLOSING, ns3::TIME_WAIT, ns3::LAST_STATE
}
 Names of the 11 TCP states. More...
 

Detailed Description

Transmission Control Protocol.

See RFC 793 and others.

Typedef Documentation

typedef void(* ns3::TcpStatesTracedValueCallback) (const TcpStates_t oldValue, const TcpStates_t newValue)

TracedValue Callback signature for TcpStates_t.

Parameters
[in]oldValueoriginal value of the traced variable
[in]newValuenew value of the traced variable

Definition at line 66 of file tcp-socket.h.

Enumeration Type Documentation

Filter type (None or Tustin)

Enumerator
NONE 
TUSTIN 

Definition at line 91 of file tcp-westwood.h.

TCP flag field values.

Enumerator
NONE 

No flags.

FIN 

FIN.

SYN 

SYN.

RST 

Reset.

PSH 

Push.

ACK 

Ack.

URG 

Urgent.

ECE 

ECE.

CWR 

CWR.

Definition at line 250 of file tcp-header.h.

Protocol variant (Westwood or Westwood+)

Enumerator
WESTWOOD 
WESTWOODPLUS 

Definition at line 82 of file tcp-westwood.h.

Names of the 11 TCP states.

Todo:
This should be a member of TcpSocket.
Enumerator
CLOSED 
LISTEN 
SYN_SENT 
SYN_RCVD 
ESTABLISHED 
CLOSE_WAIT 
LAST_ACK 
FIN_WAIT_1 
FIN_WAIT_2 
CLOSING 
TIME_WAIT 
LAST_STATE 

Definition at line 44 of file tcp-socket.h.