alistair23-linux/include/uapi/linux/can
Oliver Hartkopp a5581ef4c2 can: introduce 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.

As the raw_rcv() function is executed from NET_RX softirq the introduced
variables are implemented as per-CPU variables to avoid extensive locking at
CAN frame reception time.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-04-01 11:28:22 +02:00
..
bcm.h can: unify identifiers to ensure unique include processing 2014-05-19 09:38:24 +02:00
error.h can: dev: Consolidate and unify state change handling 2014-12-07 21:22:09 +01:00
gw.h can: unify identifiers to ensure unique include processing 2014-05-19 09:38:24 +02:00
Kbuild UAPI: (Scripted) Disintegrate include/linux/can 2012-10-10 22:24:21 +02:00
netlink.h can: m_can: tag current CAN FD controllers as non-ISO 2015-01-15 16:57:59 +01:00
raw.h can: introduce new raw socket option to join the given CAN filters 2015-04-01 11:28:22 +02:00