fe219637a6
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a Reviewed-on: https://code.wireshark.org/review/25756 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
49 lines
1.4 KiB
C
49 lines
1.4 KiB
C
/* 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 *, guint, const char *,
|
|
packet_info *);
|
|
guint32 add_content_type (proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb,
|
|
guint32 val_start,
|
|
guint32 *well_known_content, const char **textual_content);
|
|
|
|
/* statistics */
|
|
typedef struct _wsp_info_value_t /* see README.tapping and tap-wspstat.c */
|
|
{
|
|
gint status_code;
|
|
guint8 pdut;
|
|
} wsp_info_value_t;
|
|
#endif /* packet-wsp.h */
|