aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_map.h
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-04-23 23:17:15 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2017-04-24 18:59:36 +0000
commit4b2ee367434572f288f1272cc4c1722a0c484798 (patch)
treeb258121883d2abd8595385fb802f10025df0825c /epan/dissectors/packet-gsm_map.h
parent9785aed5b6fe3b2e67b20d8b044fda6c4626e908 (diff)
GSM SMS: optionally use GSM-MAP info to perform reassembly (off by default)
Change-Id: I62c7a04e62167bd2d68d861f1d8d854f3159b159 Ping-Bug: 13592 Reviewed-on: https://code.wireshark.org/review/21306 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gsm_map.h')
-rw-r--r--epan/dissectors/packet-gsm_map.h31
1 files changed, 27 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gsm_map.h b/epan/dissectors/packet-gsm_map.h
index ef27e9b673..95f52c358c 100644
--- a/epan/dissectors/packet-gsm_map.h
+++ b/epan/dissectors/packet-gsm_map.h
@@ -38,9 +38,9 @@
#define GSM_MAP_MAX_NUM_OPR_CODES 256
typedef struct _gsm_map_tap_rec_t {
- gboolean invoke;
- guint32 opcode;
- guint16 size;
+ gboolean invoke;
+ guint32 opcode;
+ guint16 size;
} gsm_map_tap_rec_t;
@@ -61,6 +61,29 @@ extern const value_string gsm_map_etsi_defined_pdp_vals[];
guint8 dissect_cbs_data_coding_scheme(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint16 offset);
void dissect_gsm_map_msisdn(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree);
+typedef enum {
+ GSM_MAP_RP_OA_NO_ID = 0,
+ GSM_MAP_RP_OA_MSISDN,
+ GSM_MAP_RP_OA_SERVICE_CENTER_ADDRESS
+} gsm_map_rp_oa_id;
+
+typedef enum {
+ GSM_MAP_RP_DA_NO_ID = 0,
+ GSM_MAP_RP_DA_IMSI,
+ GSM_MAP_RP_DA_LMSI,
+ GSM_MAP_RP_DA_SERVICE_CENTER_ADDRESS
+} gsm_map_rp_da_id;
+
+/* structure accessible via p_get_proto_data(pinfo->pool, pinfo, proto_gsm_map, 0) */
+typedef struct {
+ gsm_map_rp_oa_id rp_oa_id;
+ const gchar *rp_oa_str;
+ gsm_map_rp_da_id rp_da_id;
+ const gchar *rp_da_str;
+} gsm_map_packet_info_t;
+
+extern int proto_gsm_map;
+
/*--- Included file: packet-gsm_map-exp.h ---*/
#line 1 "./asn1/gsm_map/packet-gsm_map-exp.h"
@@ -275,7 +298,7 @@ int dissect_gsm_ss_LocationMethod(gboolean implicit_tag _U_, tvbuff_t *tvb _U_,
int dissect_NokiaMAP_Extensions_ServiceKey(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
/*--- End of included file: packet-gsm_map-exp.h ---*/
-#line 57 "./asn1/gsm_map/packet-gsm_map-template.h"
+#line 80 "./asn1/gsm_map/packet-gsm_map-template.h"
#endif /* PACKET_GSM_MAP_H */