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

time::milliseconds interestLifetime = 4_s
 lifetime of sent Interests - independent of Interest timeout More...
 
time::milliseconds maxTimeout = 60_s
 maximum allowed time between successful receipt of segments More...
 
bool inOrder = false
 true for 'in order' mode, false for 'block' mode More...
 
bool useConstantInterestTimeout = false
 if true, Interest timeout is kept at maxTimeout More...
 
bool useConstantCwnd = false
 if true, window size is kept at initCwnd 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...
 
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...
 
RttEstimator::Options rttOptions
 options for RTT estimator More...
 
size_t flowControlWindow = 25000
 maximum number of segments stored in the reorder buffer More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Options()

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

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

References validate().

Member Function Documentation

◆ validate()

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

Member Data Documentation

◆ interestLifetime

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

lifetime of sent Interests - independent of Interest timeout

Definition at line 110 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 111 of file segment-fetcher.hpp.

Referenced by validate(), and ndn::nfd::Controller::~Controller().

◆ inOrder

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

true for 'in order' mode, false for 'block' mode

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

◆ useConstantInterestTimeout

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

if true, Interest timeout is kept at maxTimeout

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

◆ useConstantCwnd

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

if true, window size is kept at initCwnd

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

◆ disableCwa

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

disable Conservative Window Adaptation

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

◆ resetCwndToInit

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

reduce cwnd to initCwnd when loss event occurs

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

◆ ignoreCongMarks

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

disable window decrease after congestion mark received

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

◆ initCwnd

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

initial congestion window size

Definition at line 118 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 119 of file segment-fetcher.hpp.

Referenced by validate().

◆ aiStep

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

additive increase step (in segments)

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

Referenced by validate().

◆ mdCoef

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

multiplicative decrease coefficient

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

◆ rttOptions

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

options for RTT estimator

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

Referenced by validate().

◆ flowControlWindow

size_t ndn::util::SegmentFetcher::Options::flowControlWindow = 25000

maximum number of segments stored in the reorder buffer

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


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