Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-gsm_map-template.h
1 /* packet-gsm_map-template.h
2 * Routines for GSM MAP packet dissection
3 * Copyright 2004 - 2006, Anders Broman <anders.broman@ericsson.com>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12 #ifndef PACKET_GSM_MAP_H
13 #define PACKET_GSM_MAP_H
14
15 #include "ws_symbol_export.h"
16
17 /* Defines for the GSM MAP taps */
18 #define GSM_MAP_MAX_NUM_OPR_CODES 256
19
20 typedef struct _gsm_map_tap_rec_t {
21 gboolean invoke;
22 guint32 opcode;
23 guint16 size;
24 } gsm_map_tap_rec_t;
25
26
27 #define SMS_ENCODING_NOT_SET 0
28 #define SMS_ENCODING_7BIT 1
29 #define SMS_ENCODING_8BIT 2
30 #define SMS_ENCODING_UCS2 3
31 #define SMS_ENCODING_7BIT_LANG 4
32 #define SMS_ENCODING_UCS2_LANG 5
33
34 WS_DLL_PUBLIC const value_string gsm_map_opr_code_strings[];
35
36 extern const value_string ssCode_vals[];
37 extern const value_string gsm_map_PDP_Type_Organisation_vals[];
38 extern const value_string gsm_map_ietf_defined_pdp_vals[];
39 extern const value_string gsm_map_etsi_defined_pdp_vals[];
40
41 guint8 dissect_cbs_data_coding_scheme(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint16 offset);
42 void dissect_gsm_map_msisdn(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree);
43
44 typedef enum {
45 GSM_MAP_SM_RP_OA_NO_ID = 0,
46 GSM_MAP_SM_RP_OA_MSISDN,
47 GSM_MAP_SM_RP_OA_SERVICE_CENTER_ADDRESS
48 } gsm_map_sm_rp_oa_id;
49
50 typedef enum {
51 GSM_MAP_SM_RP_DA_NO_ID = 0,
52 GSM_MAP_SM_RP_DA_IMSI,
53 GSM_MAP_SM_RP_DA_LMSI,
54 GSM_MAP_SM_RP_DA_SERVICE_CENTER_ADDRESS
55 } gsm_map_sm_rp_da_id;
56
57 /* structure accessible via p_get_proto_data(wmem_file_scope(), pinfo, proto_gsm_map, 0) */
58 typedef struct {
59 gsm_map_sm_rp_oa_id sm_rp_oa_id;
60 const gchar *sm_rp_oa_str;
61 gsm_map_sm_rp_da_id sm_rp_da_id;
62 const gchar *sm_rp_da_str;
63 guint32 tcap_src_tid;
64 } gsm_map_packet_info_t;
65
66 #include "packet-gsm_map-exp.h"
67
68
69 #endif /* PACKET_GSM_MAP_H */
_packet_info
Definition: packet_info.h:44
gsm_map_packet_info_t
Definition: packet-gsm_map-template.h:58
tvbuff
Definition: tvbuff-int.h:35
_gsm_map_tap_rec_t
Definition: packet-gsm_map-template.h:20
_value_string
Definition: value_string.h:24
_proto_node
Definition: proto.h:759