diff options
author | Anders Broman <anders.broman@ericsson.com> | 2007-05-13 20:58:29 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2007-05-13 20:58:29 +0000 |
commit | c01f3829742dacd6d94dc50be54537661bad0581 (patch) | |
tree | eb3da0d69d5bc62ca587ebd999b6beacd693f168 /asn1/ftam/ftam.cnf | |
parent | b80cb43018aa49bac3e24cabca009ca0471cd579 (diff) | |
download | wireshark-c01f3829742dacd6d94dc50be54537661bad0581.tar.gz |
Second step in introducing asn context to BER dissectors just like in PER.
svn path=/trunk/; revision=21753
Diffstat (limited to 'asn1/ftam/ftam.cnf')
-rw-r--r-- | asn1/ftam/ftam.cnf | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/asn1/ftam/ftam.cnf b/asn1/ftam/ftam.cnf index 37330bbd9f..49b7d1c26c 100644 --- a/asn1/ftam/ftam.cnf +++ b/asn1/ftam/ftam.cnf @@ -68,16 +68,16 @@ Legal-Qualification-Attribute/actual-values actual_values9 FN_VARIANT = _str VAL_PTR = &object_identifier_id #.FN_BODY Contents-Type-Attribute/document-type/parameter - offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree); + offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree); #.FN_BODY Extension-Attribute/extension-attribute - offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree); + offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree); #.FN_PARS Attribute-Extensions-Pattern/_item/extension-set-attribute-Patterns/_item/extension-attribute-identifier FN_VARIANT = _str VAL_PTR = &object_identifier_id #.FN_BODY Attribute-Extensions-Pattern/_item/extension-set-attribute-Patterns/_item/extension-attribute-Pattern - offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree); + offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree); #.FN_BODY AP-title /* XXX have no idea about this one */ @@ -98,7 +98,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } offset = dissect_ber_restricted_string(TRUE, 1, - pinfo, tree, tvb, offset, hf_index, + actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Protocol-Version @@ -114,7 +114,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_bitstring(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_bitstring(TRUE, actx->pinfo, tree, tvb, offset, Protocol_Version_bits, hf_index, ett_ftam_Protocol_Version, NULL); @@ -131,7 +131,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_bitstring(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_bitstring(TRUE, actx->pinfo, tree, tvb, offset, Service_Class_bits, hf_index, ett_ftam_Service_Class, NULL); @@ -148,7 +148,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_bitstring(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_bitstring(TRUE, actx->pinfo, tree, tvb, offset, Functional_Units_bits, hf_index, ett_ftam_Functional_Units, NULL); @@ -166,7 +166,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_bitstring(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_bitstring(TRUE, actx->pinfo, tree, tvb, offset, Attribute_Groups_bits, hf_index, ett_ftam_Attribute_Groups, NULL); @@ -184,7 +184,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_integer(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Contents-Type-List @@ -200,7 +200,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence_of(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence_of(TRUE, actx, tree, tvb, offset, Contents_Type_List_sequence_of, hf_index, ett_ftam_Contents_Type_List); @@ -217,7 +217,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_integer(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Request-Type @@ -233,7 +233,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_integer(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Abstract-Syntax-Name @@ -249,7 +249,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_object_identifier(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_object_identifier(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); @@ -266,7 +266,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence(TRUE, actx, tree, tvb, offset, Access_Context_sequence, hf_index, ett_ftam_Access_Context); #.FN_BODY Access-Passwords @@ -282,7 +282,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence(TRUE, actx, tree, tvb, offset, Access_Passwords_sequence, hf_index, ett_ftam_Access_Passwords); #.FN_BODY Access-Request @@ -298,7 +298,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_bitstring(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_bitstring(TRUE, actx->pinfo, tree, tvb, offset, Access_Request_bits, hf_index, ett_ftam_Access_Request, NULL); #.FN_BODY Account @@ -315,7 +315,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } offset = dissect_ber_restricted_string(TRUE, 4, - pinfo, tree, tvb, offset, hf_index, + actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Action-Result gint8 class; @@ -330,7 +330,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_integer(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); @@ -347,7 +347,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_integer(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Change-Attributes @@ -363,7 +363,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence(TRUE, actx, tree, tvb, offset, Change_Attributes_sequence, hf_index, ett_ftam_Change_Attributes); @@ -380,7 +380,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence_of(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence_of(TRUE, actx, tree, tvb, offset, Charging_sequence_of, hf_index, ett_ftam_Charging); @@ -397,7 +397,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence(TRUE, actx, tree, tvb, offset, Concurrency_Control_sequence, hf_index, ett_ftam_Concurrency_Control); @@ -414,7 +414,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_object_identifier(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_object_identifier(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Create-Attributes @@ -430,7 +430,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence(TRUE, actx, tree, tvb, offset, Create_Attributes_sequence, hf_index, ett_ftam_Create_Attributes); #.FN_BODY Diagnostic @@ -446,7 +446,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence_of(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence_of(TRUE, actx, tree, tvb, offset, Diagnostic_sequence_of, hf_index, ett_ftam_Diagnostic); @@ -465,7 +465,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_integer(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Read-Attributes @@ -481,7 +481,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence(TRUE, actx, tree, tvb, offset, Read_Attributes_sequence, hf_index, ett_ftam_Read_Attributes); #.FN_BODY Select-Attributes @@ -497,7 +497,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence(TRUE, actx, tree, tvb, offset, Select_Attributes_sequence, hf_index, ett_ftam_Select_Attributes); #.FN_BODY State-Result @@ -513,7 +513,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_integer(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY User-Identity @@ -530,7 +530,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } offset = dissect_ber_restricted_string(TRUE, 22, - pinfo, tree, tvb, offset, hf_index, + actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Scope gint8 class; @@ -545,7 +545,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence_of(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence_of(TRUE, actx, tree, tvb, offset, Scope_sequence_of, hf_index, ett_ftam_Scope); #.FN_BODY Objects-Attributes-List @@ -561,7 +561,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence_of(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence_of(TRUE, actx, tree, tvb, offset, Objects_Attributes_List_sequence_of, hf_index, ett_ftam_Objects_Attributes_List); @@ -578,7 +578,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_sequence_of(TRUE, pinfo, tree, tvb, offset, + offset = dissect_ber_sequence_of(TRUE, actx, tree, tvb, offset, Path_Access_Passwords_sequence_of, hf_index, ett_ftam_Path_Access_Passwords); #.FN_BODY Request-Operation-Result @@ -594,7 +594,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_index, + offset = dissect_ber_integer(TRUE, actx->pinfo, tree, tvb, offset, hf_index, NULL); #.FN_BODY Shared-ASE-Informatio @@ -610,7 +610,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_acse_EXTERNALt(TRUE, tvb, offset, pinfo, tree, hf_index); + offset = dissect_acse_EXTERNALt(TRUE, tvb, offset, actx->pinfo, tree, hf_index); #.FN_BODY Attribute-Value-Assertions gint8 class; @@ -625,7 +625,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ftam_OR_Set(TRUE, tvb, offset, pinfo, tree, hf_index); + offset = dissect_ftam_OR_Set(TRUE, tvb, offset, actx, tree, hf_index); #.FN_BODY Referent-Indicator gint8 class; @@ -640,7 +640,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_boolean(TRUE, pinfo, tree, tvb, offset, hf_index); + offset = dissect_ber_boolean(TRUE, actx->pinfo, tree, tvb, offset, hf_index); #.FN_BODY Password gint8 class; @@ -655,7 +655,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_choice(pinfo, tree, tvb, offset, + offset = dissect_ber_choice(actx, tree, tvb, offset, Password_choice, hf_index, ett_ftam_Password, NULL); @@ -672,7 +672,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_choice(pinfo, tree, tvb, offset, + offset = dissect_ber_choice(actx, tree, tvb, offset, FADU_Identity_choice, hf_index, ett_ftam_FADU_Identity, NULL); #.FN_BODY Operation-Result @@ -688,7 +688,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); } - offset = dissect_ber_choice(pinfo, tree, tvb, offset, + offset = dissect_ber_choice(actx, tree, tvb, offset, Operation_Result_choice, hf_index, ett_ftam_Operation_Result, NULL); #.FN_PARS FTAM-Regime-PDU VAL_PTR = &branch_taken @@ -699,8 +699,8 @@ Legal-Qualification-Attribute/actual-values actual_values9 %(DEFAULT_BODY)s if( (branch_taken!=-1) && ftam_FTAM_Regime_PDU_vals[branch_taken].strptr ){ - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr(pinfo->cinfo, COL_INFO, " %%s:", ftam_FTAM_Regime_PDU_vals[branch_taken].strptr); + if (check_col(actx->pinfo->cinfo, COL_INFO)) { + col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s:", ftam_FTAM_Regime_PDU_vals[branch_taken].strptr); } } @@ -713,8 +713,8 @@ Legal-Qualification-Attribute/actual-values actual_values9 %(DEFAULT_BODY)s if( (branch_taken!=-1) && ftam_File_PDU_vals[branch_taken].strptr ){ - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr(pinfo->cinfo, COL_INFO, " %%s:", ftam_File_PDU_vals[branch_taken].strptr); + if (check_col(actx->pinfo->cinfo, COL_INFO)) { + col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s:", ftam_File_PDU_vals[branch_taken].strptr); } } @@ -727,8 +727,8 @@ Legal-Qualification-Attribute/actual-values actual_values9 %(DEFAULT_BODY)s if( (branch_taken!=-1) && ftam_Bulk_Data_PDU_vals[branch_taken].strptr ){ - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr(pinfo->cinfo, COL_INFO, " %%s:", ftam_Bulk_Data_PDU_vals[branch_taken].strptr); + if (check_col(actx->pinfo->cinfo, COL_INFO)) { + col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s:", ftam_Bulk_Data_PDU_vals[branch_taken].strptr); } } @@ -741,7 +741,7 @@ Legal-Qualification-Attribute/actual-values actual_values9 %(DEFAULT_BODY)s if( (branch_taken!=-1) && ftam_FSM_PDU_vals[branch_taken].strptr ){ - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr(pinfo->cinfo, COL_INFO, " %%s:", ftam_FSM_PDU_vals[branch_taken].strptr); + if (check_col(actx->pinfo->cinfo, COL_INFO)) { + col_append_fstr(actx->pinfo->cinfo, COL_INFO, " %%s:", ftam_FSM_PDU_vals[branch_taken].strptr); } } |