diff options
Diffstat (limited to 'epan/dissectors/packet-inap.c')
-rw-r--r-- | epan/dissectors/packet-inap.c | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/epan/dissectors/packet-inap.c b/epan/dissectors/packet-inap.c index 9335b17edc..78e575b538 100644 --- a/epan/dissectors/packet-inap.c +++ b/epan/dissectors/packet-inap.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-inap.c */ -/* ../../tools/asn2wrs.py -b -p inap -c ./inap.cnf -s ./packet-inap-template -D . -O ../../epan/dissectors IN-common-classes.asn IN-SSF-SCF-Classes.asn IN-SCF-SRF-Classes.asn IN-operationcodes.asn IN-object-identifiers.asn IN-common-datatypes.asn IN-SSF-SCF-datatypes.asn IN-SSF-SCF-ops-args.asn IN-SCF-SRF-datatypes.asn IN-SCF-SRF-ops-args.asn IN-errorcodes.asn IN-errortypes.asn ../ros/Remote-Operations-Information-Objects.asn ../ros/Remote-Operations-Generic-ROS-PDUs.asn */ +/* asn2wrs.py -b -p inap -c ./inap.cnf -s ./packet-inap-template -D . -O ../.. IN-common-classes.asn IN-SSF-SCF-Classes.asn IN-SCF-SRF-Classes.asn IN-operationcodes.asn IN-object-identifiers.asn IN-common-datatypes.asn IN-SSF-SCF-datatypes.asn IN-SSF-SCF-ops-args.asn IN-SCF-SRF-datatypes.asn IN-SCF-SRF-ops-args.asn IN-errorcodes.asn IN-errortypes.asn ../ros/Remote-Operations-Information-Objects.asn ../ros/Remote-Operations-Generic-ROS-PDUs.asn */ /* Input file: packet-inap-template.c */ -#line 1 "../../asn1/inap/packet-inap-template.c" +#line 1 "./asn1/inap/packet-inap-template.c" /* packet-inap-template.c * Routines for INAP * Copyright 2004, Tim Endean <endeant@hotmail.com> @@ -63,7 +63,7 @@ static int proto_inap = -1; /* include constants */ /*--- Included file: packet-inap-val.h ---*/ -#line 1 "../../asn1/inap/packet-inap-val.h" +#line 1 "./asn1/inap/packet-inap-val.h" #define opcode_initialDP 0 #define opcode_originationAttemptAuthorized 1 #define opcode_collectedInformation 2 @@ -459,11 +459,11 @@ static int proto_inap = -1; #define noInvokeId NULL /*--- End of included file: packet-inap-val.h ---*/ -#line 57 "../../asn1/inap/packet-inap-template.c" +#line 57 "./asn1/inap/packet-inap-template.c" /*--- Included file: packet-inap-hf.c ---*/ -#line 1 "../../asn1/inap/packet-inap-hf.c" +#line 1 "./asn1/inap/packet-inap-hf.c" static int hf_inap_ActivateServiceFilteringArg_PDU = -1; /* ActivateServiceFilteringArg */ static int hf_inap_AnalysedInformationArg_PDU = -1; /* AnalysedInformationArg */ static int hf_inap_AnalyseInformationArg_PDU = -1; /* AnalyseInformationArg */ @@ -1026,7 +1026,7 @@ static int hf_inap_present = -1; /* INTEGER */ static int hf_inap_InvokeId_present = -1; /* InvokeId_present */ /*--- End of included file: packet-inap-hf.c ---*/ -#line 59 "../../asn1/inap/packet-inap-template.c" +#line 59 "./asn1/inap/packet-inap-template.c" #define MAX_SSN 254 static range_t *global_ssn_range; @@ -1056,7 +1056,7 @@ static gint ett_inap_cause = -1; /*--- Included file: packet-inap-ett.c ---*/ -#line 1 "../../asn1/inap/packet-inap-ett.c" +#line 1 "./asn1/inap/packet-inap-ett.c" static gint ett_inap_Extensions = -1; static gint ett_inap_ExtensionField = -1; static gint ett_inap_AlternativeIdentities = -1; @@ -1295,7 +1295,7 @@ static gint ett_inap_T_problem_01 = -1; static gint ett_inap_InvokeId = -1; /*--- End of included file: packet-inap-ett.c ---*/ -#line 87 "../../asn1/inap/packet-inap-template.c" +#line 87 "./asn1/inap/packet-inap-template.c" static expert_field ei_inap_unknown_invokeData = EI_INIT; static expert_field ei_inap_unknown_returnResultData = EI_INIT; @@ -1303,7 +1303,7 @@ static expert_field ei_inap_unknown_returnErrorData = EI_INIT; /*--- Included file: packet-inap-table.c ---*/ -#line 1 "../../asn1/inap/packet-inap-table.c" +#line 1 "./asn1/inap/packet-inap-table.c" /* INAP OPERATIONS */ const value_string inap_opr_code_strings[] = { @@ -1425,7 +1425,7 @@ static const value_string inap_err_code_string_vals[] = { /*--- End of included file: packet-inap-table.c ---*/ -#line 93 "../../asn1/inap/packet-inap-template.c" +#line 93 "./asn1/inap/packet-inap-template.c" const value_string inap_general_problem_strings[] = { {0,"General Problem Unrecognized Component"}, @@ -1441,7 +1441,7 @@ static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset, /*--- Included file: packet-inap-fn.c ---*/ -#line 1 "../../asn1/inap/packet-inap-fn.c" +#line 1 "./asn1/inap/packet-inap-fn.c" const value_string inap_CriticalityType_vals[] = { { 0, "ignore" }, @@ -1462,7 +1462,7 @@ dissect_inap_CriticalityType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int o static int dissect_inap_T_local(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 155 "../../asn1/inap/inap.cnf" +#line 155 "./asn1/inap/inap.cnf" offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &opcode); @@ -1519,7 +1519,7 @@ dissect_inap_Code(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, static int dissect_inap_T_value(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 213 "../../asn1/inap/inap.cnf" +#line 213 "./asn1/inap/inap.cnf" proto_tree *ext_tree; ext_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_inap_extension_data, NULL, "Extension Data"); if (obj_id){ @@ -1546,7 +1546,7 @@ static const ber_sequence_t ExtensionField_sequence[] = { static int dissect_inap_ExtensionField(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 208 "../../asn1/inap/inap.cnf" +#line 208 "./asn1/inap/inap.cnf" obj_id = NULL; @@ -2200,7 +2200,7 @@ dissect_inap_BCSMEvent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset static int dissect_inap_T_bearerCap(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 246 "../../asn1/inap/inap.cnf" +#line 246 "./asn1/inap/inap.cnf" tvbuff_t *parameter_tvb; @@ -2355,7 +2355,7 @@ dissect_inap_CalledPartyBusinessGroupID(gboolean implicit_tag _U_, tvbuff_t *tvb static int dissect_inap_CalledPartyNumber(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 225 "../../asn1/inap/inap.cnf" +#line 225 "./asn1/inap/inap.cnf" tvbuff_t *parameter_tvb; offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, @@ -2406,7 +2406,7 @@ dissect_inap_CallingPartyBusinessGroupID(gboolean implicit_tag _U_, tvbuff_t *tv static int dissect_inap_CallingPartyNumber(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 235 "../../asn1/inap/inap.cnf" +#line 235 "./asn1/inap/inap.cnf" tvbuff_t *parameter_tvb; offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, @@ -2509,7 +2509,7 @@ dissect_inap_Carrier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U static int dissect_inap_Cause(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 302 "../../asn1/inap/inap.cnf" +#line 302 "./asn1/inap/inap.cnf" /* * -- Indicates the cause for interface related information. Refer to the Q.763 Cause parameter for encoding * -- For the use of cause and location values refer to Q.850. @@ -4562,7 +4562,7 @@ dissect_inap_GlobalCallReference(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, i int dissect_inap_HighLayerCompatibility(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 288 "../../asn1/inap/inap.cnf" +#line 288 "./asn1/inap/inap.cnf" /* * -- Indicates the teleservice. For encoding, DSS1 (Q.931) is used. */ @@ -4736,7 +4736,7 @@ dissect_inap_NumberingPlan(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int off static int dissect_inap_OriginalCalledPartyID(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 268 "../../asn1/inap/inap.cnf" +#line 268 "./asn1/inap/inap.cnf" tvbuff_t *parameter_tvb; @@ -4799,7 +4799,7 @@ dissect_inap_Reason(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_ static int dissect_inap_RedirectingPartyID(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 278 "../../asn1/inap/inap.cnf" +#line 278 "./asn1/inap/inap.cnf" tvbuff_t *parameter_tvb; @@ -4820,7 +4820,7 @@ dissect_inap_RedirectingPartyID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, in int dissect_inap_RedirectionInformation(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 257 "../../asn1/inap/inap.cnf" +#line 257 "./asn1/inap/inap.cnf" tvbuff_t *parameter_tvb; @@ -5184,7 +5184,7 @@ dissect_inap_T_triggerId(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offse static int dissect_inap_T_triggerPar(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 194 "../../asn1/inap/inap.cnf" +#line 194 "./asn1/inap/inap.cnf" /* FIX ME */ @@ -7762,7 +7762,7 @@ dissect_inap_MessageReceivedArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, in static int dissect_inap_T_uIScriptSpecificInfo(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 200 "../../asn1/inap/inap.cnf" +#line 200 "./asn1/inap/inap.cnf" /* FIX ME */ @@ -7791,7 +7791,7 @@ dissect_inap_ScriptCloseArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int of static int dissect_inap_T_uIScriptResult(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 197 "../../asn1/inap/inap.cnf" +#line 197 "./asn1/inap/inap.cnf" /* FIX ME */ @@ -7821,7 +7821,7 @@ dissect_inap_ScriptEventArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int of static int dissect_inap_T_uIScriptSpecificInfo_01(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 203 "../../asn1/inap/inap.cnf" +#line 203 "./asn1/inap/inap.cnf" /* FIX ME */ @@ -7849,7 +7849,7 @@ dissect_inap_ScriptInformationArg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, static int dissect_inap_T_uIScriptSpecificInfo_02(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 205 "../../asn1/inap/inap.cnf" +#line 205 "./asn1/inap/inap.cnf" /* FIX ME */ @@ -8080,7 +8080,7 @@ dissect_inap_T_linkedId(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset static int dissect_inap_T_argument(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 182 "../../asn1/inap/inap.cnf" +#line 182 "./asn1/inap/inap.cnf" offset = dissect_invokeData(tree, tvb, offset, actx); @@ -8099,7 +8099,7 @@ static const ber_sequence_t Invoke_sequence[] = { static int dissect_inap_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 170 "../../asn1/inap/inap.cnf" +#line 170 "./asn1/inap/inap.cnf" inap_opcode_type=INAP_OPCODE_INVOKE; @@ -8113,7 +8113,7 @@ dissect_inap_Invoke(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_ static int dissect_inap_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 185 "../../asn1/inap/inap.cnf" +#line 185 "./asn1/inap/inap.cnf" offset = dissect_returnResultData(tree, tvb, offset, actx); @@ -8145,7 +8145,7 @@ static const ber_sequence_t ReturnResult_sequence[] = { static int dissect_inap_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 173 "../../asn1/inap/inap.cnf" +#line 173 "./asn1/inap/inap.cnf" inap_opcode_type=INAP_OPCODE_RETURN_RESULT; @@ -8159,7 +8159,7 @@ dissect_inap_ReturnResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offs static int dissect_inap_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 188 "../../asn1/inap/inap.cnf" +#line 188 "./asn1/inap/inap.cnf" offset = dissect_returnErrorData(tree, tvb, offset, actx); @@ -8179,7 +8179,7 @@ static const ber_sequence_t ReturnError_sequence[] = { static int dissect_inap_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 176 "../../asn1/inap/inap.cnf" +#line 176 "./asn1/inap/inap.cnf" inap_opcode_type=INAP_OPCODE_RETURN_ERROR; @@ -8299,7 +8299,7 @@ static const ber_sequence_t Reject_sequence[] = { static int dissect_inap_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 179 "../../asn1/inap/inap.cnf" +#line 179 "./asn1/inap/inap.cnf" inap_opcode_type=INAP_OPCODE_REJECT; @@ -9004,7 +9004,7 @@ static int dissect_PAR_taskRefused_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_ /*--- End of included file: packet-inap-fn.c ---*/ -#line 107 "../../asn1/inap/packet-inap-template.c" +#line 107 "./asn1/inap/packet-inap-template.c" /* TC-Invokable OPERATION ::= {activateServiceFiltering | activityTest | analysedInformation | @@ -9027,7 +9027,7 @@ TC-Invokable OPERATION ::= /*--- Included file: packet-inap-table2.c ---*/ -#line 1 "../../asn1/inap/packet-inap-table2.c" +#line 1 "./asn1/inap/packet-inap-table2.c" static int dissect_invokeData(proto_tree *tree, tvbuff_t *tvb, int offset, asn1_ctx_t *actx) { @@ -9354,7 +9354,7 @@ static int dissect_returnErrorData(proto_tree *tree, tvbuff_t *tvb, int offset,a /*--- End of included file: packet-inap-table2.c ---*/ -#line 128 "../../asn1/inap/packet-inap-template.c" +#line 128 "./asn1/inap/packet-inap-template.c" static guint8 inap_pdu_type = 0; @@ -9441,7 +9441,7 @@ void proto_register_inap(void) { /*--- Included file: packet-inap-hfarr.c ---*/ -#line 1 "../../asn1/inap/packet-inap-hfarr.c" +#line 1 "./asn1/inap/packet-inap-hfarr.c" { &hf_inap_ActivateServiceFilteringArg_PDU, { "ActivateServiceFilteringArg", "inap.ActivateServiceFilteringArg_element", FT_NONE, BASE_NONE, NULL, 0, @@ -11684,7 +11684,7 @@ void proto_register_inap(void) { "InvokeId_present", HFILL }}, /*--- End of included file: packet-inap-hfarr.c ---*/ -#line 213 "../../asn1/inap/packet-inap-template.c" +#line 213 "./asn1/inap/packet-inap-template.c" }; @@ -11701,7 +11701,7 @@ void proto_register_inap(void) { &ett_inap_cause, /*--- Included file: packet-inap-ettarr.c ---*/ -#line 1 "../../asn1/inap/packet-inap-ettarr.c" +#line 1 "./asn1/inap/packet-inap-ettarr.c" &ett_inap_Extensions, &ett_inap_ExtensionField, &ett_inap_AlternativeIdentities, @@ -11940,7 +11940,7 @@ void proto_register_inap(void) { &ett_inap_InvokeId, /*--- End of included file: packet-inap-ettarr.c ---*/ -#line 228 "../../asn1/inap/packet-inap-template.c" +#line 228 "./asn1/inap/packet-inap-template.c" }; static ei_register_info ei[] = { |