Linux-CAN / SocketCAN user space applications
 
 
 
 
Go to file
Oliver Hartkopp 1a2467ed29 candump: support new raw socket option to join the given CAN filters
The CAN_RAW socket can set multiple CAN identifier specific filters that lead
to multiple filters in the af_can.c filter processing. These filters are
indenpendent from each other which leads to logical OR'ed filters when applied.

This socket option joines the given CAN filters in the way that only CAN frames
are passed to user space that matched *all* given CAN filters. The semantic for
the applied filters is therefore changed to a logical AND.

This is useful especially when the filterset is a combination of filters where
the CAN_INV_FILTER flag is set in order to notch single CAN IDs or CAN ID
ranges from the incoming traffic.

Example:
	candump can0,100~7FF,200~7FF,400~7FF	(logical OR'ed filters)
	candump can0,100~7FF,200~7FF,400~7FF,J	(logical AND'ed filters)

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
2015-03-17 20:30:54 +01:00
config/m4 add autotools infrastructure 2010-04-19 12:12:18 +00:00
include/linux candump: support new raw socket option to join the given CAN filters 2015-03-17 20:30:54 +01:00
.gitignore gitignore: add isotpperf 2015-03-06 10:02:35 +01:00
Android.mk can-utils: added isotpperf tool for performance measurements 2015-02-04 10:17:38 +01:00
GNUmakefile.am configure: switch to new libtool-2.0 macro 2015-03-04 21:09:39 +01:00
Makefile can-utils: added isotpperf tool for performance measurements 2015-02-04 10:17:38 +01:00
asc2log.c janitorial: asc2log: properly close infile 2015-03-06 10:02:35 +01:00
autogen.sh do not use --symlink for autoreconf 2014-07-02 16:03:34 +02:00
bcmserver.c remove obsolete SVN ID tags 2012-11-14 20:57:16 +01:00
can-calc-bit-timing.c can-calc-bit-timing: add a proper GNU license agreement 2014-02-27 22:08:04 +01:00
canbusload.c canbusload: print bitstuffing mode when showing current time is enabled 2014-02-01 21:30:12 +01:00
candump.c candump: support new raw socket option to join the given CAN filters 2015-03-17 20:30:54 +01:00
canfdtest.c treewide: replace berlios contact email by linux-can@vger.kernel.org 2012-01-11 12:14:15 +01:00
canframelen.c canbusload: Fix worst-case frame length estimation 2014-01-30 16:23:32 +01:00
canframelen.h Add license to canframelen.h 2014-01-31 11:52:15 +01:00
cangen.c cangen: use long long in time computation for -g to support >2.1s 2013-02-07 13:57:49 +01:00
cangw.c cangw: add an option for the per rule limitation of frame hops 2013-09-04 20:30:34 +02:00
canlogserver.c can-utils: trivial: fix typos concerning "separation" and "useful" 2013-08-15 21:09:27 +02:00
canplayer.c remove obsolete SVN ID tags 2012-11-14 20:57:16 +01:00
cansend.c can-utils: trivial: fix typos concerning "separation" and "useful" 2013-08-15 21:09:27 +02:00
cansniffer.c cansniffer: increase resolution for timeout values 2014-06-24 21:36:55 +02:00
configure.ac autotools: define N_SLCAN, if not already declared 2015-03-08 18:39:19 +01:00
isotpdump.c isotp: fix printf warning on 32 bit systems 2015-03-03 08:29:36 +01:00
isotpperf.c isotp: fix printf warning on 32 bit systems 2015-03-03 08:29:36 +01:00
isotprecv.c isotp[send|recv]: change command line option for padding bytes 2014-11-20 23:13:37 +01:00
isotpsend.c isotp[send|recv]: change command line option for padding bytes 2014-11-20 23:13:37 +01:00
isotpserver.c isotp[server|tun]: update padding and CAN FD features 2014-11-23 12:15:57 +01:00
isotpsniffer.c isotp: added support for separate extended address in rx path 2014-11-16 20:38:31 +01:00
isotptun.c isotp[server|tun]: update padding and CAN FD features 2014-11-23 12:15:57 +01:00
lib.c lib: Update error messages according to new state change handling 2014-12-18 14:40:42 +01:00
lib.h can-utils: trivial: fix typos concerning "separation" and "useful" 2013-08-15 21:09:27 +02:00
log2asc.c janitorial: log2asc: properly close infile and outfile 2015-03-06 10:02:35 +01:00
log2long.c remove obsolete SVN ID tags 2012-11-14 20:57:16 +01:00
slcan_attach.c use line discipline number from linux/tty.h 2014-12-23 18:03:09 +01:00
slcand.c use line discipline number from linux/tty.h 2014-12-23 18:03:09 +01:00
slcanpty.c slcanpty: declare command buffer static 2014-01-16 16:31:50 +01:00
terminal.h remove obsolete SVN ID tags 2012-11-14 20:57:16 +01:00