Fix up a bunch of arguments to "dissect_ber_identifier()" to match its
[obnox/wireshark/wip.git] / epan / dissectors / packet-rmt-norm.h
1 /* packet-rmt-norm.h
2  * Reliable Multicast Transport (RMT)
3  * NORM Protocol Instantiation function definitions
4  * Copyright 2005, Stefano Pettini <spettini@users.sourceforge.net>
5  *
6  * $Id$
7  *
8  * Ethereal - Network traffic analyzer
9  * By Gerald Combs <gerald@ethereal.com>
10  * Copyright 1998 Gerald Combs
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  * 
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  * 
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25  */
26  
27 #ifndef __PACKET_RMT_NORM__
28 #define __PACKET_RMT_NORM__
29
30 #include "packet-rmt-common.h"
31 #include "packet-rmt-fec.h"
32
33 /* Type definitions */
34 /* ================ */
35
36 /* Logical NORM packet representation */
37 struct _norm
38 {
39         guint8 version;
40         guint8 type;
41         guint8 hlen;
42         guint16 sequence;
43         guint32 source_id;
44         
45         struct _fec fec;
46 };
47
48 /* Ethereal stuff */
49 /* ============== */
50
51 /* NORM header field definitions*/
52 struct _norm_hf
53 {
54         int version;
55         int type;
56         int hlen;
57         int sequence;
58         int source_id;
59         
60         struct _fec_hf fec;
61         
62         int payload;
63 };
64
65 /* NORM subtrees */
66 struct _norm_ett
67 {
68         gint main;
69         
70         struct _fec_ett fec;
71 };
72
73 /* NORM preferences */
74 struct _norm_prefs
75 {
76         struct _fec_prefs fec;
77 };
78
79 /* Function declarations */
80 /* ===================== */
81
82 #endif