iproute2/lib
Gerrit Renker fca1dae821 iproute: fix unit conversion of rtt/rttvar/rto_min
Since July 2008 (2.6.27, c1e20f7c8b9), the kernel stores the values for
RTAX_{RTT{,VAR},RTO_MIN} in milliseconds. When using a kernel > 2.6.27 with
the current iproute2, conversion of these values is broken in either way.

This patch
 * updates the code to pass and retrieve milliseconds;
 * since values < 1msec would be rounded up, also drops the usec/nsec variants;
 * since there is no way to query kernel HZ, also drops the jiffies variant.

Arguments such as
	rtt		3.23sec
	rto_min		0xff
	rto_min		0.200s
	rttvar		25ms
now all work as expected when reading back previously set values.
2011-03-17 10:01:09 -07:00
..
Makefile iproute2: use -fPIC in lib/ 2009-12-01 16:17:59 -08:00
dnet_ntop.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
dnet_pton.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
inet_proto.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
ipx_ntop.c Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ipx_pton.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
libnetlink.c iproute2: Fix filtering related to flushing IP addresses. 2010-08-23 08:10:32 -07:00
ll_addr.c iproute2: Format IPv6 tunnels endpoints nicely. 2007-06-19 16:29:05 -07:00
ll_map.c Cleanup ll_map 2010-12-10 11:58:09 -08:00
ll_proto.c Add support Controller Area Network 2009-03-27 11:21:29 -07:00
ll_types.c Update ARP header type table 2010-07-23 13:12:12 -07:00
rt_names.c Add DHCP as routing protocol 2009-03-18 13:33:12 -07:00
utils.c iproute: fix unit conversion of rtt/rttvar/rto_min 2011-03-17 10:01:09 -07:00