aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iso15765.h
diff options
context:
space:
mode:
authorDr. Lars Völker <lars.voelker@technica-engineering.de>2021-07-14 10:34:15 +0200
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-07-14 09:31:06 +0000
commit95dc4f52bc6bbd1a4608e7ba81ccc0c1fa48f7ba (patch)
tree3472ea659400e262402d7fd70f9fcfe851cf1119 /epan/dissectors/packet-iso15765.h
parentcc36b7413932350cd7bfa90396f3d6b5321af5fb (diff)
LIN: Adding support for LIN dissection
This patch adds support for LIN (Local Interconnect Network) as well as support for: - Signal PDUs on LIN - ISO 15765 (ISO TP) on LIN - TECMP transported LIN is handle like LIN LIN is a simple automotive fieldbus to connect for example simple sensors and actuators to an electronic control unit.
Diffstat (limited to 'epan/dissectors/packet-iso15765.h')
-rw-r--r--epan/dissectors/packet-iso15765.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/epan/dissectors/packet-iso15765.h b/epan/dissectors/packet-iso15765.h
new file mode 100644
index 0000000000..02f8592180
--- /dev/null
+++ b/epan/dissectors/packet-iso15765.h
@@ -0,0 +1,39 @@
+/* packet-iso15765.h
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef __PACKET_ISO15765_H__
+#define __PACKET_ISO15765_H__
+
+#define ISO15765_TYPE_NONE 0
+#define ISO15765_TYPE_CAN 1
+#define ISO15765_TYPE_CAN_FD 2
+#define ISO15765_TYPE_LIN 3
+
+struct iso15765_info {
+ guint32 bus_type;
+ guint32 id;
+ guint32 len;
+};
+
+typedef struct iso15765_info iso15765_info_t;
+
+#endif /* __PACKET_ISO15765_H__ */
+
+/*
+ * Editor modelines - https://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */