[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101021.043233.123993885.davem@davemloft.net>
Date: Thu, 21 Oct 2010 04:32:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: socketcan@...tkopp.net
Cc: kurt.van.dijck@....be, netdev@...r.kernel.org,
socketcan-core@...ts.berlios.de
Subject: Re: [PATCH net-next-2.6] can-raw: add msg_flags to distinguish
local traffic
From: Oliver Hartkopp <socketcan@...tkopp.net>
Date: Tue, 19 Oct 2010 21:32:04 +0200
> 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@....be>
> Signed-off-by: Oliver Hartkopp <socketcan@...tkopp.net>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists