epan/dissectors/pidl/samr/samr.cnf cnf_dissect_lsa_BinaryString => lsarpc_dissect_str...
[wireshark-sm.git] / epan / dissectors / packet-smpp.h
blob2642af39ffa32d4a82105651b0d71d25543ba75b
1 /* packet-smpp.h
2 * Routines for Short Message Peer to Peer dissection
3 * Copyright 2001, Tom Uijldert.
5 * Data Coding Scheme decoding for GSM (SMS and CBS),
6 * provided by Olivier Biot.
8 * Dissection of multiple SMPP PDUs within one packet
9 * provided by Chris Wilson.
11 * Refer to the AUTHORS file or the AUTHORS section in the man page
12 * for contacting the author(s) of this file.
14 * Wireshark - Network traffic analyzer
15 * By Gerald Combs <gerald@wireshark.org>
16 * Copyright 1998 Gerald Combs
18 * SPDX-License-Identifier: GPL-2.0-or-later
19 * ----------
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)
26 #ifndef __PACKET_SMPP_H_
27 #define __PACKET_SMPP_H_
29 #include "packet-gsm_sms.h"
31 typedef struct _smpp_data_t {
32 bool udhi;
33 unsigned encoding;
34 gsm_sms_udh_fields_t *udh_fields;
35 } smpp_data_t;
38 * Export dissection of some parameters
40 void smpp_handle_dcs(proto_tree *tree, tvbuff_t *tvb, int *offset, unsigned *encoding);
43 /* Tap Record */
44 typedef struct _smpp_tap_rec_t {
45 unsigned command_id;
46 unsigned command_status;
47 } smpp_tap_rec_t;
49 #endif