On Thu, 2010-10-21 at 17:15 +0200, Oliver Hartkopp wrote: > >> During message reception, I'd like to retrieve the indexes of the filters > >> that match the received frame. Is that possible? > >> Otherwise I've got to check in userspace... > > > > I don't think that's possible, but you can open a second socket and > > apply a different filter on each socket. > > ACK. > > The filters are completely independent. You can specify four identical filters > and will get the CAN frame four times when it matches. > > Using a switch statement is the usual approach to catch single CAN-IDs. > And - as Marc suggested - using different sockets and select() can be used > too.
Ok. Thanks. Due we've go 50+ filters to set I'm going to filter myself. cheers, Felix _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
