Lines Matching defs:rtt
45 u64 sum_rtt; /* sum of rtt's measured within last rtt */
46 u16 cnt_rtt; /* # of rtts measured within last rtt */
47 u32 base_rtt; /* min of all rtt in usec */
48 u32 max_rtt; /* max of all rtt in usec */
53 u8 rtt_above; /* average rtt has gone above threshold */
86 static void tcp_illinois_acked(struct sock *sk, u32 pkts_acked, s32 rtt)
92 /* dup ack, no rtt sample */
93 if (rtt < 0)
97 if (rtt > RTT_MAX)
98 rtt = RTT_MAX;
101 if (ca->base_rtt > rtt)
102 ca->base_rtt = rtt;
105 if (ca->max_rtt < rtt)
106 ca->max_rtt = rtt;
109 ca->sum_rtt += rtt;