On Wed, Sep 22, 2010 at 04:16:50PM +0200, [email protected] wrote: > Hello Kurt, > > > For self-received messages, the originating socket (sk_buff->sk) is > > set. I think it's only accessible in kernel. Using this would IMO > > avoid adding code in difficult places, and limit such feature to > > adding code in easy places. More exactly, self-received messages originating from a socket have this member set. It is possible from kernelspace to inject CAN messages without any socket, but I guess that's beyond scope. > > Hmm, the sk_buff->sk for the message is like motherland for the > person? > So the self-reception messages are the "fellow citizens" and the > rest are foreigners? 8) Put like that, self-reception messages have their passport (different sockets in the system ~ different countries ...), and messages not originating on the system, but received from outside, well, they're alien, they come from somewhere undefined and have no passport :-)
Regards, Kurt _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
