CAN_RAW_RECV_OWN_MSGS and filters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I've been using a raw CAN socket with RECV_OWN_MSGS enabled to get a
transmission confirmation when a frame has been sent. Today when I
tried to enable filters to limit what I receive to only those frames
that I'm interested in I noticed that the filters also affected
reception of my own frames. So in order to receive all frames that I
send I must also add a filter that matches all frames that I send.

Is this the expected behavior? I can see why it works the way it does,
but I had expected that setting the RECV_OWN_MSGS flag would give me
all frames sent on the socket. Is there a way to get my expected
behavior without having to set a filter that matches all frames that I
plan to send?

// Erik



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux