1
linux/net/can
Oliver Hartkopp 1e55659ce6 can-raw: add msg_flags to distinguish local traffic
CAN has no addressing scheme. It is currently impossible for userspace
to tell is a received CAN frame comes from another process on the local
host, or from a remote CAN device.

This patch add support for userspace applications to distinguish between
'own', 'local' and 'remote' CAN traffic. The distinction is made by returning
flags in msg->msg_flags in the call to recvmsg().

The added documentation explains the introduced flags.

Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-21 04:27:03 -07:00
..
af_can.c can: deny filterlist access on non-CAN interfaces 2010-02-02 07:21:34 -08:00
af_can.h can: Speed up CAN frame receiption by using ml_priv 2010-01-03 21:31:03 -08:00
bcm.c can: add limit for nframes and clean up signed/unsigned variables 2010-08-11 16:12:35 -07:00
Kconfig [CAN]: Add virtual CAN netdevice driver 2008-01-28 14:54:12 -08:00
Makefile [CAN]: Add broadcast manager (bcm) protocol 2008-01-28 14:54:11 -08:00
proc.c can: Speed up CAN frame receiption by using ml_priv 2010-01-03 21:31:03 -08:00
raw.c can-raw: add msg_flags to distinguish local traffic 2010-10-21 04:27:03 -07:00