summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2005-09-22 09:44:26 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2005-09-22 09:44:26 +0000
commitcae5b38f17a7a948409ff02de73db3c25d4fc7a7 (patch)
tree7c3087b745c5da5166ee92e82af5f3c635d42f23
parent7c9422f452bdaaea27211f6bb9d71f5111eb8ca5 (diff)
downloadcanutils-cae5b38f17a7a948409ff02de73db3c25d4fc7a7.tar.gz
add unsigned data tyes in payload
git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-1.0-trunk@43 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
-rw-r--r--include/socket-can/can.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/include/socket-can/can.h b/include/socket-can/can.h
index af72cf7..126caee 100644
--- a/include/socket-can/can.h
+++ b/include/socket-can/can.h
@@ -196,11 +196,15 @@ struct can_frame {
int can_id;
int can_dlc;
union {
- int64_t data_64;
- int32_t data_32[2];
- int16_t data_16[4];
- int8_t data_8[8];
- int8_t data[8]; /* shortcut */
+ int64_t data_64;
+ int32_t data_32[2];
+ int16_t data_16[4];
+ int8_t data_8[8];
+ u_int64_t data_u64;
+ u_int32_t data_u32[2];
+ u_int16_t data_u16[4];
+ u_int8_t data_u8[8];
+ int8_t data[8]; /* shortcut */
} payload;
};