summaryrefslogtreecommitdiff
path: root/plugins/profinet/packet-dcom-cba-acco.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-02-16 21:53:36 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-02-16 21:53:36 +0000
commitd6e22b2d9af05d36cede863c2476efda2b027608 (patch)
tree7adb349b21b3489b6fccb5fae7229b927a24df55 /plugins/profinet/packet-dcom-cba-acco.h
parent7214c88fa2d4af5d6e0ad53217906707b1f865cb (diff)
downloadwireshark-d6e22b2d9af05d36cede863c2476efda2b027608.tar.gz
major code cleanup:
- move dcom-cba and pn-rt files into profinet plugin (where they really belong) - move some common pn functionality into new packet-pn.c/h instead of having duplicate code svn path=/trunk/; revision=20825
Diffstat (limited to 'plugins/profinet/packet-dcom-cba-acco.h')
-rw-r--r--plugins/profinet/packet-dcom-cba-acco.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/plugins/profinet/packet-dcom-cba-acco.h b/plugins/profinet/packet-dcom-cba-acco.h
new file mode 100644
index 0000000000..d7d2438a0a
--- /dev/null
+++ b/plugins/profinet/packet-dcom-cba-acco.h
@@ -0,0 +1,78 @@
+/* packet-dcom-cba-acco.h
+ * Routines for DCOM CBA
+ *
+ * $Id$
+ *
+ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __PACKET_DCERPC_DCOM_CBA_ACCO_H
+#define __PACKET_DCERPC_DCOM_CBA_ACCO_H
+
+typedef struct cba_pdev_s {
+ GList *ldevs;
+ dcom_object_t *object;
+ gint first_packet;
+
+ const guint8 ip[4];
+} cba_pdev_t;
+
+typedef struct cba_ldev_s {
+ GList *provframes;
+ GList *consframes;
+ GList *provconns;
+ GList *consconns;
+ dcom_object_t *ldev_object;
+ dcom_object_t *acco_object;
+ cba_pdev_t *parent;
+ gint first_packet;
+
+ const char *name;
+} cba_ldev_t;
+
+
+extern GList *cba_pdevs;
+
+extern cba_pdev_t *
+cba_pdev_find(packet_info *pinfo, const char *ip, e_uuid_t *ipid);
+
+extern void
+cba_pdev_link(packet_info *pinfo, cba_pdev_t *pdev, dcom_interface_t *pdev_interf);
+
+extern cba_pdev_t *
+cba_pdev_add(packet_info *pinfo, const char *ip);
+
+extern void
+cba_ldev_link(packet_info *pinfo, cba_ldev_t *ldev, dcom_interface_t *ldev_interf);
+
+extern void
+cba_ldev_link_acco(packet_info *pinfo, cba_ldev_t *ldev, dcom_interface_t *acco_interf);
+
+extern cba_ldev_t *
+cba_ldev_find(packet_info *pinfo, const gchar *ip, e_uuid_t *ipid);
+
+extern cba_ldev_t *
+cba_ldev_add(packet_info *pinfo, cba_pdev_t *pdev, const char *name);
+
+
+/*int
+dissect_CBA_Connection_Data(tvbuff_t *tvb, packet_info *pinfo,
+ proto_tree *tree, cba_ldev_t *ldev, cba_frame_t *frame);*/
+
+#endif /* packet-dcerpc-dcom-cba-acco.h */