• Gerrit Renker's avatar
    dccp ccid-3: Length of loss intervals · 2eeea7ba
    Gerrit Renker authored
    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: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    2eeea7ba
loss_interval.c 5.67 KB