aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-04-23 20:21:31 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-04-23 20:21:31 +0000
commitb65e5b390afc9c1b4f8c02a615abf540a3fc26e4 (patch)
treee64ec3d25f1b81d210a593a6bec53570a449b321 /epan/dissectors
parentd07a92f8bc4cd3e757a8bcb1466a55d5f01e973b (diff)
TCAP: Fix up indentation a bit.
GSM MAP: Add returnResultNotLast from TCAP to the included ROS stuff. svn path=/trunk/; revision=21538
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-gsm_map.c10
-rw-r--r--epan/dissectors/packet-gsm_map.h3
2 files changed, 12 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_map.c b/epan/dissectors/packet-gsm_map.c
index d423612e0c..dbb74c5131 100644
--- a/epan/dissectors/packet-gsm_map.c
+++ b/epan/dissectors/packet-gsm_map.c
@@ -142,6 +142,7 @@ static int hf_gsm_map_invoke = -1; /* Invoke */
static int hf_gsm_map_returnResultLast = -1; /* ReturnResult */
static int hf_gsm_map_returnError = -1; /* ReturnError */
static int hf_gsm_map_reject = -1; /* Reject */
+static int hf_gsm_map_returnResultNotLast = -1; /* ReturnResult */
static int hf_gsm_map_invokeID = -1; /* InvokeIdType */
static int hf_gsm_map_linkedID = -1; /* InvokeIdType */
static int hf_gsm_map_opCode = -1; /* OPERATION */
@@ -2202,6 +2203,9 @@ dissect_gsm_map_ReturnResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int o
static int dissect_returnResultLast_impl(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
return dissect_gsm_map_ReturnResult(TRUE, tvb, offset, pinfo, tree, hf_gsm_map_returnResultLast);
}
+static int dissect_returnResultNotLast_impl(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
+ return dissect_gsm_map_ReturnResult(TRUE, tvb, offset, pinfo, tree, hf_gsm_map_returnResultNotLast);
+}
const value_string gsm_map_GSMMAPLocalErrorcode_vals[] = {
@@ -2887,6 +2891,7 @@ static const value_string gsm_map_Component_vals[] = {
{ 2, "returnResultLast" },
{ 3, "returnError" },
{ 4, "reject" },
+ { 7, "returnResultNotLast" },
{ 0, NULL }
};
@@ -2895,6 +2900,7 @@ static const ber_choice_t Component_choice[] = {
{ 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_returnResultLast_impl },
{ 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_returnError_impl },
{ 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_reject_impl },
+ { 7, BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_returnResultNotLast_impl },
{ 0, 0, 0, 0, NULL }
};
@@ -17358,6 +17364,10 @@ void proto_register_gsm_map(void) {
{ "reject", "gsm_map.reject",
FT_NONE, BASE_NONE, NULL, 0,
"gsm_map.Reject", HFILL }},
+ { &hf_gsm_map_returnResultNotLast,
+ { "returnResultNotLast", "gsm_map.returnResultNotLast",
+ FT_NONE, BASE_NONE, NULL, 0,
+ "gsm_map.ReturnResult", HFILL }},
{ &hf_gsm_map_invokeID,
{ "invokeID", "gsm_map.invokeID",
FT_INT32, BASE_DEC, NULL, 0,
diff --git a/epan/dissectors/packet-gsm_map.h b/epan/dissectors/packet-gsm_map.h
index 6f493f30c6..2f9fa38baa 100644
--- a/epan/dissectors/packet-gsm_map.h
+++ b/epan/dissectors/packet-gsm_map.h
@@ -34,6 +34,7 @@
#ifndef PACKET_GSM_MAP_H
#define PACKET_GSM_MAP_H
+#include "packet-ber.h"
/* Defines for the GSM MAP taps */
#define GSM_MAP_MAX_NUM_OPR_CODES 256
@@ -126,6 +127,6 @@ int dissect_gsm_map_ProtectedPayload(gboolean implicit_tag _U_, tvbuff_t *tvb _U
int dissect_gsm_map_ExtensionContainer(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_);
/*--- End of included file: packet-gsm_map-exp.h ---*/
-#line 48 "packet-gsm_map-template.h"
+#line 49 "packet-gsm_map-template.h"
#endif /* PACKET_GSM_MAP_H */