]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ifstat: support 64 interface stats
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 29 Feb 2024 04:37:28 +0000 (20:37 -0800)
committerDavid Ahern <dsahern@kernel.org>
Wed, 6 Mar 2024 16:20:49 +0000 (16:20 +0000)
commit2558ab97c0c5ad8635a0db963a654cbfec65d924
tree8a573e859d50b5ed12153e10584ec4593bfeb86a
parentb69e1e0445ab3cf2a90738317507a29a483c26b3
ifstat: support 64 interface stats

The 32 bit statistics are problematic since 32 bit value can
easily wraparound at high speed. Use 64 bit stats if available.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
misc/ifstat.c