Minor cleanup
[metze/wireshark/wip.git] / epan / dissectors / packet-lbtrm.h
1 /* packet-lbtrm.h
2  * Routines for LBT-RM Packet dissection
3  *
4  * Copyright (c) 2005-2014 Informatica Corporation. All Rights Reserved.
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23  */
24
25 #ifndef PACKET_LBTRM_H_INCLUDED
26 #define PACKET_LBTRM_H_INCLUDED
27
28 typedef struct
29 {
30     address source_address;
31     guint16 source_port;
32     guint32 session_id;
33     address multicast_group;
34     guint16 dest_port;
35     guint64 channel;
36     wmem_tree_t * frame;
37     lbm_transport_frame_t * last_frame;
38     lbm_transport_frame_t * last_data_frame;
39     lbm_transport_frame_t * last_sm_frame;
40     lbm_transport_frame_t * last_nak_frame;
41     lbm_transport_frame_t * last_ncf_frame;
42     wmem_tree_t * data_sqn;
43     wmem_tree_t * sm_sqn;
44     guint32 data_high_sqn;
45     guint32 sm_high_sqn;
46 } lbtrm_transport_t;
47
48 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);
49 char * lbtrm_transport_source_string(const address * source_address, guint16 source_port, guint32 session_id, const address * multicast_group, guint16 dest_port);
50
51 #endif
52
53 /*
54  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
55  *
56  * Local variables:
57  * c-basic-offset: 4
58  * tab-width: 4
59  * indent-tabs-mode: nil
60  * End:
61  *
62  * vi: set shiftwidth=4 tabstop=4 expandtab:
63  * :indentSize=4:tabSize=4:noTabs=true:
64  */