Daniel Schaffrath <[EMAIL PROTECTED]> wrote:
> 
> I was wondering what the purpose of the bit shifts in tcp_get_info  
> right after the jiffies conversion might be. What's the time unit  
> after that shift?
> 
>         info->tcpi_rtt = jiffies_to_usecs(tp->srtt)>>3;
>         info->tcpi_rttvar = jiffies_to_usecs(tp->mdev)>>2;
> [...]
>         info->tcpi_rcv_rtt = jiffies_to_usecs(tp->rcv_rtt_est.rtt)>>3;
> 
> Maybe somebody has a hint for me?

Checkout the comment in tcp_rtt_estimator() in net/ipv4/tcp_input.c.
It's commented in the actual struct too for srtt at least.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to