| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-wtp.h
1/* packet-wtp.h
2 *
3 * Declarations for disassembly of WTP component of WAP traffic.
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * WAP dissector based on original work by Ben Fowler
10 * Updated by Neil Hunter <neil.hunter@energis-squared.com>
11 * WTLS support by Alexandre P. Ferreira (Splice IP)
12 *
13 * SPDX-License-Identifier: GPL-2.0-or-later
14 */
15
16#ifndef __PACKET_WTP_H__
17#define __PACKET_WTP_H__
18
19/* Implementation Status:
20 *
21 * All fixed headers decoded for non-concatenated PDUs.
22 *
23 * TODO:
24 * Support for concatenated PDUs
25 * Support for decoding TPIs in variable header
26 */
27
28/* WTP PDU Types
29 See section 9.1 (p. 40) of spec-wtp-19990611.pdf
30*/
31
32 enum {
33 ERRONEOUS = -0x01,
34 NOT_ALLOWED = 0x00,
35 INVOKE = 0x01,
36 RESULT = 0x02,
37 ACK = 0x03,
38 ABORT = 0x04,
39 SEGMENTED_INVOKE = 0x05,
40 SEGMENTED_RESULT = 0x06,
41 NEGATIVE_ACK = 0x07
42};
43
44 enum {
45 PROVIDER = 0x00,
46 USER = 0x01
47};
48
49#endif /* packet-wtp.h */