diff options
author | 2019-10-18 12:12:14 +0000 | |
---|---|---|
committer | 2019-10-18 12:12:14 +0000 | |
commit | 306b098c350771c9497219694f82c090634eb974 (patch) | |
tree | 7ed3fde6d7a60fa265d5c00abd18cdbf9263526e /libtransport/src/hicn/transport/protocols/rtc.h | |
parent | e829c967195260afe705d2b937fa2df5ce403699 (diff) | |
parent | 8dfba586faa8ebee05d9aa48217c484e6f2d0bf6 (diff) |
Merge "[HICN-337] correlty set timers for rtx in rtc consumer"
Diffstat (limited to 'libtransport/src/hicn/transport/protocols/rtc.h')
-rw-r--r-- | libtransport/src/hicn/transport/protocols/rtc.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |