OpenGrok
Cross Reference: can_link.h
xref
: /
src
/
sys
/
netcan
/
can_link.h
Home
|
History
|
Annotate
|
Download
|
only in
netcan
History log of
/src/sys/netcan/can_link.h
Revision
Date
Author
Comments
1.2
27-May-2017
bouyer
branches: 1.2.6; 1.2.10;
merge the bouyer-socketcan branch to HEAD.
CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.
This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).
This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).
There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.
At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.
1.1
17-Apr-2017
bouyer
branches: 1.1.2;
file can_link.h was initially added on branch bouyer-socketcan.
1.1.2.2
18-Apr-2017
bouyer
Remove clt_clock_freq from user-supplied timing informations, it is defined
by the brp.
1.1.2.1
17-Apr-2017
bouyer
Add infranstructure to configure timings from userland on a can interface.
This uses the SIOCGDRVSPEC/SIOCSDRVSPEC ioctls.
Compile-tested only.
1.2.10.2
03-Dec-2017
jdolecek
update from HEAD
1.2.10.1
27-May-2017
jdolecek
file can_link.h was added on branch tls-maxphys on 2017-12-03 11:39:03 +0000
1.2.6.2
28-Aug-2017
skrll
Sync with HEAD
1.2.6.1
27-May-2017
skrll
file can_link.h was added on branch nick-nhusb on 2017-08-28 17:53:12 +0000
Indexes created Thu Oct 16 14:10:15 GMT 2025