Linux-CAN / SocketCAN user space applications
 
 
 
 
Go to file
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
Documentation add doxygen documentation 2009-12-08 15:54:53 +01:00
config rename library and API prefix 2009-11-27 11:53:45 +01:00
include Add interface to retrieve link statistics 2018-08-08 12:28:57 +02:00
src Add interface to retrieve link statistics 2018-08-08 12:28:57 +02:00
.gitignore rename library and API prefix 2009-11-27 11:53:45 +01:00
Doxyfile add doxygen documentation 2009-12-08 15:54:53 +01:00
GNUmakefile.am GNUmakefile: include LICENSE file in tarball 2014-03-24 10:33:34 +01:00
INSTALL add dist doc files 2009-12-15 10:16:01 +01:00
LICENSE libsocketcan: add LICENSE file 2012-11-28 13:11:14 +01:00
README README: typos and beautification 2014-01-16 17:51:26 +01:00
autogen.sh initial create libsocketcan-nl project 2009-11-20 16:13:02 +01:00
configure.ac configure: back to trunk 2014-03-24 10:33:34 +01:00

README

libsocketcan
-------------------------------------------------------------------------------
This library allows you to control some basic functions in SocketCAN from
userspace.

Dependencies:
-------------------------------------------------------------------------------
A recent kernel with integrated SocketCAN (at least 2.6.30)

Building:
-------------------------------------------------------------------------------
Please refer to the INSTALL file

Documentation:
-------------------------------------------------------------------------------
Make sure you have Doxygen installed on your host. If yes simply run:
make docs
and look for the API doc in Documentation/html.