INET Framework for OMNeT++/OMNEST
inet::tcp::TcpVegasStateVariables Class Reference

State variables for TcpVegas. More...

#include <TcpVegas.h>

Inheritance diagram for inet::tcp::TcpVegasStateVariables:
inet::tcp::TcpBaseAlgStateVariables inet::tcp::TcpStateVariables

Public Member Functions

 TcpVegasStateVariables ()
 
 ~TcpVegasStateVariables ()
 
virtual std::string str () const override
 
virtual std::string detailedInfo () const override
 
- Public Member Functions inherited from inet::tcp::TcpBaseAlgStateVariables
 TcpBaseAlgStateVariables ()
 
- Public Member Functions inherited from inet::tcp::TcpStateVariables
 TcpStateVariables ()
 

Public Attributes

uint32_t v_recoverypoint
 
simtime_t v_cwnd_changed
 
simtime_t v_baseRTT
 
simtime_t v_sumRTT
 
int v_cntRTT
 
uint32_t v_begseq
 
simtime_t v_begtime
 
simtime_t v_rtt_timeout
 
simtime_t v_sa
 
simtime_t v_sd
 
TcpSegmentTransmitInfoList regions
 
uint32_t ssthresh
 slow start threshold More...
 
bool v_inc_flag
 
bool v_incr_ss
 
int32_t v_incr
 
uint32_t v_worried
 
- Public Attributes inherited from inet::tcp::TcpBaseAlgStateVariables
int rexmit_count
 retransmit count More...
 
simtime_t rexmit_timeout
 current retransmission timeout (aka RTO) More...
 
uint persist_factor
 persist factor More...
 
simtime_t persist_timeout
 current persist timeout More...
 
uint32_t snd_cwnd
 congestion window More...
 
uint32_t rtseq
 round-trip time measurements More...
 
simtime_t rtseq_sendtime
 time when rtseq was sent (0 if RTT measurement is not running) More...
 
simtime_t srtt
 round-trip time estimation (Jacobson's algorithm) More...
 
simtime_t rttvar
 variance of round-trip time More...
 
uint32_t numRtos
 number of RTOs More...
 
uint32_t recover
 RFC 3782 variables. More...
 
bool firstPartialACK
 first partial acknowledgement (RFC 3782) More...
 
- Public Attributes inherited from inet::tcp::TcpStateVariables
bool active
 
bool fork
 
uint32_t snd_mss
 
uint32_t snd_una
 
uint32_t snd_nxt
 
uint32_t snd_max
 
uint32_t snd_wnd
 
uint32_t snd_up
 
uint32_t snd_wl1
 
uint32_t snd_wl2
 
uint32_t iss
 
uint32_t rcv_nxt
 
uint32_t rcv_wnd
 
uint32_t rcv_up
 
uint32_t irs
 
uint32_t rcv_adv
 
int syn_rexmit_count
 
simtime_t syn_rexmit_timeout
 
bool fin_ack_rcvd
 
bool send_fin
 
uint32_t snd_fin_seq
 
bool fin_rcvd
 
uint32_t rcv_fin_seq
 
bool nagle_enabled
 
bool delayed_acks_enabled
 
bool limited_transmit_enabled
 
bool increased_IW_enabled
 
uint32_t full_sized_segment_counter
 
bool ack_now
 
bool afterRto
 
bool ws_support
 
bool ws_enabled
 
int ws_manual_scale
 
bool snd_ws
 
bool rcv_ws
 
uint rcv_wnd_scale
 
uint snd_wnd_scale
 
bool ts_support
 
bool ts_enabled
 
bool snd_initial_ts
 
bool rcv_initial_ts
 
uint32_t ts_recent
 
uint32_t last_ack_sent
 
simtime_t time_last_data_sent
 
bool sack_support
 
bool sack_enabled
 
bool snd_sack_perm
 
bool rcv_sack_perm
 
uint32_t start_seqno
 
uint32_t end_seqno
 
bool snd_sack
 
bool snd_dsack
 
SackList sacks_array
 
uint32_t highRxt
 
uint32_t pipe
 
uint32_t recoveryPoint
 
uint32_t sackedBytes
 
uint32_t sackedBytes_old
 
bool lossRecovery
 
uint32_t sendQueueLimit
 
bool queueUpdate
 
uint32_t dupacks
 
uint32_t snd_sacks
 
uint32_t rcv_sacks
 
uint32_t rcv_oooseg
 
uint32_t rcv_naseg
 
uint32_t maxRcvBuffer
 
uint32_t usedRcvBuffer
 
uint32_t freeRcvBuffer
 
uint32_t tcpRcvQueueDrops
 
bool ecnEchoState
 
bool sndCwr
 
bool gotEce
 
bool gotCeIndication
 
bool ect
 
bool endPointIsWillingECN
 
bool ecnSynSent
 
bool ecnWillingness
 
bool sndAck
 
bool rexmit
 
simtime_t eceReactionTime
 
uint32_t dupthresh
 

Detailed Description

State variables for TcpVegas.

Constructor & Destructor Documentation

◆ TcpVegasStateVariables()

inet::tcp::TcpVegasStateVariables::TcpVegasStateVariables ( )
20 {
21  ssthresh = 65535;
22  v_recoverypoint = 0;
23  v_cwnd_changed = 0;
24 
25  v_baseRTT = SIMTIME_MAX;
26 
27  v_inc_flag = true;
28  v_incr_ss = false;
29  v_incr = 0;
30 
31  v_worried = 0;
32 
33  v_begseq = 0;
34  v_begtime = 0;
35  v_cntRTT = 0;
36  v_sumRTT = 0.0;
37  v_rtt_timeout = 1000.0;
38 }

◆ ~TcpVegasStateVariables()

inet::tcp::TcpVegasStateVariables::~TcpVegasStateVariables ( )
41 {
42 }

Member Function Documentation

◆ detailedInfo()

std::string inet::tcp::TcpVegasStateVariables::detailedInfo ( ) const
overridevirtual

Reimplemented from inet::tcp::TcpBaseAlgStateVariables.

53 {
54  std::stringstream out;
56  out << "ssthresh = " << ssthresh << "\n";
57  out << "baseRTT = " << v_baseRTT << "\n";
58  return out.str();
59 }

◆ str()

std::string inet::tcp::TcpVegasStateVariables::str ( ) const
overridevirtual

Reimplemented from inet::tcp::TcpBaseAlgStateVariables.

45 {
46  std::stringstream out;
48  out << " ssthresh=" << ssthresh;
49  return out.str();
50 }

Member Data Documentation

◆ regions

◆ ssthresh

◆ v_baseRTT

simtime_t inet::tcp::TcpVegasStateVariables::v_baseRTT

◆ v_begseq

uint32_t inet::tcp::TcpVegasStateVariables::v_begseq

◆ v_begtime

simtime_t inet::tcp::TcpVegasStateVariables::v_begtime

◆ v_cntRTT

int inet::tcp::TcpVegasStateVariables::v_cntRTT

◆ v_cwnd_changed

simtime_t inet::tcp::TcpVegasStateVariables::v_cwnd_changed

◆ v_inc_flag

bool inet::tcp::TcpVegasStateVariables::v_inc_flag

◆ v_incr

int32_t inet::tcp::TcpVegasStateVariables::v_incr

◆ v_incr_ss

bool inet::tcp::TcpVegasStateVariables::v_incr_ss

◆ v_recoverypoint

uint32_t inet::tcp::TcpVegasStateVariables::v_recoverypoint

Referenced by TcpVegasStateVariables().

◆ v_rtt_timeout

simtime_t inet::tcp::TcpVegasStateVariables::v_rtt_timeout

◆ v_sa

simtime_t inet::tcp::TcpVegasStateVariables::v_sa

◆ v_sd

simtime_t inet::tcp::TcpVegasStateVariables::v_sd

◆ v_sumRTT

simtime_t inet::tcp::TcpVegasStateVariables::v_sumRTT

◆ v_worried

uint32_t inet::tcp::TcpVegasStateVariables::v_worried

The documentation for this class was generated from the following files:
inet::tcp::TcpVegasStateVariables::v_begseq
uint32_t v_begseq
Definition: TcpVegas.h:33
inet::tcp::TcpVegasStateVariables::v_recoverypoint
uint32_t v_recoverypoint
Definition: TcpVegas.h:27
inet::tcp::TcpBaseAlgStateVariables::str
virtual std::string str() const override
Definition: TcpBaseAlg.cc:67
inet::tcp::TcpVegasStateVariables::v_incr_ss
bool v_incr_ss
Definition: TcpVegas.h:45
inet::tcp::TcpBaseAlgStateVariables::detailedInfo
virtual std::string detailedInfo() const override
Definition: TcpBaseAlg.cc:76
inet::tcp::TcpVegasStateVariables::v_cwnd_changed
simtime_t v_cwnd_changed
Definition: TcpVegas.h:28
inet::tcp::TcpVegasStateVariables::ssthresh
uint32_t ssthresh
slow start threshold
Definition: TcpVegas.h:42
inet::tcp::TcpVegasStateVariables::v_begtime
simtime_t v_begtime
Definition: TcpVegas.h:34
inet::tcp::TcpVegasStateVariables::v_inc_flag
bool v_inc_flag
Definition: TcpVegas.h:44
inet::tcp::TcpVegasStateVariables::v_worried
uint32_t v_worried
Definition: TcpVegas.h:47
inet::tcp::TcpVegasStateVariables::v_rtt_timeout
simtime_t v_rtt_timeout
Definition: TcpVegas.h:36
inet::tcp::TcpVegasStateVariables::v_incr
int32_t v_incr
Definition: TcpVegas.h:46
inet::tcp::TcpVegasStateVariables::v_sumRTT
simtime_t v_sumRTT
Definition: TcpVegas.h:31
inet::tcp::TcpVegasStateVariables::v_baseRTT
simtime_t v_baseRTT
Definition: TcpVegas.h:30
inet::tcp::TcpVegasStateVariables::v_cntRTT
int v_cntRTT
Definition: TcpVegas.h:32