nico@207: nico@207:
nico@207:#include <sys/time.h>
#include <sys/types.h>
nico@207: Go to the source code of this file.
Data Structures | |
struct | canmsg_t |
struct | canfilt_t |
Defines | |
#define | CAN_MSG_VERSION_2 |
#define | CAN_MSG_LENGTH 8 |
#define | MSG_RTR (1<<0) |
#define | MSG_OVR (1<<1) |
#define | MSG_EXT (1<<2) |
#define | MSG_LOCAL (1<<3) |
#define | MSG_FILT_MASK_SHIFT 8 |
#define | MSG_RTR_MASK (MSG_RTR<<MSG_FILT_MASK_SHIFT) |
#define | MSG_EXT_MASK (MSG_EXT<<MSG_FILT_MASK_SHIFT) |
#define | MSG_LOCAL_MASK (MSG_LOCAL<<MSG_FILT_MASK_SHIFT) |
#define | MSG_PROCESSLOCAL (MSG_OVR<<MSG_FILT_MASK_SHIFT) |
#define | MSG_ID_MASK ((1l<<29)-1) |
Typedefs | |
typedef timeval | canmsg_tstamp_t |
typedef unsigned long | canmsg_id_t |
typedef canmsg_t | canmsg_t |
typedef canfilt_t | canfilt_t |
#define CAN_MSG_LENGTH 8 | nico@207:
#define CAN_MSG_VERSION_2 | nico@207:
#define MSG_EXT (1<<2) | nico@207:
#define MSG_EXT_MASK (MSG_EXT<<MSG_FILT_MASK_SHIFT) | nico@207:
#define MSG_FILT_MASK_SHIFT 8 | nico@207:
#define MSG_ID_MASK ((1l<<29)-1) | nico@207:
#define MSG_LOCAL (1<<3) | nico@207:
#define MSG_LOCAL_MASK (MSG_LOCAL<<MSG_FILT_MASK_SHIFT) | nico@207:
#define MSG_OVR (1<<1) | nico@207:
#define MSG_PROCESSLOCAL (MSG_OVR<<MSG_FILT_MASK_SHIFT) | nico@207:
#define MSG_RTR (1<<0) | nico@207:
#define MSG_RTR_MASK (MSG_RTR<<MSG_FILT_MASK_SHIFT) | nico@207:
nico@207:
typedef unsigned long canmsg_id_t | nico@207:
typedef struct timeval canmsg_tstamp_t | nico@207:
nico@207: