SIM_INTERFACE(can_link) { can_status_t (*send)(conf_object_t *obj, can_frame_t *frame); }; #define CAN_LINK_INTERFACE "can_link"
The can_link
interface is implemented by can-endpoint.
The send function is called by CAN controller to pass CAN frame
to the connected can-endpoint. Then can-link delivers the CAN frame to other
can-endpoints.