aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-socketcan.h
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2017-05-06 11:35:23 +0200
committerMichael Mann <mmann78@netscape.net>2017-05-06 15:56:40 +0000
commit753d6f66679430a61af87e7f77d14950bb2f726e (patch)
treedd000cdcc3e74bfe97ac4d3c495fc7bad35f6161 /epan/dissectors/packet-socketcan.h
parent6364e44fb0de823a6c55225bf52f5daf54f70097 (diff)
can: remove duplicated can_identifier struct.
Change-Id: Ib6f0bcd1bec9a1fc5cbcd797a1f418270ae74a0e Reviewed-on: https://code.wireshark.org/review/21537 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-socketcan.h')
-rw-r--r--epan/dissectors/packet-socketcan.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/epan/dissectors/packet-socketcan.h b/epan/dissectors/packet-socketcan.h
new file mode 100644
index 0000000000..64757cab64
--- /dev/null
+++ b/epan/dissectors/packet-socketcan.h
@@ -0,0 +1,46 @@
+/* packet-socketcan.h
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef __PACKET_SOCKETCAN_H__
+#define __PACKET_SOCKETCAN_H__
+
+/* Structure that gets passed between dissectors. */
+struct can_identifier
+{
+ guint32 id;
+};
+
+typedef struct can_identifier can_identifier_t;
+
+#endif /* __PACKET_SOCKETCAN_H__ */
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 8
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * End:
+ *
+ * vi: set shiftwidth=8 tabstop=8 noexpandtab:
+ * :indentSize=8:tabSize=8:noTabs=false:
+ */