NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::util::SegmentFetcher::Options Class Reference

#include <segment-fetcher.hpp>

Collaboration diagram for ndn::util::SegmentFetcher::Options:

Public Member Functions

 Options ()
 
void validate ()
 

Public Attributes

bool useConstantCwnd = false
 if true, window size is kept at initCwnd More...
 
bool useConstantInterestTimeout = false
 if true, Interest timeout is kept at maxTimeout More...
 
time::milliseconds maxTimeout = 60_s
 maximum allowed time between successful receipt of segments More...
 
time::milliseconds interestLifetime = 4_s
 lifetime of sent Interests - independent of Interest timeout More...
 
double initCwnd = 1.0
 initial congestion window size More...
 
double initSsthresh = std::numeric_limits<double>::max()
 initial slow start threshold More...
 
double aiStep = 1.0
 additive increase step (in segments) More...
 
double mdCoef = 0.5
 multiplicative decrease coefficient More...
 
bool disableCwa = false
 disable Conservative Window Adaptation More...
 
bool resetCwndToInit = false
 reduce cwnd to initCwnd when loss event occurs More...
 
bool ignoreCongMarks = false
 disable window decrease after congestion mark received More...
 
RttEstimator::Options rttOptions
 options for RTT estimator More...
 

Detailed Description

Definition at line 116 of file segment-fetcher.hpp.

Constructor & Destructor Documentation

◆ Options()

ndn::util::SegmentFetcher::Options::Options ( )
inline

Definition at line 119 of file segment-fetcher.hpp.

Member Function Documentation

◆ validate()

void ndn::util::SegmentFetcher::Options::validate ( )

Definition at line 46 of file segment-fetcher.cpp.

References aiStep, initCwnd, maxTimeout, and NDN_THROW.

Member Data Documentation

◆ useConstantCwnd

bool ndn::util::SegmentFetcher::Options::useConstantCwnd = false

if true, window size is kept at initCwnd

Definition at line 127 of file segment-fetcher.hpp.

◆ useConstantInterestTimeout

bool ndn::util::SegmentFetcher::Options::useConstantInterestTimeout = false

if true, Interest timeout is kept at maxTimeout

Definition at line 128 of file segment-fetcher.hpp.

◆ maxTimeout

time::milliseconds ndn::util::SegmentFetcher::Options::maxTimeout = 60_s

maximum allowed time between successful receipt of segments

Definition at line 129 of file segment-fetcher.hpp.

Referenced by validate().

◆ interestLifetime

time::milliseconds ndn::util::SegmentFetcher::Options::interestLifetime = 4_s

lifetime of sent Interests - independent of Interest timeout

Definition at line 130 of file segment-fetcher.hpp.

◆ initCwnd

double ndn::util::SegmentFetcher::Options::initCwnd = 1.0

initial congestion window size

Definition at line 131 of file segment-fetcher.hpp.

Referenced by validate().

◆ initSsthresh

double ndn::util::SegmentFetcher::Options::initSsthresh = std::numeric_limits<double>::max()

initial slow start threshold

Definition at line 132 of file segment-fetcher.hpp.

◆ aiStep

double ndn::util::SegmentFetcher::Options::aiStep = 1.0

additive increase step (in segments)

Definition at line 133 of file segment-fetcher.hpp.

Referenced by validate().

◆ mdCoef

double ndn::util::SegmentFetcher::Options::mdCoef = 0.5

multiplicative decrease coefficient

Definition at line 134 of file segment-fetcher.hpp.

◆ disableCwa

bool ndn::util::SegmentFetcher::Options::disableCwa = false

disable Conservative Window Adaptation

Definition at line 135 of file segment-fetcher.hpp.

◆ resetCwndToInit

bool ndn::util::SegmentFetcher::Options::resetCwndToInit = false

reduce cwnd to initCwnd when loss event occurs

Definition at line 136 of file segment-fetcher.hpp.

◆ ignoreCongMarks

bool ndn::util::SegmentFetcher::Options::ignoreCongMarks = false

disable window decrease after congestion mark received

Definition at line 137 of file segment-fetcher.hpp.

◆ rttOptions

RttEstimator::Options ndn::util::SegmentFetcher::Options::rttOptions

options for RTT estimator

Definition at line 138 of file segment-fetcher.hpp.


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