INET Framework for OMNeT++/OMNEST
TCPConnection.h File Reference

Classes

class  inet::tcp::TCPStateVariables
 Contains state variables ("TCB") for TCP. More...
 
class  inet::tcp::TCPConnection
 Manages a TCP connection. More...
 

Namespaces

 inet
 Copyright (c) 2005 Jan Ringo�, www.ringos.cz.
 
 inet::tcp
 

Macros

#define MAX_SYN_REXMIT_COUNT   12
 
#define TCP_MAX_WIN   65535
 
#define DUPTHRESH   3
 
#define MAX_SACK_BLOCKS   60
 
#define TCP_OPTIONS_MAX_SIZE   40
 
#define TCP_OPTION_SACK_MIN_SIZE   10
 
#define TCP_OPTION_TS_SIZE   12
 
#define PAWS_IDLE_TIME_THRESH   (24 * 24 * 3600)
 
Timeout values
#define TCP_TIMEOUT_CONN_ESTAB   75
 
#define TCP_TIMEOUT_FIN_WAIT_2   600
 
#define TCP_TIMEOUT_2MSL   240
 
#define TCP_TIMEOUT_SYN_REXMIT   3
 
#define TCP_TIMEOUT_SYN_REXMIT_MAX   240
 

Typedefs

typedef std::list< Sack > inet::tcp::SackList
 

Enumerations

enum  inet::tcp::TcpState {
  inet::tcp::TCP_S_INIT = 0, inet::tcp::TCP_S_CLOSED = FSM_Steady(1), inet::tcp::TCP_S_LISTEN = FSM_Steady(2), inet::tcp::TCP_S_SYN_SENT = FSM_Steady(3),
  inet::tcp::TCP_S_SYN_RCVD = FSM_Steady(4), inet::tcp::TCP_S_ESTABLISHED = FSM_Steady(5), inet::tcp::TCP_S_CLOSE_WAIT = FSM_Steady(6), inet::tcp::TCP_S_LAST_ACK = FSM_Steady(7),
  inet::tcp::TCP_S_FIN_WAIT_1 = FSM_Steady(8), inet::tcp::TCP_S_FIN_WAIT_2 = FSM_Steady(9), inet::tcp::TCP_S_CLOSING = FSM_Steady(10), inet::tcp::TCP_S_TIME_WAIT = FSM_Steady(11)
}
 
enum  inet::tcp::TCPEventCode {
  inet::tcp::TCP_E_IGNORE, inet::tcp::TCP_E_OPEN_ACTIVE, inet::tcp::TCP_E_OPEN_PASSIVE, inet::tcp::TCP_E_SEND,
  inet::tcp::TCP_E_CLOSE, inet::tcp::TCP_E_ABORT, inet::tcp::TCP_E_STATUS, inet::tcp::TCP_E_QUEUE_BYTES_LIMIT,
  inet::tcp::TCP_E_READ, inet::tcp::TCP_E_RCV_DATA, inet::tcp::TCP_E_RCV_ACK, inet::tcp::TCP_E_RCV_SYN,
  inet::tcp::TCP_E_RCV_SYN_ACK, inet::tcp::TCP_E_RCV_FIN, inet::tcp::TCP_E_RCV_FIN_ACK, inet::tcp::TCP_E_RCV_RST,
  inet::tcp::TCP_E_RCV_UNEXP_SYN, inet::tcp::TCP_E_TIMEOUT_2MSL, inet::tcp::TCP_E_TIMEOUT_CONN_ESTAB, inet::tcp::TCP_E_TIMEOUT_FIN_WAIT_2
}
 

Macro Definition Documentation

#define MAX_SACK_BLOCKS   60
#define MAX_SYN_REXMIT_COUNT   12
#define PAWS_IDLE_TIME_THRESH   (24 * 24 * 3600)
#define TCP_OPTION_SACK_MIN_SIZE   10
#define TCP_OPTION_TS_SIZE   12
#define TCP_OPTIONS_MAX_SIZE   40
#define TCP_TIMEOUT_2MSL   240
#define TCP_TIMEOUT_FIN_WAIT_2   600
#define TCP_TIMEOUT_SYN_REXMIT   3
#define TCP_TIMEOUT_SYN_REXMIT_MAX   240