remove incorrect bound check. the check can fail on legal packet, at the
[obnox/wireshark/wip.git] / packet-wap.h
1 /* packet-wap.h (c) 2000 Neil Hunter
2  * Based on original work by Ben Fowler
3  *
4  * Declarations for WAP packet disassembly
5  *
6  * $Id: packet-wap.h,v 1.1 2000/11/04 03:30:40 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_WAP_H__
31 #define __PACKET_WAP_H__
32
33 /* Port Numbers as per IANA */
34 /* < URL:http://www.isi.edu/in-notes/iana/assignments/port-numbers/ > */
35 #define UDP_PORT_WSP                    9200            /* wap-wsp                      */
36 #define UDP_PORT_WTP_WSP                9201            /* wap-wsp-wtp          */
37 #define UDP_PORT_WTLS_WSP               9202            /* wap-wsp-s            */
38 #define UDP_PORT_WTLS_WTP_WSP   9203            /* wap-wsp-wtp-s        */
39
40 #define HF_EMPTY        ( -1 )
41 #define ETT_EMPTY       ( -1 )
42
43 enum
44 {
45         bo_big_endian           = 0,
46         bo_little_endian        = 1
47 };
48
49 #endif /* packet-wap.h */