1 /* packet-gsm_map-template.h
2 * Routines for GSM MAP packet dissection
3 * Copyright 2004 - 2006, Anders Broman <anders.broman@ericsson.com>
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #ifndef PACKET_GSM_MAP_H
27 #define PACKET_GSM_MAP_H
29 /* Defines for the GSM MAP taps */
30 #define GSM_MAP_MAX_NUM_OPR_CODES 256
32 typedef struct _gsm_map_tap_rec_t {
39 #define SMS_ENCODING_NOT_SET 0
40 #define SMS_ENCODING_7BIT 1
41 #define SMS_ENCODING_8BIT 2
42 #define SMS_ENCODING_UCS2 3
43 #define SMS_ENCODING_7BIT_LANG 4
44 #define SMS_ENCODING_UCS2_LANG 5
46 WS_VAR_IMPORT const value_string gsm_map_opr_code_strings[];
47 const char* unpack_digits(tvbuff_t *tvb, int offset);
49 extern const value_string ssCode_vals[];
50 extern const value_string gsm_map_PDP_Type_Organisation_vals[];
51 extern const value_string gsm_map_ietf_defined_pdp_vals[];
52 extern const value_string gsm_map_etsi_defined_pdp_vals[];
54 guint8 dissect_cbs_data_coding_scheme(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint16 offset);
55 void dissect_gsm_map_msisdn(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree);
57 #include "packet-gsm_map-exp.h"
60 #endif /* PACKET_GSM_MAP_H */