aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-socketcan.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-socketcan.h')
-rw-r--r--epan/dissectors/packet-socketcan.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-socketcan.h b/epan/dissectors/packet-socketcan.h
index 64757cab64..4947d58ff8 100644
--- a/epan/dissectors/packet-socketcan.h
+++ b/epan/dissectors/packet-socketcan.h
@@ -30,6 +30,9 @@ struct can_identifier
typedef struct can_identifier can_identifier_t;
+#define CAN_EFF_MASK 0x1FFFFFFF /* extended frame format (EFF) has a 29 bit identifier */
+#define CAN_SFF_MASK 0x000007FF /* standard frame format (SFF) has a 11 bit identifier */
+
#endif /* __PACKET_SOCKETCAN_H__ */
/*