Lines Matching refs:tcp_metric_set
74 static void tcp_metric_set(struct tcp_metrics_block *tm, in tcp_metric_set() function
122 tcp_metric_set(tm, TCP_METRIC_RTT, msval * USEC_PER_MSEC); in tcpm_suck_dst()
125 tcp_metric_set(tm, TCP_METRIC_RTTVAR, msval * USEC_PER_MSEC); in tcpm_suck_dst()
126 tcp_metric_set(tm, TCP_METRIC_SSTHRESH, in tcpm_suck_dst()
128 tcp_metric_set(tm, TCP_METRIC_CWND, in tcpm_suck_dst()
130 tcp_metric_set(tm, TCP_METRIC_REORDERING, in tcpm_suck_dst()
363 tcp_metric_set(tm, TCP_METRIC_RTT, 0); in tcp_update_metrics()
383 tcp_metric_set(tm, TCP_METRIC_RTT, rtt); in tcp_update_metrics()
403 tcp_metric_set(tm, TCP_METRIC_RTTVAR, var); in tcp_update_metrics()
412 tcp_metric_set(tm, TCP_METRIC_SSTHRESH, in tcp_update_metrics()
418 tcp_metric_set(tm, TCP_METRIC_CWND, in tcp_update_metrics()
426 tcp_metric_set(tm, TCP_METRIC_SSTHRESH, in tcp_update_metrics()
430 tcp_metric_set(tm, TCP_METRIC_CWND, (val + tcp_snd_cwnd(tp)) >> 1); in tcp_update_metrics()
438 tcp_metric_set(tm, TCP_METRIC_CWND, in tcp_update_metrics()
445 tcp_metric_set(tm, TCP_METRIC_SSTHRESH, in tcp_update_metrics()
453 tcp_metric_set(tm, TCP_METRIC_REORDERING, in tcp_update_metrics()