TcpWestwoodStateVariables

Namespace inet::tcp

TcpWestwoodStateVariables

struct

State variables for TcpWestwood.

Extends

Name Type Description
TcpBaseAlgStateVariables (unknown -- not in documented files)

Fields

Name Type Description
ssthresh uint32_t

< slow start threshold

w_RTTmin simtime_t

min RTT

w_a double

threshold reduction factor for ssthresh calculation

w_lastAckTime simtime_t

last received ack time

w_bwe double
w_sample_bwe double
regions TcpSegmentTransmitInfoList

Source code

///
/// State variables for TcpWestwood.
///
struct TcpWestwoodStateVariables extends TcpBaseAlgStateVariables
{
    @descriptor(readonly);

    uint32_t ssthresh = 65535; ///< slow start threshold

    simtime_t w_RTTmin = SIMTIME_MAX; // min RTT
    double w_a = 1.0; // threshold reduction factor for ssthresh calculation

    simtime_t w_lastAckTime = SIMTIME_ZERO; // last received ack time

    double w_bwe = 0.0;
    double w_sample_bwe = 0.0;

    TcpSegmentTransmitInfoList regions;
}

File: src/inet/transportlayer/tcp/flavours/TcpWestwoodState.msg