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

State variables for TCPWestwood. More...

#include <TCPWestwood.h>

Inheritance diagram for inet::tcp::TCPWestwoodStateVariables:
inet::tcp::TCPBaseAlgStateVariables inet::tcp::TCPStateVariables

Public Member Functions

 TCPWestwoodStateVariables ()
 
 ~TCPWestwoodStateVariables ()
 
virtual std::string info () 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 ssthresh
 slow start threshold More...
 
simtime_t w_RTTmin
 
double w_a
 
simtime_t w_lastAckTime
 
double w_bwe
 
double w_sample_bwe
 
TCPSegmentTransmitInfoList regions
 
- 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 snd_cwnd
 congestion window More...
 
uint32 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 numRtos
 number of RTOs More...
 
uint32 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 snd_mss
 
uint32 snd_una
 
uint32 snd_nxt
 
uint32 snd_max
 
uint32 snd_wnd
 
uint32 snd_up
 
uint32 snd_wl1
 
uint32 snd_wl2
 
uint32 iss
 
uint32 rcv_nxt
 
uint32 rcv_wnd
 
uint32 rcv_up
 
uint32 irs
 
uint32 rcv_adv
 
int syn_rexmit_count
 
simtime_t syn_rexmit_timeout
 
bool fin_ack_rcvd
 
bool send_fin
 
uint32 snd_fin_seq
 
bool fin_rcvd
 
uint32 rcv_fin_seq
 
uint32 sentBytes
 
bool nagle_enabled
 
bool delayed_acks_enabled
 
bool limited_transmit_enabled
 
bool increased_IW_enabled
 
uint32 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 ts_recent
 
uint32 last_ack_sent
 
simtime_t time_last_data_sent
 
bool sack_support
 
bool sack_enabled
 
bool snd_sack_perm
 
bool rcv_sack_perm
 
uint32 start_seqno
 
uint32 end_seqno
 
bool snd_sack
 
bool snd_dsack
 
SackList sacks_array
 
uint32 highRxt
 
uint32 pipe
 
uint32 recoveryPoint
 
uint32 sackedBytes
 
uint32 sackedBytes_old
 
bool lossRecovery
 
uint32 sendQueueLimit
 
bool queueUpdate
 
uint32 dupacks
 
uint32 snd_sacks
 
uint32 rcv_sacks
 
uint32 rcv_oooseg
 
uint32 rcv_naseg
 
uint32 maxRcvBuffer
 
uint32 usedRcvBuffer
 
uint32 freeRcvBuffer
 
uint32 tcpRcvQueueDrops
 

Detailed Description

State variables for TCPWestwood.

Constructor & Destructor Documentation

inet::tcp::TCPWestwoodStateVariables::TCPWestwoodStateVariables ( )
31 {
32  ssthresh = 65535;
33  w_RTTmin = SIMTIME_MAX;
34  w_a = 1;
35  w_lastAckTime = 0;
36  w_bwe = 0;
37  w_sample_bwe = 0;
38 }
simtime_t w_RTTmin
Definition: TCPWestwood.h:44
double w_bwe
Definition: TCPWestwood.h:49
double w_sample_bwe
Definition: TCPWestwood.h:50
simtime_t w_lastAckTime
Definition: TCPWestwood.h:47
double w_a
Definition: TCPWestwood.h:45
uint32 ssthresh
slow start threshold
Definition: TCPWestwood.h:42
inet::tcp::TCPWestwoodStateVariables::~TCPWestwoodStateVariables ( )
41 {
42 }

Member Function Documentation

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

Reimplemented from inet::tcp::TCPBaseAlgStateVariables.

53 {
54  std::stringstream out;
56  out << "ssthresh = " << ssthresh << "\n";
57  out << "w_RTTmin = " << w_RTTmin << "\n";
58  return out.str();
59 }
virtual std::string detailedInfo() const override
Definition: TCPBaseAlg.cc:87
simtime_t w_RTTmin
Definition: TCPWestwood.h:44
uint32 ssthresh
slow start threshold
Definition: TCPWestwood.h:42
std::string inet::tcp::TCPWestwoodStateVariables::info ( ) const
overridevirtual

Reimplemented from inet::tcp::TCPBaseAlgStateVariables.

45 {
46  std::stringstream out;
48  out << " ssthresh=" << ssthresh;
49  return out.str();
50 }
virtual std::string info() const override
Definition: TCPBaseAlg.cc:78
uint32 ssthresh
slow start threshold
Definition: TCPWestwood.h:42

Member Data Documentation

simtime_t inet::tcp::TCPWestwoodStateVariables::w_lastAckTime
double inet::tcp::TCPWestwoodStateVariables::w_sample_bwe

The documentation for this class was generated from the following files: