Im trying to get going with SocketCAN.
However, I want to have a extremely stable and functioning CAN backbone, and have something proven, that upon receiving a frame on "can0", will launch my script with that frame on the command line arguments or STDIN, and then my script can process that frame. (including, for example sending out packets on CAN interface or similiar).
Basically how Xinetd works.
However, trying to use Xinetd with SocketCAN seems not to be possible as Xinetd is IP-based and CAN doesn't use IP.
So how can I process packets fron can0 in a xinetd fashion?