10 #.FN_BODY RTORJapdu/userDataRJ
11 struct SESSION_DATA_STRUCTURE* session = (struct SESSION_DATA_STRUCTURE*)actx->private_data;
12 const char *oid = NULL;
15 case 1: /* mts-transfer-protocol-1984 */
16 oid = "applicationProtocol.1";
18 case 12: /* mts-transfer-protocol */
19 oid = "applicationProtocol.12";
22 if(session && session->pres_ctx_id)
23 oid = find_oid_by_pres_ctx_id(actx->pinfo, session->pres_ctx_id);
27 if(!oid) /* XXX: problem here is we haven't decoded the applicationProtocol yet - so we make assumptions! */
28 oid = "applicationProtocol.12";
32 session->ros_op = (ROS_OP_BIND | ROS_OP_ERROR);
34 offset = call_rtse_oid_callback(oid, tvb, offset, actx->pinfo, top_tree ? top_tree : tree, session);
37 #.FN_BODY RTABapdu/userdataAB
38 /*XXX not implemented yet */
41 struct SESSION_DATA_STRUCTURE* session = (struct SESSION_DATA_STRUCTURE*)actx->private_data;
44 session->ros_op = (ROS_OP_BIND | ROS_OP_ARGUMENT);
50 struct SESSION_DATA_STRUCTURE* session = (struct SESSION_DATA_STRUCTURE*)actx->private_data;
53 session->ros_op = (ROS_OP_BIND | ROS_OP_RESULT);
57 #.FN_BODY ConnectionData/open
59 struct SESSION_DATA_STRUCTURE* session = (struct SESSION_DATA_STRUCTURE*)actx->private_data;
60 const char *oid = NULL;
63 case 1: /* mts-transfer-protocol-1984 */
64 oid = "applicationProtocol.1";
66 case 12: /* mts-transfer-protocol */
67 oid = "applicationProtocol.12";
70 if(session && session->pres_ctx_id)
71 oid = find_oid_by_pres_ctx_id(actx->pinfo, session->pres_ctx_id);
75 if(!oid) /* XXX: problem here is we haven't decoded the applicationProtocol yet - so we make assumptions! */
76 oid = "applicationProtocol.12";
80 offset = call_rtse_oid_callback(oid, tvb, offset, actx->pinfo, top_tree ? top_tree : tree, session);
83 /* else XXX: need to flag we can't find the presentation context */
86 tvbuff_t *next_tvb = NULL;
87 struct SESSION_DATA_STRUCTURE* session = (struct SESSION_DATA_STRUCTURE*)actx->private_data;
89 offset = dissect_ber_octet_string(false, actx, tree, tvb, offset, hf_index, &next_tvb);
93 /* XXX: we should check is this is an EXTERNAL first */
95 /* ROS won't do this for us */
97 session->ros_op = (ROS_OP_INVOKE | ROS_OP_ARGUMENT);
99 offset = dissect_ber_external_type(false, tree, next_tvb, 0, actx, -1, call_rtse_external_type_callback);
103 #.FN_BODY RTORQapdu/applicationProtocol
105 offset = dissect_ber_integer(true, actx, tree, tvb, offset, hf_index, &app_proto);
107 #.FN_BODY SessionConnectionIdentifier
109 col_append_str(actx->pinfo->cinfo, COL_INFO, "Recover");
115 #.FN_BODY CallingSSuserReference/t61String VAL_PTR=&string
116 tvbuff_t *string = NULL;
118 if(open_request && string)
119 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", tvb_get_string_enc(actx->pinfo->pool, string, 0,
120 tvb_reported_length(string), ENC_T61));
123 CallingSSuserReference/t61String DISPLAY = BASE_NONE
125 #.FN_PARS CommonReference
127 #.FN_BODY CommonReference
128 tvbuff_t *string = NULL;
130 if(open_request && string)
131 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", tvb_format_text(actx->pinfo->pool, string, 0, tvb_reported_length(string)));
135 #.FN_BODY CallingSSuserReference/octetString VAL_PTR=&string
136 tvbuff_t *string = NULL;
138 if(open_request && string)
139 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s", tvb_format_text(actx->pinfo->pool, string, 0, tvb_reported_length(string)));
141 #.FN_BODY RTTPapdu VAL_PTR=&priority
144 col_append_str(actx->pinfo->cinfo, COL_INFO, "Turn-Please");
149 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%d)", priority);
152 col_append_str(actx->pinfo->cinfo, COL_INFO, "Refuse");
156 #.FN_PARS RefuseReason
159 #.FN_BODY RefuseReason
165 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(reason, rtse_RefuseReason_vals, "reason(%%d)"));
168 col_append_str(actx->pinfo->cinfo, COL_INFO, "Abort");
172 #.FN_PARS AbortReason
175 #.FN_BODY AbortReason
181 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(reason, rtse_AbortReason_vals, "reason(%%d)"));
184 AdditionalReferenceInformation DISPLAY = BASE_NONE