• David Howells's avatar
    rxrpc: Add per-peer RTT tracker · cf1a6474
    David Howells authored
    Add a function to track the average RTT for a peer.  Sources of RTT data
    will be added in subsequent patches.
    
    The RTT data will be useful in the future for determining resend timeouts
    and for handling the slow-start part of the Rx protocol.
    
    Also add a pair of tracepoints, one to log transmissions to elicit a
    response for RTT purposes and one to log responses that contribute RTT
    data.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    cf1a6474
rxrpc.h 10.9 KB