blob: 65109de2649f0d8f586b6ffbd992679cd4744318 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
/* packet-wsp.h
*
* Declarations for disassembly of WSP component of WAP traffic.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* WAP dissector based on original work by Ben Fowler
* Updated by Neil Hunter <neil.hunter@energis-squared.com>
* WTLS support by Alexandre P. Ferreira (Splice IP)
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __PACKET_WSP_H__
#define __PACKET_WSP_H__
#include <epan/proto.h>
#include "ws_symbol_export.h"
/* These reason codes are used in the WTP dissector as the WTP user is
* assumed to be WSP */
extern value_string_ext vals_wsp_reason_codes_ext;
/*
* the following allows TAP code access to the messages
* without having to duplicate it. With MSVC and a
* libwireshark.dll, we need a special declaration.
*/
WS_DLL_PUBLIC value_string_ext wsp_vals_pdu_type_ext;
WS_DLL_PUBLIC value_string_ext wsp_vals_status_ext;
/*
* exported functionality
*/
void add_post_data (proto_tree *, tvbuff_t *, unsigned, const char *,
packet_info *);
uint32_t add_content_type (proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb,
uint32_t val_start,
uint32_t *well_known_content, const char **textual_content);
/* statistics */
typedef struct _wsp_info_value_t /* see README.tapping and tap-wspstat.c */
{
int status_code;
uint8_t pdut;
} wsp_info_value_t;
#endif /* packet-wsp.h */
|