#include <segment-fetcher.hpp>
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... | |
Definition at line 116 of file segment-fetcher.hpp.
|
inline |
Definition at line 119 of file segment-fetcher.hpp.
void ndn::util::SegmentFetcher::Options::validate | ( | ) |
Definition at line 46 of file segment-fetcher.cpp.
References aiStep, initCwnd, maxTimeout, and NDN_THROW.
bool ndn::util::SegmentFetcher::Options::useConstantCwnd = false |
if true, window size is kept at initCwnd
Definition at line 127 of file segment-fetcher.hpp.
bool ndn::util::SegmentFetcher::Options::useConstantInterestTimeout = false |
if true, Interest timeout is kept at maxTimeout
Definition at line 128 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 129 of file segment-fetcher.hpp.
Referenced by validate().
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.
double ndn::util::SegmentFetcher::Options::initCwnd = 1.0 |
initial congestion window size
Definition at line 131 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 132 of file segment-fetcher.hpp.
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().
double ndn::util::SegmentFetcher::Options::mdCoef = 0.5 |
multiplicative decrease coefficient
Definition at line 134 of file segment-fetcher.hpp.
bool ndn::util::SegmentFetcher::Options::disableCwa = false |
disable Conservative Window Adaptation
Definition at line 135 of file segment-fetcher.hpp.
bool ndn::util::SegmentFetcher::Options::resetCwndToInit = false |
reduce cwnd to initCwnd when loss event occurs
Definition at line 136 of file segment-fetcher.hpp.
bool ndn::util::SegmentFetcher::Options::ignoreCongMarks = false |
disable window decrease after congestion mark received
Definition at line 137 of file segment-fetcher.hpp.
RttEstimator::Options ndn::util::SegmentFetcher::Options::rttOptions |
options for RTT estimator
Definition at line 138 of file segment-fetcher.hpp.