1 /* packet-wsp.h (c) 2000 Neil Hunter
2 * Based on original work by Ben Fowler
4 * Declarations for disassembly of WSP component of WAP traffic.
6 * $Id: packet-wsp.h,v 1.2 2001/01/03 08:42:48 guy Exp $
8 * Ethereal - Network traffic analyzer
9 * By Gerald Combs <gerald@zing.org>
10 * Copyright 1998 Gerald Combs
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.
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.
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.
30 #ifndef __PACKET_WSP_H__
31 #define __PACKET_WSP_H__
33 /* Implementation Status:
36 * Some headers decoded.
40 * Remaining headers (perhaps a place holder for those yet to be implemented)
41 * Decoding of WMLC content
45 /* Reason codes also used in WTP dissector as we assume WSP is the user */
46 static const value_string vals_wsp_reason_codes[] = {
47 { 0xE0, "Protocol Error (Illegal PDU)" },
48 { 0xE1, "Session disconnected" },
49 { 0xE2, "Session suspended" },
50 { 0xE3, "Session resumed" },
51 { 0xE4, "Peer congested" },
52 { 0xE5, "Session connect failed" },
53 { 0xE6, "Maximum receive unit size exceeded" },
54 { 0xE7, "Maximum outstanding requests exceeded" },
55 { 0xE8, "Peer request" },
56 { 0xE9, "Network error" },
57 { 0xEA, "User request" },
58 { 0xEB, "No specific cause, no retries" },
59 { 0xEC, "Push message cannot be delivered" },
60 { 0xED, "Push message discarded" },
61 { 0xEE, "Content type cannot be processed" },
64 #endif /* packet-wsp.h */