First of all, thanks for the quick reply. Now I'm sure that I'm missing something fundamental here :-)
The hardware-thing is, unfortunately, a little bit more complex. I have an EXTERNAL microprocessor with 5 CAN-interfaces. The idea is to provide these to the main CPU by means of sockets, so the usage is simple, transparent, and standardized for the user. The two CPUs communicate via SPI. So I need to write a module that handles transmit-requests (to a specific CAN-device using the respective socket, or ifindex as you mentioned), and sends some SPI message to the external CPU, which in turn controls the real CAN-hardware. The same applies for receiving messages, clearly the other way around. I will look into this ifindex-hint of yours, hopefully I figure out the rest by myself ;-) Thanks again, Markus -- View this message in context: http://old.nabble.com/Using-multiple-CAN-channels-tp26743673p26744500.html Sent from the Socket-CAN Users mailing list archive at Nabble.com. _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
