mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-17 09:18:38 +00:00
![]() Using a 32 bit field to represent time in nanoseconds results in a maximum value of about 4.3 seconds, which is well below many observed delays in WiFi and LTE, and barely in the ballpark for a trip past the Earth's moon, Luna. Using 64 bit time fields in nanoseconds allows us to simulate network diameters of several hundred light-years. However, only conversions to and from ns, us, ms, and seconds are provided. The iproute2 64 bit api uses signed values for time. Being able to represent positive or negative time allows us to calculate +/- deltas between, for example, the CLOCK_TAI and CLOCK_REALTIME clocks. Time related utility functions in tc_util.c are moved to lib/utils.c. Signed-off-by: Yousuk Seung <ysseung@google.com> Signed-off-by: Dave Taht <dave.taht@gmail.com> Signed-off-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: David Ahern <dsahern@gmail.com> |
||
---|---|---|
.. | ||
bpf.c | ||
color.c | ||
coverity_model.c | ||
dnet_ntop.c | ||
dnet_pton.c | ||
exec.c | ||
fs.c | ||
inet_proto.c | ||
ipx_ntop.c | ||
ipx_pton.c | ||
json_print.c | ||
json_writer.c | ||
libgenl.c | ||
libnetlink.c | ||
ll_addr.c | ||
ll_map.c | ||
ll_proto.c | ||
ll_types.c | ||
Makefile | ||
mpls_ntop.c | ||
mpls_pton.c | ||
names.c | ||
namespace.c | ||
rt_names.c | ||
utils.c |