can-utils/include
Leo Ruan 9679a3f50a Add interface to retrieve link statistics
This commit adds an interface to get the statistics (64-bits) from
CAN interface. See more information from /usr/include/linux/if_link.h
where defines the struct rtnl_link_stats64.

Compare to the rtnl_link_stats, rtnl_link_stats64 was introduced
since linux kernel 2.6. After that the rtnl_link_stats is synchronous
with struct rtnl_link_stats64 by truncating each member from 64 bits
to 32 bits. Actually, the struct rtnl_link_stats is kept for
compatibility.

Signed-off-by: Leo Ruan <tingquan.ruan@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2018-08-08 12:28:57 +02:00
..
GNUmakefile.am fix header install 2010-02-14 17:25:33 +01:00
can_netlink.h Update CAN netlink header 2014-07-22 16:22:06 +02:00
libsocketcan.h Add interface to retrieve link statistics 2018-08-08 12:28:57 +02:00