]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/can.h
The inttypes.h file is now standard, use it where appropriate.
[lincan.git] / lincan / include / can.h
index 8a9368443a2c1dc404578dd98dfb3e28d4304681..8ff57ea558fcb1461eec9df2b6017fe7d503176c 100644 (file)
@@ -18,6 +18,7 @@
 
 #else /* __KERNEL__ */
 
+#include <inttypes.h>
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
@@ -77,6 +78,7 @@ struct can_baudparams_t {
 #define CANQUE_FILTER _IOW(CAN_IOC_MAGIC, 10, struct canfilt_t)
 #define CANQUE_FLUSH  _IO(CAN_IOC_MAGIC, 11)
 #define CONF_BAUDPARAMS  _IOW(CAN_IOC_MAGIC, 11, struct can_baudparams_t)
+#define CANRTR_READ  _IOWR(CAN_IOC_MAGIC, 12, struct canmsg_t)
 
 #ifdef __cplusplus
 } /* extern "C"*/