#include <segment-fetcher.hpp>
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... | |
Definition at line 99 of file segment-fetcher.hpp.
|
inline |
Definition at line 102 of file segment-fetcher.hpp.
References validate().
void ndn::util::SegmentFetcher::Options::validate | ( | ) |
Definition at line 42 of file segment-fetcher.cpp.
References aiStep, initCwnd, initSsthresh, maxTimeout, NDN_THROW, ndn::time::steady_clock::now(), rttOptions, and ndn::security::v2::Validator.
Referenced by Options().
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.
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().
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.
bool ndn::util::SegmentFetcher::Options::useConstantInterestTimeout = false |
if true, Interest timeout is kept at maxTimeout
Definition at line 113 of file segment-fetcher.hpp.
bool ndn::util::SegmentFetcher::Options::useConstantCwnd = false |
if true, window size is kept at initCwnd
Definition at line 114 of file segment-fetcher.hpp.
bool ndn::util::SegmentFetcher::Options::disableCwa = false |
disable Conservative Window Adaptation
Definition at line 115 of file segment-fetcher.hpp.
bool ndn::util::SegmentFetcher::Options::resetCwndToInit = false |
reduce cwnd to initCwnd when loss event occurs
Definition at line 116 of file segment-fetcher.hpp.
bool ndn::util::SegmentFetcher::Options::ignoreCongMarks = false |
disable window decrease after congestion mark received
Definition at line 117 of file segment-fetcher.hpp.
double ndn::util::SegmentFetcher::Options::initCwnd = 1.0 |
initial congestion window size
Definition at line 118 of file segment-fetcher.hpp.
Referenced by validate().
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().
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().
double ndn::util::SegmentFetcher::Options::mdCoef = 0.5 |
multiplicative decrease coefficient
Definition at line 121 of file segment-fetcher.hpp.
RttEstimator::Options ndn::util::SegmentFetcher::Options::rttOptions |
options for RTT estimator
Definition at line 122 of file segment-fetcher.hpp.
Referenced by validate().
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.