kernel-ark/net/dccp/ccids
Gerrit Renker 792e6d3389 dccp tfrc/ccid-3: computing the loss rate from the Loss Event Rate
This adds a function to take care of the following, separate cases occurring in
the computation of the Loss Rate p:

 * 1/(2^32-1) is mapped into 0% as per RFC 4342, 8.5;
 * 1/0        is mapped into 100%, the maximum;
 * to avoid that p = 1/x is rounded down to 0 when x is very large, since this
   means accidentally re-entering slow-start indicated by p == 0, the minimum
   resolution value of p is now returned instead;
 * a bug in ccid3_hc_rx_getsockopt is fixed: 1/0 was mapped into ~0U.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2010-09-21 12:14:26 +02:00
..
lib dccp tfrc/ccid-3: computing the loss rate from the Loss Event Rate 2010-09-21 12:14:26 +02:00
ccid2.c dccp ccid-2: Share TCP's minimum RTO code 2010-08-30 13:45:27 -07:00
ccid2.h dccp ccid-2: Use u32 timestamps uniformly 2010-08-30 13:45:25 -07:00
ccid3.c dccp tfrc/ccid-3: computing the loss rate from the Loss Event Rate 2010-09-21 12:14:26 +02:00
ccid3.h dccp ccid-3: remove dead states 2010-09-21 12:14:26 +02:00
Kconfig dccp ccid-3: use per-route RTO or TCP RTO as fallback 2010-08-30 13:45:28 -07:00