Searched refs:TCP_METRIC_CWND (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/net/ipv4/ |
D | tcp_metrics.c | 110 val |= 1 << TCP_METRIC_CWND; in tcpm_suck_dst() 121 tm->tcpm_vals[TCP_METRIC_CWND] = dst_metric_raw(dst, RTAX_CWND); in tcpm_suck_dst() 395 if (!tcp_metric_locked(tm, TCP_METRIC_CWND)) { in tcp_update_metrics() 396 val = tcp_metric_get(tm, TCP_METRIC_CWND); in tcp_update_metrics() 398 tcp_metric_set(tm, TCP_METRIC_CWND, in tcp_update_metrics() 408 if (!tcp_metric_locked(tm, TCP_METRIC_CWND)) { in tcp_update_metrics() 409 val = tcp_metric_get(tm, TCP_METRIC_CWND); in tcp_update_metrics() 410 tcp_metric_set(tm, TCP_METRIC_CWND, (val + tp->snd_cwnd) >> 1); in tcp_update_metrics() 416 if (!tcp_metric_locked(tm, TCP_METRIC_CWND)) { in tcp_update_metrics() 417 val = tcp_metric_get(tm, TCP_METRIC_CWND); in tcp_update_metrics() [all …]
|
/Linux-v5.10/include/uapi/linux/ |
D | tcp_metrics.h | 18 TCP_METRIC_CWND, enumerator
|