aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gprscdr.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-02-03 16:17:10 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-02-03 16:17:10 +0000
commit6b38bce9c626d391342b538bec77f842aa60fee5 (patch)
tree860d86f2586e51f2f6e97f47c28fa0a3092f2871 /epan/dissectors/packet-gprscdr.c
parent3eecbb324828b24abcf2549723f703c1e2e87251 (diff)
Hope fully this will be the correct set of files - finally.
svn path=/trunk/; revision=35781
Diffstat (limited to 'epan/dissectors/packet-gprscdr.c')
-rw-r--r--epan/dissectors/packet-gprscdr.c26
1 files changed, 20 insertions, 6 deletions
diff --git a/epan/dissectors/packet-gprscdr.c b/epan/dissectors/packet-gprscdr.c
index 1051142c7f..438cd72cc1 100644
--- a/epan/dissectors/packet-gprscdr.c
+++ b/epan/dissectors/packet-gprscdr.c
@@ -1,7 +1,7 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-gprscdr.c */
-/* ../../tools/asn2wrs.py -b -e -k -p gprscdr -c ./gprscdr.cnf -s ./packet-gprscdr-template -D . 3GPPGenericChargingDataTypes.asn GPRSChargingDataTypes.asn */
+/* ../../tools/asn2wrs.py -b -e -p gprscdr -c ./gprscdr.cnf -s ./packet-gprscdr-template -D . 3GPPGenericChargingDataTypes.asn GPRSChargingDataTypes.asn */
/* Input file: packet-gprscdr-template.c */
@@ -218,6 +218,7 @@ static int hf_gprscdr_LevelOfCAMELService_onlineCharging = -1;
#line 46 "packet-gprscdr-template.c"
static int ett_gprscdr = -1;
+static int ett_gprscdr_timestamp = -1;
/*--- Included file: packet-gprscdr-ett.c ---*/
#line 1 "packet-gprscdr-ett.c"
@@ -258,7 +259,7 @@ static gint ett_gprscdr_PSFurnishChargingInformation = -1;
static gint ett_gprscdr_MBMSInformation = -1;
/*--- End of included file: packet-gprscdr-ett.c ---*/
-#line 49 "packet-gprscdr-template.c"
+#line 50 "packet-gprscdr-template.c"
static dissector_handle_t gprscdr_handle;
@@ -469,6 +470,8 @@ dissect_gprscdr_T_information(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int
proto_tree_add_text(tree, tvb, offset, -1, "Not dissected");
+
+
return offset;
}
@@ -1090,6 +1093,16 @@ dissect_gprscdr_ChargingCharacteristics(gboolean implicit_tag _U_, tvbuff_t *tvb
}
+static const value_string gprscdr_RATType_vals[] = {
+ { 0, "reserved" },
+ { 1, "utran" },
+ { 2, "geran" },
+ { 3, "wlan" },
+ { 4, "gan" },
+ { 5, "hspa-evolution" },
+ { 0, NULL }
+};
+
static int
dissect_gprscdr_RATType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
@@ -2031,7 +2044,7 @@ int dissect_gprscdr_GPRSCallEventRecord_PDU(tvbuff_t *tvb _U_, packet_info *pinf
/*--- End of included file: packet-gprscdr-fn.c ---*/
-#line 53 "packet-gprscdr-template.c"
+#line 54 "packet-gprscdr-template.c"
@@ -2290,7 +2303,7 @@ proto_register_gprscdr(void)
"IMEI", HFILL }},
{ &hf_gprscdr_rATType,
{ "rATType", "gprscdr.rATType",
- FT_UINT32, BASE_DEC, NULL, 0,
+ FT_UINT32, BASE_DEC, VALS(gprscdr_RATType_vals), 0,
NULL, HFILL }},
{ &hf_gprscdr_mSTimeZone,
{ "mSTimeZone", "gprscdr.mSTimeZone",
@@ -2682,12 +2695,13 @@ proto_register_gprscdr(void)
NULL, HFILL }},
/*--- End of included file: packet-gprscdr-hfarr.c ---*/
-#line 63 "packet-gprscdr-template.c"
+#line 64 "packet-gprscdr-template.c"
};
/* List of subtrees */
static gint *ett[] = {
&ett_gprscdr,
+ &ett_gprscdr_timestamp,
/*--- Included file: packet-gprscdr-ettarr.c ---*/
#line 1 "packet-gprscdr-ettarr.c"
@@ -2728,7 +2742,7 @@ proto_register_gprscdr(void)
&ett_gprscdr_MBMSInformation,
/*--- End of included file: packet-gprscdr-ettarr.c ---*/
-#line 69 "packet-gprscdr-template.c"
+#line 71 "packet-gprscdr-template.c"
};
proto_gprscdr = proto_register_protocol(PNAME, PSNAME, PFNAME);