Re: Purpose of bit shifts in tcp_get_info

2007-05-18 Thread Herbert Xu
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 =

Purpose of bit shifts in tcp_get_info

2007-05-16 Thread Daniel Schaffrath
Dear Community, 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; [...]