diff options
author | michele papalini <micpapal@cisco.com> | 2019-10-18 13:56:07 +0200 |
---|---|---|
committer | michele papalini <micpapal@cisco.com> | 2019-10-18 13:56:07 +0200 |
commit | 8dfba586faa8ebee05d9aa48217c484e6f2d0bf6 (patch) | |
tree | 67496ee924d2d94d866243af5c8b98fb9f3f39b6 /libtransport/src/hicn/transport/protocols/rtc.h | |
parent | badbec7fcbb0c1fb63a6a1dbfc72ad4ca04c89d6 (diff) |
[HICN-337] correlty set timers for rtx in rtc consumer
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Iaf947ac6c7763ba0a648f9cc865ca0f11cb3e31f
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 |