aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lbtrm.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-04-07 16:33:51 -0400
committerMichael Mann <mmann78@netscape.net>2014-04-07 23:28:46 +0000
commit2f4ca9c8d979029e7893f2843045f516e3d0b844 (patch)
tree8ab3b4690900c968884a899e3813cbc8ec44fbfa /epan/dissectors/packet-lbtrm.h
parent8c7fae2da22371ff06a35d1aab28837d2db5a8ff (diff)
Initial checkin of LBM aka 29West dissectors. See Bug 9718.
Change-Id: If8fcfe1971c8863f370e440f64c36eb7566f6852 Reviewed-on: https://code.wireshark.org/review/113 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-lbtrm.h')
-rw-r--r--epan/dissectors/packet-lbtrm.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/epan/dissectors/packet-lbtrm.h b/epan/dissectors/packet-lbtrm.h
new file mode 100644
index 0000000000..b9ab1d6acb
--- /dev/null
+++ b/epan/dissectors/packet-lbtrm.h
@@ -0,0 +1,71 @@
+/* packet-lbtrm.h
+ * Routines for LBT-RM Packet dissection
+ *
+ * Copyright (c) 2005-2014 Informatica Corporation. All Rights Reserved.
+ *
+ * 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_LBTRM_H_INCLUDED
+#define PACKET_LBTRM_H_INCLUDED
+
+#include "config.h"
+#include <glib.h>
+#include <epan/address.h>
+#include <epan/value_string.h>
+#include <epan/wmem/wmem.h>
+#include "packet-lbm.h"
+
+typedef struct
+{
+ address source_address;
+ guint16 source_port;
+ guint32 session_id;
+ address multicast_group;
+ guint16 dest_port;
+ guint64 channel;
+ wmem_tree_t * frame;
+ lbm_transport_frame_t * last_frame;
+ lbm_transport_frame_t * last_data_frame;
+ lbm_transport_frame_t * last_sm_frame;
+ lbm_transport_frame_t * last_nak_frame;
+ lbm_transport_frame_t * last_ncf_frame;
+ wmem_tree_t * data_sqn;
+ wmem_tree_t * sm_sqn;
+ guint32 data_high_sqn;
+ guint32 sm_high_sqn;
+} lbtrm_transport_t;
+
+lbtrm_transport_t * lbtrm_transport_add(const address * source_address, guint16 source_port, guint32 session_id, const address * multicast_group, guint16 dest_port, guint32 frame);
+char * lbtrm_transport_source_string(const address * source_address, guint16 source_port, guint32 session_id, const address * multicast_group, guint16 dest_port);
+
+#endif
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 4
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=4 expandtab:
+ * :indentSize=4:tabSize=4:noTabs=true:
+ */