diff options
Diffstat (limited to 'epan/dissectors/packet-q932-ros.c')
-rw-r--r-- | epan/dissectors/packet-q932-ros.c | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/epan/dissectors/packet-q932-ros.c b/epan/dissectors/packet-q932-ros.c index 0293df4943..6f975104ea 100644 --- a/epan/dissectors/packet-q932-ros.c +++ b/epan/dissectors/packet-q932-ros.c @@ -1,11 +1,11 @@ /* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-q932-ros.c */ -/* ../../tools/asn2wrs.py -b -p q932.ros -c ./q932-ros.cnf -s ./packet-q932-ros-template -D . -O ../../epan/dissectors ../ros/Remote-Operations-Information-Objects.asn Facility-Information-Element-Components.asn */ +/* asn2wrs.py -b -p q932.ros -c ./q932-ros.cnf -s ./packet-q932-ros-template -D . -O ../.. ../ros/Remote-Operations-Information-Objects.asn Facility-Information-Element-Components.asn */ /* Input file: packet-q932-ros-template.c */ -#line 1 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 1 "./asn1/q932-ros/packet-q932-ros-template.c" /* packet-q932-ros.c * Routines for Q.932 packet dissection * 2007 Tomas Kukosa @@ -49,7 +49,7 @@ void proto_reg_handoff_q932_ros(void); static int proto_q932_ros = -1; /*--- Included file: packet-q932-ros-hf.c ---*/ -#line 1 "../../asn1/q932-ros/packet-q932-ros-hf.c" +#line 1 "./asn1/q932-ros/packet-q932-ros-hf.c" static int hf_q932_ros_ROS_PDU = -1; /* ROS */ static int hf_q932_ros_local = -1; /* T_local */ static int hf_q932_ros_global = -1; /* T_global */ @@ -76,12 +76,12 @@ static int hf_q932_ros_present = -1; /* INTEGER */ static int hf_q932_ros_InvokeId_present = -1; /* InvokeId_present */ /*--- End of included file: packet-q932-ros-hf.c ---*/ -#line 43 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 43 "./asn1/q932-ros/packet-q932-ros-template.c" /* Initialize the subtree pointers */ /*--- Included file: packet-q932-ros-ett.c ---*/ -#line 1 "../../asn1/q932-ros/packet-q932-ros-ett.c" +#line 1 "./asn1/q932-ros/packet-q932-ros-ett.c" static gint ett_q932_ros_Code = -1; static gint ett_q932_ros_ROS = -1; static gint ett_q932_ros_Invoke = -1; @@ -94,7 +94,7 @@ static gint ett_q932_ros_T_problem = -1; static gint ett_q932_ros_InvokeId = -1; /*--- End of included file: packet-q932-ros-ett.c ---*/ -#line 46 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 46 "./asn1/q932-ros/packet-q932-ros-template.c" static expert_field ei_ros_undecoded = EI_INIT; @@ -113,7 +113,7 @@ static tvbuff_t *arg_next_tvb, *res_next_tvb, *err_next_tvb; /*--- Included file: packet-q932-ros-fn.c ---*/ -#line 1 "../../asn1/q932-ros/packet-q932-ros-fn.c" +#line 1 "./asn1/q932-ros/packet-q932-ros-fn.c" static int @@ -152,7 +152,7 @@ dissect_q932_ros_Code(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _ Code_choice, hf_index, ett_q932_ros_Code, &actx->rose_ctx->d.code); -#line 42 "../../asn1/q932-ros/q932-ros.cnf" +#line 42 "./asn1/q932-ros/q932-ros.cnf" actx->rose_ctx->d.code_item = actx->created_item; return offset; @@ -244,7 +244,7 @@ dissect_q932_ros_T_linkedId(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int of static int dissect_q932_ros_InvokeArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 68 "../../asn1/q932-ros/q932-ros.cnf" +#line 68 "./asn1/q932-ros/q932-ros.cnf" gint len; len = tvb_reported_length_remaining(tvb, offset); @@ -269,7 +269,7 @@ static const ber_sequence_t Invoke_sequence[] = { static int dissect_q932_ros_Invoke(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 6 "../../asn1/ros/ros-inv.cnf" +#line 6 "./asn1/ros/ros-inv.cnf" dissector_handle_t arg_handle = NULL; const gchar *descr = ""; @@ -278,7 +278,7 @@ dissect_q932_ros_Invoke(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Invoke_sequence, hf_index, ett_q932_ros_Invoke); -#line 11 "../../asn1/ros/ros-inv.cnf" +#line 11 "./asn1/ros/ros-inv.cnf" actx->rose_ctx->d.pdu = 1; if ((actx->rose_ctx->d.code == 0) && actx->rose_ctx->arg_local_dissector_table) { @@ -322,7 +322,7 @@ dissect_q932_ros_Invoke(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset static int dissect_q932_ros_ResultArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 86 "../../asn1/q932-ros/q932-ros.cnf" +#line 86 "./asn1/q932-ros/q932-ros.cnf" gint len; len = tvb_reported_length_remaining(tvb, offset); @@ -361,7 +361,7 @@ static const ber_sequence_t ReturnResult_sequence[] = { static int dissect_q932_ros_ReturnResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 6 "../../asn1/ros/ros-res.cnf" +#line 6 "./asn1/ros/ros-res.cnf" dissector_handle_t res_handle = NULL; const gchar *descr = ""; @@ -371,7 +371,7 @@ dissect_q932_ros_ReturnResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ReturnResult_sequence, hf_index, ett_q932_ros_ReturnResult); -#line 12 "../../asn1/ros/ros-res.cnf" +#line 12 "./asn1/ros/ros-res.cnf" actx->rose_ctx->d.pdu = 2; if ((actx->rose_ctx->d.code == 0) && actx->rose_ctx->res_local_dissector_table) { @@ -417,7 +417,7 @@ dissect_q932_ros_ReturnResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int static int dissect_q932_ros_T_parameter(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 105 "../../asn1/q932-ros/q932-ros.cnf" +#line 105 "./asn1/q932-ros/q932-ros.cnf" gint len; @@ -442,7 +442,7 @@ static const ber_sequence_t ReturnError_sequence[] = { static int dissect_q932_ros_ReturnError(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 6 "../../asn1/ros/ros-err.cnf" +#line 6 "./asn1/ros/ros-err.cnf" dissector_handle_t err_handle = NULL; const gchar *descr = ""; @@ -451,7 +451,7 @@ dissect_q932_ros_ReturnError(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int o offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, ReturnError_sequence, hf_index, ett_q932_ros_ReturnError); -#line 11 "../../asn1/ros/ros-err.cnf" +#line 11 "./asn1/ros/ros-err.cnf" actx->rose_ctx->d.pdu = 3; if ((actx->rose_ctx->d.code == 0) && actx->rose_ctx->err_local_dissector_table) { @@ -505,7 +505,7 @@ dissect_q932_ros_GeneralProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, in offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &problem_val); -#line 53 "../../asn1/q932-ros/q932-ros.cnf" +#line 53 "./asn1/q932-ros/q932-ros.cnf" g_strlcpy(problem_str, val_to_str_const(problem_val, VALS(q932_ros_GeneralProblem_vals), ""), 64); return offset; @@ -530,7 +530,7 @@ dissect_q932_ros_InvokeProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &problem_val); -#line 55 "../../asn1/q932-ros/q932-ros.cnf" +#line 55 "./asn1/q932-ros/q932-ros.cnf" g_strlcpy(problem_str, val_to_str_const(problem_val, VALS(q932_ros_InvokeProblem_vals), ""), 64); return offset; @@ -550,7 +550,7 @@ dissect_q932_ros_ReturnResultProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &problem_val); -#line 57 "../../asn1/q932-ros/q932-ros.cnf" +#line 57 "./asn1/q932-ros/q932-ros.cnf" g_strlcpy(problem_str, val_to_str_const(problem_val, VALS(q932_ros_ReturnResultProblem_vals), ""), 64); return offset; @@ -572,7 +572,7 @@ dissect_q932_ros_ReturnErrorProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_ offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &problem_val); -#line 59 "../../asn1/q932-ros/q932-ros.cnf" +#line 59 "./asn1/q932-ros/q932-ros.cnf" g_strlcpy(problem_str, val_to_str_const(problem_val, VALS(q932_ros_ReturnErrorProblem_vals), ""), 64); return offset; @@ -613,7 +613,7 @@ static const ber_sequence_t Reject_sequence[] = { static int dissect_q932_ros_Reject(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 6 "../../asn1/ros/ros-rej.cnf" +#line 6 "./asn1/ros/ros-rej.cnf" const gchar *descr = ""; problem_str[0] = '\0'; @@ -621,7 +621,7 @@ dissect_q932_ros_Reject(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, Reject_sequence, hf_index, ett_q932_ros_Reject); -#line 10 "../../asn1/ros/ros-rej.cnf" +#line 10 "./asn1/ros/ros-rej.cnf" descr = wmem_strdup_printf(wmem_packet_scope(), "REJ: %s", problem_str); if (actx->rose_ctx->apdu_depth >= 0) @@ -653,7 +653,7 @@ static const ber_choice_t ROS_choice[] = { static int dissect_q932_ros_ROS(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 30 "../../asn1/q932-ros/q932-ros.cnf" +#line 30 "./asn1/q932-ros/q932-ros.cnf" /* will be moved to ROS_PDU when PDU function can be alternated from conformance file */ actx->rose_ctx = rose_ctx_tmp; rose_ctx_clean_data(actx->rose_ctx); @@ -677,7 +677,7 @@ static int dissect_ROS_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree /*--- End of included file: packet-q932-ros-fn.c ---*/ -#line 63 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 63 "./asn1/q932-ros/packet-q932-ros-template.c" /*--- dissect_q932_ros -----------------------------------------------------*/ static int dissect_q932_ros(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { @@ -696,7 +696,7 @@ void proto_register_q932_ros(void) { static hf_register_info hf[] = { /*--- Included file: packet-q932-ros-hfarr.c ---*/ -#line 1 "../../asn1/q932-ros/packet-q932-ros-hfarr.c" +#line 1 "./asn1/q932-ros/packet-q932-ros-hfarr.c" { &hf_q932_ros_ROS_PDU, { "ROS", "q932.ros.ROS", FT_UINT32, BASE_DEC, VALS(q932_ros_ROS_vals), 0, @@ -795,14 +795,14 @@ void proto_register_q932_ros(void) { "InvokeId_present", HFILL }}, /*--- End of included file: packet-q932-ros-hfarr.c ---*/ -#line 80 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 80 "./asn1/q932-ros/packet-q932-ros-template.c" }; /* List of subtrees */ static gint *ett[] = { /*--- Included file: packet-q932-ros-ettarr.c ---*/ -#line 1 "../../asn1/q932-ros/packet-q932-ros-ettarr.c" +#line 1 "./asn1/q932-ros/packet-q932-ros-ettarr.c" &ett_q932_ros_Code, &ett_q932_ros_ROS, &ett_q932_ros_Invoke, @@ -815,7 +815,7 @@ void proto_register_q932_ros(void) { &ett_q932_ros_InvokeId, /*--- End of included file: packet-q932-ros-ettarr.c ---*/ -#line 85 "../../asn1/q932-ros/packet-q932-ros-template.c" +#line 85 "./asn1/q932-ros/packet-q932-ros-template.c" }; static ei_register_info ei[] = { |