From 8dfba586faa8ebee05d9aa48217c484e6f2d0bf6 Mon Sep 17 00:00:00 2001 From: michele papalini Date: Fri, 18 Oct 2019 13:56:07 +0200 Subject: [HICN-337] correlty set timers for rtx in rtc consumer Signed-off-by: michele papalini Change-Id: Iaf947ac6c7763ba0a648f9cc865ca0f11cb3e31f --- libtransport/src/hicn/transport/protocols/rtc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libtransport/src/hicn/transport/protocols/rtc.h') diff --git a/libtransport/src/hicn/transport/protocols/rtc.h b/libtransport/src/hicn/transport/protocols/rtc.h index cac885bc4..7927e3969 100644 --- a/libtransport/src/hicn/transport/protocols/rtc.h +++ b/libtransport/src/hicn/transport/protocols/rtc.h @@ -49,6 +49,7 @@ #define HICN_MAX_RTX_SIZE 1024 #define HICN_MAX_RTX_MAX_AGE 10000 #define HICN_MIN_RTT_WIN 30 // rounds +#define HICN_MIN_INTER_ARRIVAL_GAP 100 //ms // cwin #define HICN_INITIAL_CWIN 1 // packets @@ -159,6 +160,8 @@ class RTCTransportProtocol : public TransportProtocol, public Reassembly { //for samething that is older than this value. uint32_t lastReceived_; //segment of the last content object received //indicates the base of the window on the client + uint64_t lastReceivedTime_; //time at which we recevied the + //lastReceived_ packet //rtt probes //the RTC transport tends to overestimate the RTT -- cgit 1.2.3-korg