Dummy_CAN_DuT
|
#include <linux/can.h>
Go to the source code of this file.
Functions | |
int | setupSocket (int *socketFD, struct sockaddr_can *addr) |
int setupSocket | ( | int * | socketFD, |
struct sockaddr_can * | addr | ||
) |
Creates and binds a CAN/CANFD socket on an interface. Support for CANFD frames can be enabled if needed.
socketFD | - Storage for the created socket descriptor. |
addr | - Storage for the sockaddr_can of the socket. |