lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <21FCA9FF-08FB-4C6F-B2C5-669E36A7748C@mac.com>
Date:	Wed, 16 May 2007 15:26:53 +0200
From:	Daniel Schaffrath <daniel.schaffrath@....com>
To:	Linux NetDev <netdev@...r.kernel.org>
Subject: Purpose of bit shifts in tcp_get_info

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;
[...]
         info->tcpi_rcv_rtt = jiffies_to_usecs(tp->rcv_rtt_est.rtt)>>3;

Maybe somebody has a hint for me?

Thanks a lot!
Daniel
  
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ