]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/tcp.h
[TCP]: congestion control API pass RTT in microseconds
[linux-2.6-omap-h63xx.git] / include / net / tcp.h
index 8b404b1ef7c8ed7ba6025e8e7dab582105b0c1ae..c209361ab74a7ff00fe62da4b7b4a6a2ed1cb5eb 100644 (file)
@@ -660,7 +660,7 @@ struct tcp_congestion_ops {
        /* new value of cwnd after loss (optional) */
        u32  (*undo_cwnd)(struct sock *sk);
        /* hook for packet ack accounting (optional) */
-       void (*pkts_acked)(struct sock *sk, u32 num_acked, ktime_t last);
+       void (*pkts_acked)(struct sock *sk, u32 num_acked, s32 rtt_us);
        /* get info for inet_diag (optional) */
        void (*get_info)(struct sock *sk, u32 ext, struct sk_buff *skb);