I am working on Embedded linux based coldfire microprocessor. I need to do some CAN communication and I am using "can4linux" driver which contain can4linux.h header file to to do CAN controller initialization and communication. you can find the exact file here.