Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
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 <[email protected]>
7 * Copyright 1998 Gerald Combs
8 *
9 * WAP dissector based on original work by Ben Fowler
10 * Updated by Neil Hunter <[email protected]>
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 */
24extern 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 */
31WS_DLL_PUBLIC value_string_ext wsp_vals_pdu_type_ext;
32WS_DLL_PUBLIC value_string_ext wsp_vals_status_ext;
33/*
34 * exported functionality
35 */
36void add_post_data (proto_tree *, tvbuff_t *, unsigned, const char *,
37 packet_info *);
38uint32_t add_content_type (proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb,
39 uint32_t val_start,
40 uint32_t *well_known_content, const char **textual_content);
41
42/* statistics */
43typedef struct _wsp_info_value_t /* see README.tapping and tap-wspstat.c */
44{
45 int status_code;
46 uint8_t pdut;
48#endif /* packet-wsp.h */
Definition packet_info.h:43
Definition proto.h:901
Definition value_string.h:169
Definition packet-wsp.h:44
Definition tvbuff-int.h:35