android_kernel_xiaomi_sm8350/net/dccp/ccids
Gerrit Renker 2eeea7ba6b dccp ccid-3: Length of loss intervals
This corrects an error in the computation of the open loss interval I_0:
  * the interval length is (highest_seqno - start_seqno) + 1
  * and not (highest_seqno - start_seqno).

This condition was not fully clear in RFC 3448, but reflects the current
revision state of rfc3448bis and is also consistent with RFC 4340, 6.1.1.

Further changes:
----------------
 * variable renamed due to line length constraints;
 * explicit typecast to `s64' to avoid implicit signed/unsigned casting.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
2008-07-13 11:51:40 +01:00
..
lib dccp ccid-3: Length of loss intervals 2008-07-13 11:51:40 +01:00
ccid2.c dccp: ccid2.c, ccid3.c use clamp(), clamp_t() 2008-05-02 16:44:07 -07:00
ccid2.h
ccid3.c dccp ccid-3: Fix a loss detection bug 2008-07-13 11:51:40 +01:00
ccid3.h
Kconfig
Makefile