aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-03-19 19:11:03 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2008-03-19 19:11:03 +0000
commita56f1940bac462efcf5e95d8305ca857ae2b247a (patch)
tree1b004b4eacdc1cfaf08fe269fff3720b70f98559 /epan/dissectors
parent5206ee2029cd0ff3b338b66e9319b4a865d1ab0f (diff)
Export dissect_cbs_data_coding_scheme()
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24699 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-gsm_map.c16
-rw-r--r--epan/dissectors/packet-gsm_map.h14
2 files changed, 22 insertions, 8 deletions
diff --git a/epan/dissectors/packet-gsm_map.c b/epan/dissectors/packet-gsm_map.c
index a6ee5c33d8..08775bf29e 100644
--- a/epan/dissectors/packet-gsm_map.c
+++ b/epan/dissectors/packet-gsm_map.c
@@ -2562,7 +2562,7 @@ static const value_string gsm_map_cbs_coding_grp15_class_vals[] = {
/* 3GPP TS 23.038 version 7.0.0 Release 7 */
-static void
+guint8
dissect_cbs_data_coding_scheme(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
{
guint8 octet;
@@ -2684,6 +2684,7 @@ dissect_cbs_data_coding_scheme(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
break;
}
+ return sms_encoding;
}
@@ -15588,7 +15589,7 @@ dissect_gsm_ss_LCS_PeriodicLocationCancellationArg(gboolean implicit_tag _U_, tv
/*--- End of included file: packet-gsm_map-fn.c ---*/
-#line 895 "packet-gsmmap-template.c"
+#line 896 "packet-gsmmap-template.c"
/* Specific translation for MAP V3 */
const value_string gsm_map_V1V2_opr_code_strings[] = {
@@ -15800,7 +15801,7 @@ const value_string gsm_map_opr_code_strings[] = {
{ 109, "lcs_PeriodicLocationCancellation" },
/*--- End of included file: packet-gsm_map-table.c ---*/
-#line 906 "packet-gsmmap-template.c"
+#line 907 "packet-gsmmap-template.c"
{ 0, NULL }
};
static const value_string gsm_map_err_code_string_vals[] = {
@@ -16005,7 +16006,7 @@ static const value_string gsm_map_err_code_string_vals[] = {
{ 109, "lcs_PeriodicLocationCancellation" },
/*--- End of included file: packet-gsm_map-table.c ---*/
-#line 910 "packet-gsmmap-template.c"
+#line 911 "packet-gsmmap-template.c"
{ 0, NULL }
};
static const true_false_string gsm_map_extension_value = {
@@ -16309,6 +16310,7 @@ static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_
break;
/* reserved noteSubscriberPresent (48) */
/* reserved alertServiceCentreWithoutResult (49)
+ * ETS 300 599: December 2000 (GSM 09.02 version 4.19.1)
* -- alertServiceCentreWithoutResult must not be used in
* -- version greater 1
*/
@@ -22480,7 +22482,7 @@ void proto_register_gsm_map(void) {
"gsm_map_lcs.LCS_QoS", HFILL }},
/*--- End of included file: packet-gsm_map-hfarr.c ---*/
-#line 2642 "packet-gsmmap-template.c"
+#line 2644 "packet-gsmmap-template.c"
};
/* List of subtrees */
@@ -23066,7 +23068,7 @@ void proto_register_gsm_map(void) {
/*--- End of included file: packet-gsm_map-ettarr.c ---*/
-#line 2668 "packet-gsmmap-template.c"
+#line 2670 "packet-gsmmap-template.c"
};
/* Register protocol */
@@ -23142,7 +23144,7 @@ void proto_register_gsm_map(void) {
/*--- End of included file: packet-gsm_map-dis-tab.c ---*/
-#line 2686 "packet-gsmmap-template.c"
+#line 2688 "packet-gsmmap-template.c"
oid_add_from_string("ericsson-gsm-Map-Ext","1.2.826.0.1249.58.1.0" );
oid_add_from_string("accessTypeNotAllowed-id","1.3.12.2.1107.3.66.1.2");
/*oid_add_from_string("map-ac networkLocUp(1) version3(3)","0.4.0.0.1.0.1.3" );
diff --git a/epan/dissectors/packet-gsm_map.h b/epan/dissectors/packet-gsm_map.h
index 234e247914..23bd57e7cf 100644
--- a/epan/dissectors/packet-gsm_map.h
+++ b/epan/dissectors/packet-gsm_map.h
@@ -43,6 +43,14 @@ typedef struct _gsm_map_tap_rec_t {
guint16 size;
} gsm_map_tap_rec_t;
+
+#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
+
WS_VAR_IMPORT const value_string gsm_map_opr_code_strings[];
char* unpack_digits(tvbuff_t *tvb, int offset);
@@ -53,6 +61,9 @@ 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[];
+guint8 dissect_cbs_data_coding_scheme(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree);
+
+
/*--- Included file: packet-gsm_map-exp.h ---*/
#line 1 "packet-gsm_map-exp.h"
@@ -155,6 +166,7 @@ int dissect_gsm_old_SecurityHeader(gboolean implicit_tag _U_, tvbuff_t *tvb _U_,
int dissect_gsm_old_ProtectedPayload(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 48 "packet-gsmmap-template.h"
+#line 59 "packet-gsmmap-template.h"
+
#endif /* PACKET_GSM_MAP_H */