• G
    dccp ccid-2: Schedule Sync as out-of-band mechanism · c2f42077
    Gerrit Renker 提交于
    The problem with Ack Vectors is that 
    
      i) their length is variable and can in principle grow quite large,
     ii) it is hard to predict exactly how large they will be.
    
    Due to the second point it seems not a good idea to reduce the MPS; in
    particular when on average there is enough room for the Ack Vector and an
    increase in length is momentarily due to some burst loss, after which the
    Ack Vector returns to its normal/average length.
    
    The solution taken by this patch is to subtract a minimum-expected Ack Vector
    length from the MPS (previous patch), and to defer any larger Ack Vectors onto
    a separate Sync - but only if indeed there is no space left on the skb.
    
    This patch provides the infrastructure to schedule Sync-packets for transporting
    (urgent) out-of-band data. Its signalling is quicker than scheduling an Ack, since
    it does not need to wait for new application data.
    
    It can thus serve other parts of the DCCP code as well.
    Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
    c2f42077
output.c 18.4 KB