Fix the Frame Relay dissector to call subdissectors regardless of
[obnox/wireshark/wip.git] / packet-wtp.h
1 /* packet-wtp.h (c) 2000 Neil Hunter
2  * Based on original work by Ben Fowler
3  *
4  * Declarations for disassembly of WTP component of WAP traffic.
5  *
6  * $Id: packet-wtp.h,v 1.2 2000/11/04 07:39:16 guy Exp $
7  *
8  * Ethereal - Network traffic analyzer
9  * By Gerald Combs <gerald@zing.org>
10  * Copyright 1998 Gerald Combs
11  *
12  * 
13  * This program is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  * 
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  * 
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
26  *
27  *
28  */
29
30 #ifndef __PACKET_WTP_H__
31 #define __PACKET_WTP_H__
32
33 /* Implementation Status:
34  *
35  * All fixed headers decoded for non-concatenated PDUs.
36  *
37  * TODO:
38  *      Support for concatenated PDUs
39  *      Support for decoding TPIs in variable header
40  */
41
42 /* WTP PDU Types
43    See section 9.1 (p. 40) of spec-wtp-19990611.pdf
44 */
45
46 enum {
47         ERRONEOUS                       = -0x01,
48         NOT_ALLOWED                     = 0x00,
49         INVOKE                          = 0x01,
50         RESULT                          = 0x02,
51         ACK                                     = 0x03,
52         ABORT                           = 0x04,
53         SEGMENTED_INVOKE        = 0x05,
54         SEGMENTED_RESULT        = 0x06,
55         NEGATIVE_ACK            = 0x07
56 };
57
58 enum {
59         PROVIDER                        = 0x00,
60         USER                            = 0x01
61 };
62
63 #endif /* packet-wtp.h */