Lines Matching refs:metrics
713 /* Save metrics learned by this TCP session.
738 dst->metrics[RTAX_RTT - 1] = 0;
780 dst->metrics[RTAX_SSTHRESH-1] = tp->snd_cwnd >> 1;
783 dst->metrics[RTAX_CWND - 1] = tp->snd_cwnd;
788 dst->metrics[RTAX_SSTHRESH-1] =
791 dst->metrics[RTAX_CWND-1] = (dst_metric(dst, RTAX_CWND) + tp->snd_cwnd) >> 1;
797 dst->metrics[RTAX_CWND-1] = (dst_metric(dst, RTAX_CWND) + tp->snd_ssthresh) >> 1;
801 dst->metrics[RTAX_SSTHRESH-1] = tp->snd_ssthresh;
807 dst->metrics[RTAX_REORDERING-1] = tp->reordering;
875 /* Initialize metrics on socket. */
5572 /* Make sure socket is routed, for correct metrics. */
5799 * correct metrics.