Up to [cvs.NetBSD.org] / src / tests / net / can
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.2 / (download) - annotate - [select for diffs], Sat May 27 21:02:56 2017 UTC (6 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
HEAD
Changes since 1.1: +464 -0
lines
Diff to previous 1.1 (colored)
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.
Revision 1.1.2.4 / (download) - annotate - [select for diffs], Mon Apr 17 20:41:26 2017 UTC (7 years ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.1.2.3: +6 -9
lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Make it build from build.sh (fix warnings)
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sun Feb 5 12:18:20 2017 UTC (7 years, 2 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.1.2.2: +9 -37
lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)
Factor out creation of socket with CAN_RAW_RECV_OWN_MSGS
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Feb 5 12:03:23 2017 UTC (7 years, 2 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.1.2.1: +5 -47
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)
factor out socket bind to interface
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sun Feb 5 10:56:12 2017 UTC (7 years, 2 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.1: +537 -0
lines
Diff to previous 1.1 (colored)
Implement CAN_RAW_FILTER socket option, and add tests for it.
Revision 1.1, Sun Feb 5 10:56:12 2017 UTC (7 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
bouyer-socketcan-base1
Branch point for: bouyer-socketcan
FILE REMOVED
file t_canfilter.c was initially added on branch bouyer-socketcan.