• Gerrit Renker's avatar
    [DCCP] ccid3: Larger initial windows · a79ef76f
    Gerrit Renker authored
    This implements the larger-initial-windows feature for CCID 3, as described in
    section 5 of RFC 4342. When the first feedback packet arrives, the sender can
    send up to 2..4 packets per RTT, instead of just one.
    
    The patch further
     * reduces the number of timestamping calls by passing the timestamp value
       (which is computed in one of the calling functions anyway) as argument
    
     * renames one constant with a very long name into one which is shorter and
       resembles the one in RFC 3448 (t_mbi)
    
     * simplifies some of the min_t/max_t cases where both `x', `y' have the same
       type
    
    Commiter note: renamed TFRC_t_mbi to TFRC_T_MBI, to follow Linux coding style.
    Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    Acked-by: default avatarIan McDonald <ian.mcdonald@jandi.co.nz>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@mandriva.com>
    a79ef76f
ccid3.c 36.3 KB