diff options
Diffstat (limited to 'epan/dissectors/packet-h450-ros.c')
-rw-r--r-- | epan/dissectors/packet-h450-ros.c | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/epan/dissectors/packet-h450-ros.c b/epan/dissectors/packet-h450-ros.c index 4ce29d5f59..1ff1f3be86 100644 --- a/epan/dissectors/packet-h450-ros.c +++ b/epan/dissectors/packet-h450-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-h450-ros.c */ -/* ../../tools/asn2wrs.py -p h450.ros -c ./h450-ros.cnf -s ./packet-h450-ros-template -D . -O ../../epan/dissectors ../ros/Remote-Operations-Information-Objects.asn Remote-Operations-Apdus.asn */ +/* asn2wrs.py -p h450.ros -c ./h450-ros.cnf -s ./packet-h450-ros-template -D . -O ../.. ../ros/Remote-Operations-Information-Objects.asn Remote-Operations-Apdus.asn */ /* Input file: packet-h450-ros-template.c */ -#line 1 "../../asn1/h450-ros/packet-h450-ros-template.c" +#line 1 "./asn1/h450-ros/packet-h450-ros-template.c" /* packet-h450-ros.c * Routines for H.450 packet dissection * 2007 Tomas Kukosa @@ -50,7 +50,7 @@ void proto_reg_handoff_h450_ros(void); static int proto_h450_ros = -1; /*--- Included file: packet-h450-ros-hf.c ---*/ -#line 1 "../../asn1/h450-ros/packet-h450-ros-hf.c" +#line 1 "./asn1/h450-ros/packet-h450-ros-hf.c" static int hf_h450_ros_local = -1; /* T_local */ static int hf_h450_ros_global = -1; /* T_global */ static int hf_h450_ros_invoke = -1; /* Invoke */ @@ -73,12 +73,12 @@ static int hf_h450_ros_returnResultProblem = -1; /* ReturnResultProblem */ static int hf_h450_ros_returnErrorProblem = -1; /* ReturnErrorProblem */ /*--- End of included file: packet-h450-ros-hf.c ---*/ -#line 44 "../../asn1/h450-ros/packet-h450-ros-template.c" +#line 44 "./asn1/h450-ros/packet-h450-ros-template.c" /* Initialize the subtree pointers */ /*--- Included file: packet-h450-ros-ett.c ---*/ -#line 1 "../../asn1/h450-ros/packet-h450-ros-ett.c" +#line 1 "./asn1/h450-ros/packet-h450-ros-ett.c" static gint ett_h450_ros_Code = -1; static gint ett_h450_ros_ROS = -1; static gint ett_h450_ros_Invoke = -1; @@ -89,7 +89,7 @@ static gint ett_h450_ros_Reject = -1; static gint ett_h450_ros_T_problem = -1; /*--- End of included file: packet-h450-ros-ett.c ---*/ -#line 47 "../../asn1/h450-ros/packet-h450-ros-template.c" +#line 47 "./asn1/h450-ros/packet-h450-ros-template.c" static expert_field ei_ros_undecoded = EI_INIT; @@ -123,7 +123,7 @@ error_cb(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, void* data /*--- Included file: packet-h450-ros-fn.c ---*/ -#line 1 "../../asn1/h450-ros/packet-h450-ros-fn.c" +#line 1 "./asn1/h450-ros/packet-h450-ros-fn.c" static int @@ -161,7 +161,7 @@ dissect_h450_ros_Code(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, p ett_h450_ros_Code, Code_choice, &actx->rose_ctx->d.code); -#line 39 "../../asn1/h450-ros/h450-ros.cnf" +#line 39 "./asn1/h450-ros/h450-ros.cnf" actx->rose_ctx->d.code_item = actx->created_item; return offset; @@ -180,7 +180,7 @@ dissect_h450_ros_InvokeId(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U static int dissect_h450_ros_T_invokeIdConstrained(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 67 "../../asn1/h450-ros/h450-ros.cnf" +#line 67 "./asn1/h450-ros/h450-ros.cnf" offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 65535U, NULL, TRUE); @@ -208,7 +208,7 @@ static const per_sequence_t Invoke_sequence[] = { static int dissect_h450_ros_Invoke(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 = ""; @@ -217,7 +217,7 @@ dissect_h450_ros_Invoke(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h450_ros_Invoke, Invoke_sequence); -#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) { @@ -290,7 +290,7 @@ static const per_sequence_t ReturnResult_sequence[] = { static int dissect_h450_ros_ReturnResult(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 = ""; @@ -300,7 +300,7 @@ dissect_h450_ros_ReturnResult(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h450_ros_ReturnResult, ReturnResult_sequence); -#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) { @@ -361,7 +361,7 @@ static const per_sequence_t ReturnError_sequence[] = { static int dissect_h450_ros_ReturnError(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 = ""; @@ -370,7 +370,7 @@ dissect_h450_ros_ReturnError(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h450_ros_ReturnError, ReturnError_sequence); -#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) { @@ -423,7 +423,7 @@ static int dissect_h450_ros_GeneralProblem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_integer(tvb, offset, actx, tree, hf_index, &problem_val); -#line 50 "../../asn1/h450-ros/h450-ros.cnf" +#line 50 "./asn1/h450-ros/h450-ros.cnf" g_strlcpy(problem_str, val_to_str_const(problem_val, VALS(h450_ros_GeneralProblem_vals), ""), 64); problem_str[64-1] = '\0'; @@ -448,7 +448,7 @@ static int dissect_h450_ros_InvokeProblem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_integer(tvb, offset, actx, tree, hf_index, &problem_val); -#line 53 "../../asn1/h450-ros/h450-ros.cnf" +#line 53 "./asn1/h450-ros/h450-ros.cnf" g_strlcpy(problem_str, val_to_str_const(problem_val, VALS(h450_ros_InvokeProblem_vals), ""), 64); problem_str[64-1] = '\0'; @@ -468,7 +468,7 @@ static int dissect_h450_ros_ReturnResultProblem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_integer(tvb, offset, actx, tree, hf_index, &problem_val); -#line 56 "../../asn1/h450-ros/h450-ros.cnf" +#line 56 "./asn1/h450-ros/h450-ros.cnf" g_strlcpy(problem_str, val_to_str_const(problem_val, VALS(h450_ros_ReturnResultProblem_vals), ""), 64); problem_str[64-1] = '\0'; @@ -490,7 +490,7 @@ static int dissect_h450_ros_ReturnErrorProblem(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_integer(tvb, offset, actx, tree, hf_index, &problem_val); -#line 59 "../../asn1/h450-ros/h450-ros.cnf" +#line 59 "./asn1/h450-ros/h450-ros.cnf" g_strlcpy(problem_str, val_to_str_const(problem_val, VALS(h450_ros_ReturnErrorProblem_vals), ""), 64); problem_str[64-1] = '\0'; @@ -532,7 +532,7 @@ static const per_sequence_t Reject_sequence[] = { static int dissect_h450_ros_Reject(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'; @@ -540,7 +540,7 @@ dissect_h450_ros_Reject(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_h450_ros_Reject, Reject_sequence); -#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) @@ -572,7 +572,7 @@ static const per_choice_t ROS_choice[] = { int dissect_h450_ros_ROS(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 28 "../../asn1/h450-ros/h450-ros.cnf" +#line 28 "./asn1/h450-ros/h450-ros.cnf" DISSECTOR_ASSERT(actx->rose_ctx); rose_ctx_clean_data(actx->rose_ctx); @@ -585,7 +585,7 @@ dissect_h450_ros_ROS(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, pr /*--- End of included file: packet-h450-ros-fn.c ---*/ -#line 79 "../../asn1/h450-ros/packet-h450-ros-template.c" +#line 79 "./asn1/h450-ros/packet-h450-ros-template.c" /*--- proto_register_h450_ros -----------------------------------------------*/ void proto_register_h450_ros(void) { @@ -594,7 +594,7 @@ void proto_register_h450_ros(void) { static hf_register_info hf[] = { /*--- Included file: packet-h450-ros-hfarr.c ---*/ -#line 1 "../../asn1/h450-ros/packet-h450-ros-hfarr.c" +#line 1 "./asn1/h450-ros/packet-h450-ros-hfarr.c" { &hf_h450_ros_local, { "local", "h450.ros.local", FT_INT32, BASE_DEC, NULL, 0, @@ -677,14 +677,14 @@ void proto_register_h450_ros(void) { "ReturnErrorProblem", HFILL }}, /*--- End of included file: packet-h450-ros-hfarr.c ---*/ -#line 86 "../../asn1/h450-ros/packet-h450-ros-template.c" +#line 86 "./asn1/h450-ros/packet-h450-ros-template.c" }; /* List of subtrees */ static gint *ett[] = { /*--- Included file: packet-h450-ros-ettarr.c ---*/ -#line 1 "../../asn1/h450-ros/packet-h450-ros-ettarr.c" +#line 1 "./asn1/h450-ros/packet-h450-ros-ettarr.c" &ett_h450_ros_Code, &ett_h450_ros_ROS, &ett_h450_ros_Invoke, @@ -695,7 +695,7 @@ void proto_register_h450_ros(void) { &ett_h450_ros_T_problem, /*--- End of included file: packet-h450-ros-ettarr.c ---*/ -#line 91 "../../asn1/h450-ros/packet-h450-ros-template.c" +#line 91 "./asn1/h450-ros/packet-h450-ros-template.c" }; static ei_register_info ei[] = { |