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
..
2010-10-21 04:26:39 -07:00
2010-09-23 14:33:39 -07:00
2010-10-12 12:44:53 -03:00
2010-10-21 04:26:38 -07:00
2010-10-12 06:57:43 +02:00
2010-09-23 14:33:39 -07:00
2010-09-23 14:33:39 -07:00
2010-06-03 03:21:52 -07:00
2010-09-23 14:33:39 -07:00
2010-09-21 18:04:47 -07:00
2010-04-20 16:37:13 -07:00
2010-09-23 14:33:39 -07:00
2010-09-22 13:35:51 -07:00
2010-10-21 03:09:46 -07:00
2010-10-21 03:09:42 -07:00