Implementation of simulated CAN controller driver using SocketCAN on Linux. More...

Detailed Description

Implementation of simulated CAN controller driver using SocketCAN on Linux.

Files

file  can_params.h
 Default linux can config.
 
file  candev_linux.h
 Implementation of simulated CAN controller driver using SocketCAN on Linux.
 

Data Structures

struct  candev_conf
 Linux candev configuration. More...
 
struct  candev_linux
 The candev_linux struct. More...
 

Macros

#define CAN_MAX_SIZE_INTERFACE_NAME   (5)
 Maximum size of an interface name.
 
#define HAVE_CAN_CONF_T
 CAN device configuration type can_conf_t is redefined by native CAN.
 
#define CANDEV_LINUX_MAX_FILTERS_RX   (16)
 Max number of rx filters which can be set.
 
#define CANDEV_LINUX_DEFAULT_BITRATE   (500000)
 Default bitrate setup.
 
#define CANDEV_LINUX_DEFAULT_SPT   (875)
 Default sampling point setup.
 
#define HAVE_CAN_T
 CAN device type can_t is redefined by native CAN.
 

Typedefs

typedef struct candev_conf can_conf_t
 Linux candev configuration.
 
typedef struct candev_linux can_t
 The candev_linux struct.
 

Variables

can_conf_t candev_conf [CAN_DLL_NUMOF]
 Array containing socketCAN device names.