• Gerrit Renker's avatar
    dccp ccid-3: Implement rfc3448bis change to initial-rate computation · 9d497a2c
    Gerrit Renker authored
    The patch updates CCID-3 with regard to the latest rfc3448bis-06: 
     * in the first revisions of the draft, MSS was used for the RFC 3390 window; 
     * then (from revision #1 to revision #2), it used the packet size `s';
     * now, in this revision (and apparently final), the value is back to MSS.
    
    This change has an implication for the case when no RTT sample is available,
    at the time of sending the first packet:
    
     * with RTT sample, 2*MSS/RTT <= initial_rate <= 4*MSS/RTT;
     * without RTT sample, the initial rate is one packet (s bytes) per second
       (sec. 4.2), but using s instead of MSS here creates an imbalance, since
       this would further reduce the initial sending rate.
    
    Hence the patch uses MSS (called MPS in RFC 4340) in all places.
    Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    9d497a2c
ccid3.c 23.2 KB