aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/q932
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2007-07-19 11:41:10 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2007-07-19 11:41:10 +0000
commit17feb32ca92cd7ad1545ea681c90d4d32190ceb4 (patch)
tree5bfcc214282432e8d9af16789362398d9c2b2bca /asn1/q932
parent71209c200f73964fade74dd578624bc035271831 (diff)
change QSIG tables structure so as they can be generated automatically from ASN.1 in the next step
svn path=/trunk/; revision=22354
Diffstat (limited to 'asn1/q932')
-rw-r--r--asn1/q932/q932-ros.cnf8
1 files changed, 6 insertions, 2 deletions
diff --git a/asn1/q932/q932-ros.cnf b/asn1/q932/q932-ros.cnf
index ede1eef0a0..61302b388e 100644
--- a/asn1/q932/q932-ros.cnf
+++ b/asn1/q932/q932-ros.cnf
@@ -20,8 +20,6 @@ ReturnResult/result/result resultArgument
#--- ROS ---
-#.FN_PARS
-ROS VAL_PTR = &%(ACTX)s->rose_ctx->d.pdu
#.FN_HDR ROS
/* will be moved to ROS_PDU when PDU function can be alternated from conformance file */
actx->rose_ctx = rose_ctx_tmp;
@@ -75,6 +73,8 @@ Invoke/argument TYPE = FT_BYTES DISPLAY = BASE_HEX
arg_next_tvb = NULL;
#.FN_FTR Invoke
+ actx->rose_ctx->d.pdu = 1;
+
if (actx->rose_ctx->d.code == 0) {
arg_handle = dissector_get_port_handle(actx->rose_ctx->arg_local_dissector_table, actx->rose_ctx->d.code_local);
} else if (actx->rose_ctx->d.code == 1) {
@@ -118,6 +118,8 @@ ReturnResult/result/result TYPE = FT_BYTES DISPLAY = BASE_HEX
res_next_tvb = NULL;
#.FN_FTR ReturnResult
+ actx->rose_ctx->d.pdu = 2;
+
if (actx->rose_ctx->d.code == 0) {
res_handle = dissector_get_port_handle(actx->rose_ctx->res_local_dissector_table, actx->rose_ctx->d.code_local);
} else if (actx->rose_ctx->d.code == 1) {
@@ -161,6 +163,8 @@ ReturnError/parameter TYPE = FT_BYTES DISPLAY = BASE_HEX
err_next_tvb = NULL;
#.FN_FTR ReturnError
+ actx->rose_ctx->d.pdu = 3;
+
if (actx->rose_ctx->d.code == 0) {
/*err_handle = dissector_get_port_handle(actx->rose_ctx->err_local_dissector_table, actx->rose_ctx->d.code_local);*/
} else if (actx->rose_ctx->d.code == 1) {