Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-smpp.h
1 /* packet-smpp.h
2  * Routines for Short Message Peer to Peer dissection
3  * Copyright 2001, Tom Uijldert.
4  *
5  * Data Coding Scheme decoding for GSM (SMS and CBS),
6  * provided by Olivier Biot.
7  *
8  * Dissection of multiple SMPP PDUs within one packet
9  * provided by Chris Wilson.
10  *
11  * Refer to the AUTHORS file or the AUTHORS section in the man page
12  * for contacting the author(s) of this file.
13  *
14  * Wireshark - Network traffic analyzer
15  * By Gerald Combs <gerald@wireshark.org>
16  * Copyright 1998 Gerald Combs
17  *
18  * SPDX-License-Identifier: GPL-2.0-or-later
19  * ----------
20  *
21  * Dissector of an SMPP (Short Message Peer to Peer) PDU, as defined by the
22  * SMS forum (www.smsforum.net) in "SMPP protocol specification v3.4"
23  * (document version: 12-Oct-1999 Issue 1.2)
24  */
25 
26 #ifndef __PACKET_SMPP_H_
27 #define __PACKET_SMPP_H_
28 
29 #include "packet-gsm_sms.h"
30 
31 typedef struct _smpp_data_t {
32  gboolean udhi;
33  guint encoding;
34  gsm_sms_udh_fields_t *udh_fields;
35 } smpp_data_t;
36 
37 /*
38  * Export dissection of some parameters
39  */
40 void smpp_handle_dcs(proto_tree *tree, tvbuff_t *tvb, int *offset, guint *encoding);
41 
42 
43 /* Tap Record */
44 typedef struct _smpp_tap_rec_t {
45  guint command_id;
46  guint command_status;
48 
49 #endif
Definition: proto.h:904
Definition: packet-smpp.h:31
Definition: packet-smpp.h:44
Definition: packet-gsm_sms.h:29
Definition: tvbuff-int.h:35