aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-s7comm_szl_ids.h
diff options
context:
space:
mode:
authorThomas Wiens <th.wiens@gmx.de>2014-08-21 19:25:06 +0200
committerMichael Mann <mmann78@netscape.net>2014-09-04 12:55:45 +0000
commit1c1f187989e982a8172bb03542721c0cda6d9006 (patch)
tree84469630bc39a840d31f848140e012f232a150a1 /epan/dissectors/packet-s7comm_szl_ids.h
parent27d1b6addf2d63a7526c231495216484f18a6025 (diff)
s7comm: Add dissector for S7 Communication
S7 Communication is a Siemens proprietary protocol that runs between programmable logic controllers (PLC) of the Siemens S7-300/400 family. Dissector T.125 has to be disabled to let this dissector work. Change-Id: I578cf270a4ae567f8e20dbabec1ce1e13fc08e6e Reviewed-on: https://code.wireshark.org/review/3777 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-s7comm_szl_ids.h')
-rw-r--r--epan/dissectors/packet-s7comm_szl_ids.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/epan/dissectors/packet-s7comm_szl_ids.h b/epan/dissectors/packet-s7comm_szl_ids.h
new file mode 100644
index 0000000000..bc423efa58
--- /dev/null
+++ b/epan/dissectors/packet-s7comm_szl_ids.h
@@ -0,0 +1,44 @@
+/* packet-s7comm_szl_ids.h
+ *
+ * Author: Thomas Wiens, 2014 (th.wiens@gmx.de)
+ * Description: Wireshark dissector for S7-Communication
+ *
+ * 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_S7COMM_SZL_IDS_H__
+#define __PACKET_S7COMM_SZL_IDS_H__
+
+guint32 s7comm_decode_ud_cpu_szl_subfunc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *data_tree, guint8 type, guint8 ret_val, guint16 len, guint16 dlength, guint8 data_unit_ref, guint8 last_data_unit, guint32 offset);
+void s7comm_register_szl_types(int proto);
+
+#endif
+
+/*
+ * Editor modelines - http://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:
+ */