2004-11-02 01:19:23 +00:00
|
|
|
/* packet-gsm_map-template.h
|
|
|
|
* Routines for GSM MAP packet dissection
|
2006-03-30 16:46:36 +00:00
|
|
|
* Copyright 2004 - 2006, Anders Broman <anders.broman@ericsson.com>
|
2004-11-02 01:19:23 +00:00
|
|
|
*
|
2006-05-21 05:12:17 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2004-11-02 01:19:23 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2004-11-02 01:19:23 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PACKET_GSM_MAP_H
|
|
|
|
#define PACKET_GSM_MAP_H
|
|
|
|
|
2013-03-01 23:53:11 +00:00
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
|
2004-11-02 01:19:23 +00:00
|
|
|
/* Defines for the GSM MAP taps */
|
|
|
|
#define GSM_MAP_MAX_NUM_OPR_CODES 256
|
|
|
|
|
|
|
|
typedef struct _gsm_map_tap_rec_t {
|
|
|
|
gboolean invoke;
|
|
|
|
guint8 opr_code_idx;
|
|
|
|
guint16 size;
|
|
|
|
} gsm_map_tap_rec_t;
|
|
|
|
|
2008-03-19 19:11:33 +00:00
|
|
|
|
|
|
|
#define SMS_ENCODING_NOT_SET 0
|
|
|
|
#define SMS_ENCODING_7BIT 1
|
|
|
|
#define SMS_ENCODING_8BIT 2
|
|
|
|
#define SMS_ENCODING_UCS2 3
|
|
|
|
#define SMS_ENCODING_7BIT_LANG 4
|
|
|
|
#define SMS_ENCODING_UCS2_LANG 5
|
|
|
|
|
2013-03-01 23:53:11 +00:00
|
|
|
WS_DLL_PUBLIC const value_string gsm_map_opr_code_strings[];
|
2010-02-23 04:35:23 +00:00
|
|
|
const char* unpack_digits(tvbuff_t *tvb, int offset);
|
2004-11-02 01:19:23 +00:00
|
|
|
|
2005-08-03 20:51:54 +00:00
|
|
|
extern const value_string ssCode_vals[];
|
2006-01-20 19:41:31 +00:00
|
|
|
extern const value_string gsm_map_PDP_Type_Organisation_vals[];
|
|
|
|
extern const value_string gsm_map_ietf_defined_pdp_vals[];
|
|
|
|
extern const value_string gsm_map_etsi_defined_pdp_vals[];
|
2008-03-19 19:11:33 +00:00
|
|
|
|
2012-01-26 19:51:48 +00:00
|
|
|
guint8 dissect_cbs_data_coding_scheme(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint16 offset);
|
2009-01-15 20:55:24 +00:00
|
|
|
void dissect_gsm_map_msisdn(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree);
|
2008-03-19 19:11:33 +00:00
|
|
|
|
2005-07-26 20:04:16 +00:00
|
|
|
#include "packet-gsm_map-exp.h"
|
2004-11-02 01:19:23 +00:00
|
|
|
|
2008-03-19 19:11:33 +00:00
|
|
|
|
2004-11-02 01:19:23 +00:00
|
|
|
#endif /* PACKET_GSM_MAP_H */
|