Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-wsp.h
1 /* packet-wsp.h
2  *
3  * Declarations for disassembly of WSP 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_WSP_H__
17 #define __PACKET_WSP_H__
18 
19 #include <epan/proto.h>
20 #include "ws_symbol_export.h"
21 
22 /* These reason codes are used in the WTP dissector as the WTP user is
23  * assumed to be WSP */
24 extern value_string_ext vals_wsp_reason_codes_ext;
25 
26 /*
27  * the following allows TAP code access to the messages
28  * without having to duplicate it. With MSVC and a
29  * libwireshark.dll, we need a special declaration.
30  */
31 WS_DLL_PUBLIC value_string_ext wsp_vals_pdu_type_ext;
32 WS_DLL_PUBLIC value_string_ext wsp_vals_status_ext;
33 /*
34  * exported functionality
35  */
36 void add_post_data (proto_tree *, tvbuff_t *, guint, const char *,
37  packet_info *);
38 guint32 add_content_type (proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb,
39  guint32 val_start,
40  guint32 *well_known_content, const char **textual_content);
41 
42 /* statistics */
43 typedef struct _wsp_info_value_t /* see README.tapping and tap-wspstat.c */
44 {
45  gint status_code;
46  guint8 pdut;
48 #endif /* packet-wsp.h */
Definition: packet_info.h:44
Definition: proto.h:904
Definition: value_string.h:170
Definition: packet-wsp.h:44
Definition: tvbuff-int.h:35