aboutsummaryrefslogtreecommitdiffstats
path: root/icnet/transport
diff options
context:
space:
mode:
Diffstat (limited to 'icnet/transport')
-rw-r--r--icnet/transport/icnet_content_store.cc3
-rw-r--r--icnet/transport/icnet_socket_consumer.cc1
-rw-r--r--icnet/transport/icnet_transport.cc3
-rw-r--r--icnet/transport/icnet_transport_vegas_rto_estimator.cc9
4 files changed, 10 insertions, 6 deletions
diff --git a/icnet/transport/icnet_content_store.cc b/icnet/transport/icnet_content_store.cc
index 884ad2e7..64694b20 100644
--- a/icnet/transport/icnet_content_store.cc
+++ b/icnet/transport/icnet_content_store.cc
@@ -17,7 +17,8 @@
namespace icnet {
-ContentStore::ContentStore(std::size_t max_packets) : max_content_store_size_(max_packets) {
+ContentStore::ContentStore(std::size_t max_packets)
+ : max_content_store_size_(max_packets) {
}
ContentStore::~ContentStore() {
diff --git a/icnet/transport/icnet_socket_consumer.cc b/icnet/transport/icnet_socket_consumer.cc
index b6c928c6..2aec571b 100644
--- a/icnet/transport/icnet_socket_consumer.cc
+++ b/icnet/transport/icnet_socket_consumer.cc
@@ -24,6 +24,7 @@ ConsumerSocket::ConsumerSocket(Name prefix, int protocol)
min_window_size_(default_values::min_window_size),
max_window_size_(default_values::max_window_size),
current_window_size_(-1),
+ max_retransmissions_(default_values::transport_protocol_max_retransmissions),
/****** RAAQM Parameters ******/
minimum_drop_probability_(default_values::minimum_drop_probability),
sample_number_(default_values::sample_number),
diff --git a/icnet/transport/icnet_transport.cc b/icnet/transport/icnet_transport.cc
index c85f02b4..632d03c4 100644
--- a/icnet/transport/icnet_transport.cc
+++ b/icnet/transport/icnet_transport.cc
@@ -17,7 +17,8 @@
namespace icnet {
-TransportProtocol::TransportProtocol(Socket *icn_socket) : socket_(icn_socket), is_running_(false) {
+TransportProtocol::TransportProtocol(Socket *icn_socket)
+ : socket_(icn_socket), is_running_(false) {
}
void TransportProtocol::updatePortal() {
diff --git a/icnet/transport/icnet_transport_vegas_rto_estimator.cc b/icnet/transport/icnet_transport_vegas_rto_estimator.cc
index 889a6bd3..6653518e 100644
--- a/icnet/transport/icnet_transport_vegas_rto_estimator.cc
+++ b/icnet/transport/icnet_transport_vegas_rto_estimator.cc
@@ -18,10 +18,11 @@
namespace icnet {
-RtoEstimator::RtoEstimator(Duration min_rto) : smoothed_rtt_(RtoEstimator::getInitialRtt().count()),
- rtt_variation_(0),
- first_measurement_(true),
- last_rto_(min_rto.count()) {
+RtoEstimator::RtoEstimator(Duration min_rto)
+ : smoothed_rtt_(RtoEstimator::getInitialRtt().count()),
+ rtt_variation_(0),
+ first_measurement_(true),
+ last_rto_(min_rto.count()) {
}
void RtoEstimator::addMeasurement(Duration rtt) {