aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lbtru.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-lbtru.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-lbtru.h')
-rw-r--r--epan/dissectors/packet-lbtru.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/epan/dissectors/packet-lbtru.h b/epan/dissectors/packet-lbtru.h
new file mode 100644
index 0000000000..e469d4a059
--- /dev/null
+++ b/epan/dissectors/packet-lbtru.h
@@ -0,0 +1,82 @@
+/* packet-lbtru.h
+ * Routines for LBT-RU 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_LBTRU_H_INCLUDED
+#define PACKET_LBTRU_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;
+ guint64 channel;
+ guint32 next_client_id;
+ wmem_list_t * client_list;
+} lbtru_transport_t;
+
+typedef struct
+{
+ address receiver_address;
+ guint16 receiver_port;
+ guint32 id;
+ lbtru_transport_t * transport;
+ 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;
+ lbm_transport_frame_t * last_ack_frame;
+ lbm_transport_frame_t * last_creq_frame;
+ lbm_transport_frame_t * last_rst_frame;
+ wmem_tree_t * data_sqn;
+ wmem_tree_t * sm_sqn;
+ guint32 data_high_sqn;
+ guint32 sm_high_sqn;
+} lbtru_client_transport_t;
+
+lbtru_transport_t * lbtru_transport_add(const address * source_address, guint16 source_port, guint32 session_id, guint32 frame);
+char * lbtru_transport_source_string(const address * source_address, guint16 source_port, guint32 session_id);
+
+#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:
+ */