Classes | Namespaces | Defines | Enumerations

TCPConnection_old.h File Reference

#include <omnetpp.h>
#include "INETDefs.h"
#include "IPvXAddress.h"
#include "TCP_old.h"

Go to the source code of this file.

Classes

class  tcp_old::TCPStateVariables
class  tcp_old::TCPConnection

Namespaces

namespace  tcp_old

Defines

#define MAX_SYN_REXMIT_COUNT   12
#define TCP_MAX_WIN   65535
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

Enumerations

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

Functions

Comparing sequence numbers

bool tcp_old::seqLess (uint32 a, uint32 b)
bool tcp_old::seqLE (uint32 a, uint32 b)
bool tcp_old::seqGreater (uint32 a, uint32 b)
bool tcp_old::seqGE (uint32 a, uint32 b)

Define Documentation

#define MAX_SYN_REXMIT_COUNT   12

Definition at line 121 of file TCPConnection_old.h.

#define TCP_MAX_WIN   65535

Definition at line 123 of file TCPConnection_old.h.

#define TCP_TIMEOUT_2MSL   240

Definition at line 116 of file TCPConnection_old.h.

#define TCP_TIMEOUT_CONN_ESTAB   75

Definition at line 114 of file TCPConnection_old.h.

#define TCP_TIMEOUT_FIN_WAIT_2   600

Definition at line 115 of file TCPConnection_old.h.

#define TCP_TIMEOUT_SYN_REXMIT   3

Definition at line 117 of file TCPConnection_old.h.

#define TCP_TIMEOUT_SYN_REXMIT_MAX   240

Definition at line 118 of file TCPConnection_old.h.