Let's say I have several sockets, one BCM and many RAW.
I'm using the BCM one exclusively for the "timed send" feature, no RX
configured or done.
On the RAW sockets I listen for incoming messages, with some filters,
different from socket to socket and changing over time. I configure the
sockets with the "do not loopback" option, according to can.txt.

I have the loopback problem. What I send from the BCM socket, I receive
on the RAW sockets. I do not want loopback (legacy application, several
threads do different selects on different sockets and expect different
messages).

First, is this the expected behaviour? What I send from BCM is read on
RAW regardless of the loopback socket option?

Second, it seems to me that in the bcm.c code there are some occurences of
can_send(skb, 1). If I put there can_send(skb, 0), do I get the
behaviour I want (no loopback on the RAW sockets)?

Thanks,
Daniele

-- 
Daniele Venzano
http://www.brownhat.org

_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to