INET Framework for OMNeT++/OMNEST
|
Contains state variables ("TCB") for TCP. More...
#include <TCPConnection.h>
Public Member Functions | |
TCPStateVariables () | |
virtual std::string | info () const override |
virtual std::string | detailedInfo () const override |
Contains state variables ("TCB") for TCP.
TCPStateVariables is effectively a "struct" – it only contains public data members. (Only declared as a class so that we can use cObject as base class and make it possible to inspect it in Tkenv.)
TCPStateVariables only contains variables needed to implement the "base" (RFC 793) TCP. More advanced TCP variants are encapsulated into TCPAlgorithm subclasses which can have their own state blocks, subclassed from TCPStateVariables. See TCPAlgorithm::createStateVariables().
inet::tcp::TCPStateVariables::TCPStateVariables | ( | ) |
|
overridevirtual |
Reimplemented in inet::tcp::TCPVegasStateVariables, inet::tcp::TCPWestwoodStateVariables, inet::tcp::TCPBaseAlgStateVariables, and inet::tcp::TCPTahoeRenoFamilyStateVariables.
Referenced by inet::tcp::TCPBaseAlgStateVariables::detailedInfo().
|
overridevirtual |
bool inet::tcp::TCPStateVariables::ack_now |
Referenced by inet::tcp::TCPBaseAlg::ackSent(), inet::tcp::TCPBaseAlg::processDelayedAckTimer(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPConnection::processSegmentInListen(), inet::tcp::TCPConnection::processSegmentInSynSent(), inet::tcp::TCPBaseAlg::receivedOutOfOrderSegment(), inet::tcp::TCPBaseAlg::receiveSeqChanged(), and TCPStateVariables().
bool inet::tcp::TCPStateVariables::active |
Referenced by inet::tcp::TCPConnection::cloneListeningConnection(), detailedInfo(), inet::tcp::TCPConnection::process_OPEN_ACTIVE(), inet::tcp::TCPConnection::process_OPEN_PASSIVE(), inet::tcp::TCPConnection::process_SEND(), inet::tcp::TCPConnection::process_TIMEOUT_CONN_ESTAB(), inet::tcp::TCPConnection::processRstInSynReceived(), and TCPStateVariables().
bool inet::tcp::TCPStateVariables::afterRto |
Referenced by inet::tcp::TCPConnection::isSegmentAcceptable(), inet::tcp::TCPNewReno::processRexmitTimer(), inet::tcp::TCPReno::processRexmitTimer(), inet::tcp::TCPTahoe::processRexmitTimer(), inet::tcp::TCPWestwood::processRexmitTimer(), inet::tcp::TCPVegas::processRexmitTimer(), inet::tcp::TCPConnection::sendData(), inet::tcp::TCPConnection::sendOneNewSegment(), inet::tcp::TCPConnection::sendSegment(), and TCPStateVariables().
bool inet::tcp::TCPStateVariables::delayed_acks_enabled |
uint32 inet::tcp::TCPStateVariables::dupacks |
Referenced by detailedInfo(), inet::tcp::TCPConnection::processAckInEstabEtc(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPReno::receivedDataAck(), inet::tcp::TCPWestwood::receivedDataAck(), inet::tcp::TCPVegas::receivedDataAck(), inet::tcp::TCPReno::receivedDuplicateAck(), inet::tcp::TCPNewReno::receivedDuplicateAck(), inet::tcp::TCPTahoe::receivedDuplicateAck(), inet::tcp::DumbTCP::receivedDuplicateAck(), inet::tcp::TCPWestwood::receivedDuplicateAck(), inet::tcp::TCPVegas::receivedDuplicateAck(), inet::tcp::TCPBaseAlg::receivedDuplicateAck(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::end_seqno |
bool inet::tcp::TCPStateVariables::fin_ack_rcvd |
bool inet::tcp::TCPStateVariables::fin_rcvd |
Referenced by inet::tcp::TCPConnection::processSegment1stThru8th(), and TCPStateVariables().
bool inet::tcp::TCPStateVariables::fork |
uint32 inet::tcp::TCPStateVariables::freeRcvBuffer |
uint32 inet::tcp::TCPStateVariables::full_sized_segment_counter |
uint32 inet::tcp::TCPStateVariables::highRxt |
bool inet::tcp::TCPStateVariables::increased_IW_enabled |
uint32 inet::tcp::TCPStateVariables::irs |
uint32 inet::tcp::TCPStateVariables::iss |
Referenced by detailedInfo(), inet::tcp::TCPConnection::process_STATUS(), inet::tcp::TCPConnection::processSegmentInSynSent(), inet::tcp::TCPVegas::receivedDataAck(), inet::tcp::TCPConnection::selectInitialSeqNum(), inet::tcp::TCPConnection::sendSyn(), inet::tcp::TCPConnection::sendSynAck(), inet::tcp::TCPBaseAlgStateVariables::TCPBaseAlgStateVariables(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::last_ack_sent |
bool inet::tcp::TCPStateVariables::limited_transmit_enabled |
bool inet::tcp::TCPStateVariables::lossRecovery |
Referenced by inet::tcp::TCPNewReno::processRexmitTimer(), inet::tcp::TCPBaseAlg::processRexmitTimer(), inet::tcp::TCPNewReno::receivedDataAck(), inet::tcp::TCPReno::receivedDataAck(), inet::tcp::TCPNewReno::receivedDuplicateAck(), inet::tcp::TCPReno::receivedDuplicateAck(), inet::tcp::TCPBaseAlg::receiveSeqChanged(), inet::tcp::TCPConnection::sendData(), inet::tcp::TCPConnection::sendDataDuringLossRecoveryPhase(), inet::tcp::TCPConnection::sendSegmentDuringLossRecoveryPhase(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::maxRcvBuffer |
bool inet::tcp::TCPStateVariables::nagle_enabled |
uint32 inet::tcp::TCPStateVariables::pipe |
bool inet::tcp::TCPStateVariables::queueUpdate |
uint32 inet::tcp::TCPStateVariables::rcv_adv |
uint32 inet::tcp::TCPStateVariables::rcv_fin_seq |
Referenced by inet::tcp::TCPConnection::processSegment1stThru8th(), and TCPStateVariables().
bool inet::tcp::TCPStateVariables::rcv_initial_ts |
uint32 inet::tcp::TCPStateVariables::rcv_naseg |
Referenced by detailedInfo(), inet::tcp::TCPConnection::processSegment1stThru8th(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::rcv_nxt |
Referenced by inet::tcp::TCPBaseAlg::ackSent(), inet::tcp::TCPConnection::addSacks(), detailedInfo(), info(), inet::tcp::TCPConnection::isSegmentAcceptable(), inet::tcp::TCPConnection::process_READ_REQUEST(), inet::tcp::TCPConnection::process_STATUS(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPConnection::processSegmentInListen(), inet::tcp::TCPConnection::processSegmentInSynSent(), inet::tcp::DumbTCP::receiveSeqChanged(), inet::tcp::TCPBaseAlg::receiveSeqChanged(), inet::tcp::TCPConnection::sendAck(), inet::tcp::TCPConnection::sendFin(), inet::tcp::TCPConnection::sendSegment(), inet::tcp::TCPConnection::sendSynAck(), TCPStateVariables(), inet::tcp::TCPConnection::updateRcvWnd(), and inet::tcp::TCPConnection::writeHeaderOptions().
uint32 inet::tcp::TCPStateVariables::rcv_oooseg |
Referenced by detailedInfo(), inet::tcp::TCPConnection::processSegment1stThru8th(), and TCPStateVariables().
bool inet::tcp::TCPStateVariables::rcv_sack_perm |
uint32 inet::tcp::TCPStateVariables::rcv_sacks |
Referenced by detailedInfo(), inet::tcp::TCPConnection::processSACKOption(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::rcv_up |
Referenced by detailedInfo(), inet::tcp::TCPConnection::process_STATUS(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::rcv_wnd |
Referenced by inet::tcp::TCPConnection::configureStateVariables(), detailedInfo(), info(), inet::tcp::TCPConnection::isSegmentAcceptable(), inet::tcp::TCPConnection::process_STATUS(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPConnection::processSegmentInListen(), inet::tcp::TCPConnection::processSegmentInSynSent(), inet::tcp::TCPConnection::sendSyn(), inet::tcp::TCPConnection::sendSynAck(), TCPStateVariables(), and inet::tcp::TCPConnection::updateRcvWnd().
uint inet::tcp::TCPStateVariables::rcv_wnd_scale |
bool inet::tcp::TCPStateVariables::rcv_ws |
uint32 inet::tcp::TCPStateVariables::recoveryPoint |
bool inet::tcp::TCPStateVariables::sack_enabled |
Referenced by detailedInfo(), inet::tcp::TCPConnection::isLost(), inet::tcp::TCPConnection::nextSeg(), inet::tcp::TCPConnection::processAckInEstabEtc(), inet::tcp::TCPBaseAlg::processRexmitTimer(), inet::tcp::TCPConnection::processRstInSynReceived(), inet::tcp::TCPConnection::processSACKOption(), inet::tcp::TCPConnection::processSACKPermittedOption(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPConnection::processSegmentInSynSent(), inet::tcp::TCPReno::receivedDataAck(), inet::tcp::TCPReno::receivedDuplicateAck(), inet::tcp::TCPConnection::retransmitOneSegment(), inet::tcp::TCPConnection::sendData(), inet::tcp::TCPConnection::sendDataDuringLossRecoveryPhase(), inet::tcp::TCPConnection::sendOneNewSegment(), inet::tcp::TCPConnection::sendSegment(), inet::tcp::TCPConnection::sendSegmentDuringLossRecoveryPhase(), inet::tcp::TCPConnection::setPipe(), TCPStateVariables(), and inet::tcp::TCPConnection::writeHeaderOptions().
bool inet::tcp::TCPStateVariables::sack_support |
uint32 inet::tcp::TCPStateVariables::sackedBytes |
uint32 inet::tcp::TCPStateVariables::sackedBytes_old |
SackList inet::tcp::TCPStateVariables::sacks_array |
Referenced by inet::tcp::TCPConnection::addSacks().
bool inet::tcp::TCPStateVariables::send_fin |
Referenced by inet::tcp::TCPConnection::process_CLOSE(), inet::tcp::TCPConnection::processAckInEstabEtc(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPConnection::retransmitData(), inet::tcp::TCPConnection::retransmitOneSegment(), inet::tcp::TCPConnection::sendSegment(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::sendQueueLimit |
uint32 inet::tcp::TCPStateVariables::sentBytes |
Referenced by inet::tcp::TCPConnection::retransmitData(), inet::tcp::TCPConnection::sendData(), inet::tcp::TCPConnection::sendDataDuringLossRecoveryPhase(), inet::tcp::TCPConnection::sendOneNewSegment(), inet::tcp::TCPConnection::sendSegment(), inet::tcp::TCPConnection::sendSegmentDuringLossRecoveryPhase(), inet::tcp::TCPConnection::sendToIP(), and TCPStateVariables().
bool inet::tcp::TCPStateVariables::snd_dsack |
uint32 inet::tcp::TCPStateVariables::snd_fin_seq |
Referenced by inet::tcp::TCPConnection::process_CLOSE(), inet::tcp::TCPConnection::processAckInEstabEtc(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPConnection::retransmitData(), inet::tcp::TCPConnection::retransmitOneSegment(), inet::tcp::TCPConnection::sendSegment(), and TCPStateVariables().
bool inet::tcp::TCPStateVariables::snd_initial_ts |
uint32 inet::tcp::TCPStateVariables::snd_max |
Referenced by inet::tcp::TCPWestwood::dataSent(), inet::tcp::TCPVegas::dataSent(), detailedInfo(), info(), inet::tcp::TCPConnection::isSegmentAcceptable(), inet::tcp::TCPConnection::nextSeg(), inet::tcp::TCPConnection::process_CLOSE(), inet::tcp::TCPConnection::process_SEND(), inet::tcp::TCPConnection::process_STATUS(), inet::tcp::TCPConnection::processAckInEstabEtc(), inet::tcp::TCPNewReno::processRexmitTimer(), inet::tcp::TCPBaseAlg::processRexmitTimer(), inet::tcp::TCPConnection::processSegmentInSynSent(), inet::tcp::TCPNewReno::receivedDataAck(), inet::tcp::TCPVegas::receivedDataAck(), inet::tcp::TCPBaseAlg::receivedDataAck(), inet::tcp::TCPReno::receivedDuplicateAck(), inet::tcp::TCPNewReno::receivedDuplicateAck(), inet::tcp::TCPBaseAlg::receivedDuplicateAck(), inet::tcp::TCPConnection::retransmitData(), inet::tcp::TCPConnection::retransmitOneSegment(), inet::tcp::TCPConnection::selectInitialSeqNum(), inet::tcp::TCPBaseAlg::sendData(), inet::tcp::TCPConnection::sendData(), inet::tcp::TCPConnection::sendOneNewSegment(), inet::tcp::TCPConnection::sendProbe(), inet::tcp::TCPConnection::sendSegment(), inet::tcp::TCPConnection::sendSegmentDuringLossRecoveryPhase(), inet::tcp::TCPConnection::sendSyn(), inet::tcp::TCPConnection::sendSynAck(), inet::tcp::TCPConnection::setPipe(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::snd_mss |
Referenced by inet::tcp::TCPConnection::configureStateVariables(), detailedInfo(), inet::tcp::TCPBaseAlg::established(), inet::tcp::TCPConnection::isLost(), inet::tcp::TCPConnection::nextSeg(), inet::tcp::TCPConnection::process_STATUS(), inet::tcp::TCPConnection::processMSSOption(), inet::tcp::TCPNewReno::processRexmitTimer(), inet::tcp::TCPReno::processRexmitTimer(), inet::tcp::TCPTahoe::processRexmitTimer(), inet::tcp::TCPWestwood::processRexmitTimer(), inet::tcp::TCPVegas::processRexmitTimer(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPNewReno::recalculateSlowStartThreshold(), inet::tcp::TCPReno::recalculateSlowStartThreshold(), inet::tcp::TCPTahoe::recalculateSlowStartThreshold(), inet::tcp::TCPVegas::recalculateSlowStartThreshold(), inet::tcp::TCPNewReno::receivedDataAck(), inet::tcp::TCPReno::receivedDataAck(), inet::tcp::TCPTahoe::receivedDataAck(), inet::tcp::TCPWestwood::receivedDataAck(), inet::tcp::TCPVegas::receivedDataAck(), inet::tcp::TCPNewReno::receivedDuplicateAck(), inet::tcp::TCPReno::receivedDuplicateAck(), inet::tcp::TCPTahoe::receivedDuplicateAck(), inet::tcp::TCPWestwood::receivedDuplicateAck(), inet::tcp::TCPVegas::receivedDuplicateAck(), inet::tcp::TCPConnection::retransmitData(), inet::tcp::TCPConnection::retransmitOneSegment(), inet::tcp::TCPBaseAlg::sendData(), inet::tcp::TCPConnection::sendData(), inet::tcp::TCPConnection::sendDataDuringLossRecoveryPhase(), inet::tcp::TCPConnection::sendOneNewSegment(), inet::tcp::TCPConnection::sendSegment(), inet::tcp::TCPConnection::sendSegmentDuringLossRecoveryPhase(), TCPStateVariables(), and inet::tcp::TCPConnection::writeHeaderOptions().
uint32 inet::tcp::TCPStateVariables::snd_nxt |
Referenced by detailedInfo(), info(), inet::tcp::TCPConnection::isSegmentAcceptable(), inet::tcp::TCPConnection::isSendQueueEmpty(), inet::tcp::TCPConnection::process_ABORT(), inet::tcp::TCPConnection::process_CLOSE(), inet::tcp::TCPConnection::process_STATUS(), inet::tcp::TCPConnection::processAckInEstabEtc(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPConnection::processSegmentInSynSent(), inet::tcp::TCPVegas::receivedDataAck(), inet::tcp::TCPVegas::receivedDuplicateAck(), inet::tcp::TCPConnection::retransmitData(), inet::tcp::TCPConnection::retransmitOneSegment(), inet::tcp::TCPConnection::selectInitialSeqNum(), inet::tcp::TCPConnection::sendAck(), inet::tcp::TCPConnection::sendData(), inet::tcp::TCPConnection::sendFin(), inet::tcp::TCPConnection::sendOneNewSegment(), inet::tcp::TCPConnection::sendProbe(), inet::tcp::TCPConnection::sendSegment(), inet::tcp::TCPConnection::sendSegmentDuringLossRecoveryPhase(), inet::tcp::TCPConnection::sendSyn(), inet::tcp::TCPConnection::sendSynAck(), and TCPStateVariables().
bool inet::tcp::TCPStateVariables::snd_sack |
bool inet::tcp::TCPStateVariables::snd_sack_perm |
uint32 inet::tcp::TCPStateVariables::snd_sacks |
Referenced by inet::tcp::TCPConnection::addSacks(), detailedInfo(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::snd_una |
Referenced by inet::tcp::TCPWestwood::dataSent(), inet::tcp::TCPVegas::dataSent(), detailedInfo(), info(), inet::tcp::TCPConnection::isLost(), inet::tcp::TCPConnection::isSegmentAcceptable(), inet::tcp::TCPConnection::process_CLOSE(), inet::tcp::TCPConnection::process_SEND(), inet::tcp::TCPConnection::process_STATUS(), inet::tcp::TCPConnection::processAckInEstabEtc(), inet::tcp::TCPConnection::processSACKOption(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPConnection::processSegmentInSynSent(), inet::tcp::TCPNewReno::receivedDataAck(), inet::tcp::TCPReno::receivedDataAck(), inet::tcp::TCPWestwood::receivedDataAck(), inet::tcp::TCPVegas::receivedDataAck(), inet::tcp::TCPBaseAlg::receivedDataAck(), inet::tcp::TCPReno::receivedDuplicateAck(), inet::tcp::TCPNewReno::receivedDuplicateAck(), inet::tcp::TCPVegas::receivedDuplicateAck(), inet::tcp::TCPBaseAlg::receivedDuplicateAck(), inet::tcp::TCPConnection::retransmitData(), inet::tcp::TCPConnection::retransmitOneSegment(), inet::tcp::TCPConnection::selectInitialSeqNum(), inet::tcp::TCPBaseAlg::sendData(), inet::tcp::TCPConnection::sendData(), inet::tcp::TCPConnection::sendOneNewSegment(), inet::tcp::TCPConnection::sendProbe(), inet::tcp::TCPConnection::sendSegmentDuringLossRecoveryPhase(), inet::tcp::TCPConnection::setPipe(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::snd_up |
Referenced by detailedInfo(), inet::tcp::TCPConnection::process_STATUS(), and TCPStateVariables().
uint32 inet::tcp::TCPStateVariables::snd_wl1 |
uint32 inet::tcp::TCPStateVariables::snd_wl2 |
uint32 inet::tcp::TCPStateVariables::snd_wnd |
Referenced by detailedInfo(), info(), inet::tcp::TCPConnection::nextSeg(), inet::tcp::TCPConnection::process_STATUS(), inet::tcp::TCPNewReno::recalculateSlowStartThreshold(), inet::tcp::TCPReno::recalculateSlowStartThreshold(), inet::tcp::TCPTahoe::recalculateSlowStartThreshold(), inet::tcp::TCPVegas::recalculateSlowStartThreshold(), inet::tcp::TCPBaseAlg::receivedDataAck(), inet::tcp::TCPVegas::receivedDuplicateAck(), inet::tcp::TCPConnection::sendData(), inet::tcp::TCPConnection::sendOneNewSegment(), TCPStateVariables(), and inet::tcp::TCPConnection::updateWndInfo().
uint inet::tcp::TCPStateVariables::snd_wnd_scale |
bool inet::tcp::TCPStateVariables::snd_ws |
uint32 inet::tcp::TCPStateVariables::start_seqno |
int inet::tcp::TCPStateVariables::syn_rexmit_count |
simtime_t inet::tcp::TCPStateVariables::syn_rexmit_timeout |
uint32 inet::tcp::TCPStateVariables::tcpRcvQueueDrops |
simtime_t inet::tcp::TCPStateVariables::time_last_data_sent |
bool inet::tcp::TCPStateVariables::ts_enabled |
Referenced by inet::tcp::TCPBaseAlg::dataSent(), detailedInfo(), inet::tcp::TCPConnection::nextSeg(), inet::tcp::TCPConnection::processAckInEstabEtc(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::tcp::TCPConnection::processTSOption(), inet::tcp::TCPBaseAlg::receivedDataAck(), inet::tcp::TCPBaseAlg::rttMeasurementCompleteUsingTS(), inet::tcp::TCPConnection::sendData(), TCPStateVariables(), and inet::tcp::TCPConnection::writeHeaderOptions().
uint32 inet::tcp::TCPStateVariables::ts_recent |
bool inet::tcp::TCPStateVariables::ts_support |
uint32 inet::tcp::TCPStateVariables::usedRcvBuffer |
bool inet::tcp::TCPStateVariables::ws_enabled |
int inet::tcp::TCPStateVariables::ws_manual_scale |
bool inet::tcp::TCPStateVariables::ws_support |