aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/inap/inap.cnf
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-05-13 20:58:29 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-05-13 20:58:29 +0000
commitc01f3829742dacd6d94dc50be54537661bad0581 (patch)
treeeb3da0d69d5bc62ca587ebd999b6beacd693f168 /asn1/inap/inap.cnf
parentb80cb43018aa49bac3e24cabca009ca0471cd579 (diff)
Second step in introducing asn context to BER dissectors just like in PER.
svn path=/trunk/; revision=21753
Diffstat (limited to 'asn1/inap/inap.cnf')
-rw-r--r--asn1/inap/inap.cnf25
1 files changed, 24 insertions, 1 deletions
diff --git a/asn1/inap/inap.cnf b/asn1/inap/inap.cnf
index 9ab9e66777..8051edbc63 100644
--- a/asn1/inap/inap.cnf
+++ b/asn1/inap/inap.cnf
@@ -9,7 +9,7 @@
#.PDU
-
+Component
#.NO_EMIT
@@ -69,6 +69,29 @@ CancelArg
RequestCurrentStatusReportResultArg
ReceivedInformationArg
+#.FN_BODY InvokeParameter
+ offset = dissect_invokeData(tree, tvb, offset, actx);
+
+#.FN_BODY ReturnResultParameter
+ offset = dissect_returnResultData(tree, tvb, offset, actx);
+
+#.FN_BODY ReturnErrorParameter
+ offset = dissect_returnErrorData(tree, tvb, offset, actx);
+
+#.FN_BODY INAPLocalErrorcode VAL_PTR = &errorCode
+ offset = dissect_ber_integer(FALSE, actx->pinfo, tree, tvb, offset, hf_index, &errorCode);
+
+ if (check_col(actx->pinfo->cinfo, COL_INFO)){
+ col_set_str(actx->pinfo->cinfo, COL_INFO, val_to_str(errorCode, inap_error_code_strings, "Unknown Inap (%u)"));
+ }
+
+#.FN_BODY INAPOperationLocalvalue
+ offset = dissect_ber_integer(FALSE, actx->pinfo, tree, tvb, offset, hf_index, &opcode);
+
+ if (check_col(actx->pinfo->cinfo, COL_INFO)){
+ col_add_fstr(actx->pinfo->cinfo, COL_INFO, "%s ", val_to_str(opcode, inap_opr_code_strings, "Unknown Inap (%u)"));
+ }
+
#.FN_PARS CalledPartyNumber
VAL_PTR = &parameter_tvb