can-utils/include/linux/can
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
..
bcm.h include: import copyright information from the kernel 2014-01-23 14:22:43 +01:00
error.h include: import copyright information from the kernel 2014-01-23 14:22:43 +01:00
gw.h include: import copyright information from the kernel 2014-01-23 14:22:43 +01:00
isotp.h isotp: add tool support for ISO 15765-2:2015 with CAN FD 2014-11-16 22:24:04 +01:00
netlink.h include: import copyright information from the kernel 2014-01-23 14:22:43 +01:00
raw.h candump: support new raw socket option to join the given CAN filters 2015-03-17 20:30:54 +01:00