summaryrefslogtreecommitdiffstats
path: root/scripts/gen_initramfs_list.sh
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2010-10-19 09:32:04 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-21 04:27:03 -0700
commit1e55659ce6ddb5247cee0b1f720d77a799902b85 (patch)
tree335e43324d5ad5e0979fb30e333cb1a4e1a47085 /scripts/gen_initramfs_list.sh
parent32a875adcdcf5f470bf967250cfd01722e23844f (diff)
downloadop-kernel-dev-1e55659ce6ddb5247cee0b1f720d77a799902b85.zip
op-kernel-dev-1e55659ce6ddb5247cee0b1f720d77a799902b85.tar.gz
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>
Diffstat (limited to 'scripts/gen_initramfs_list.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud