Searched refs:tcp_metric_set (Results 1 – 1 of 1) sorted by relevance
/net/ipv4/ |
D | tcp_metrics.c | 71 static void tcp_metric_set(struct tcp_metrics_block *tm, in tcp_metric_set() function 343 tcp_metric_set(tm, TCP_METRIC_RTT, 0); in tcp_update_metrics() 363 tcp_metric_set(tm, TCP_METRIC_RTT, rtt); in tcp_update_metrics() 383 tcp_metric_set(tm, TCP_METRIC_RTTVAR, var); in tcp_update_metrics() 391 tcp_metric_set(tm, TCP_METRIC_SSTHRESH, in tcp_update_metrics() 397 tcp_metric_set(tm, TCP_METRIC_CWND, in tcp_update_metrics() 404 tcp_metric_set(tm, TCP_METRIC_SSTHRESH, in tcp_update_metrics() 408 tcp_metric_set(tm, TCP_METRIC_CWND, (val + tp->snd_cwnd) >> 1); in tcp_update_metrics() 416 tcp_metric_set(tm, TCP_METRIC_CWND, in tcp_update_metrics() 422 tcp_metric_set(tm, TCP_METRIC_SSTHRESH, in tcp_update_metrics() [all …]
|