# c1222.cnf # C1222 conformation file # Copyright 2010, Edward J. Beroset, edward.beroset@elster.com #.MODULE_IMPORT IMPORT ../acse/acse.inf #.EXPORTS #.PDU MESSAGE #.NO_EMIT #.TYPE_RENAME #.FIELD_RENAME #.TYPE_ATTR Calling-authentication-value-c1222/_untag/iv-element BLURB="c1222.iv-element" Calling-authentication-value-c1222/_untag/key-id-element BLURB = "c1222.key-id-element" AP-invocation-id TYPE=FT_UINT32 AE-qualifier TYPE=FT_UINT32 #.FN_BODY User-information int8_t end_device_class; bool pc, ind; int32_t tag; uint32_t len; proto_item *tf = NULL; proto_tree *epsem_tree = NULL; FILL_START; /* get Tag and Length */ offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &end_device_class, &pc, &tag); offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind); FILL_TABLE_TRUNCATE(user_information, len+offset-start_offset); if (tag == 0x8) { /* BER_TAG_EXTERNAL */ offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &end_device_class, &pc, &tag); offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind); if (tag == 0x1) { /* implicit octet string */ tf = proto_tree_add_item(tree, hf_c1222_user_information, tvb, offset, len, ENC_NA); epsem_tree = proto_item_add_subtree(tf, ett_c1222_epsem); dissect_epsem(tvb, offset, len, actx->pinfo, epsem_tree); offset += len; } } #.FN_BODY ASO-qualifier FILL_START; %(DEFAULT_BODY)s FILL_TABLE(aSO_context); #.FN_BODY Called-AP-title FILL_START; %(DEFAULT_BODY)s FILL_TABLE_APTITLE(called_AP_title); #.FN_BODY Called-AP-invocation-id FILL_START; %(DEFAULT_BODY)s FILL_TABLE(called_AP_invocation_id); #.FN_BODY Calling-AE-qualifier FILL_START; %(DEFAULT_BODY)s FILL_TABLE(calling_AE_qualifier); #.FN_BODY Calling-AP-invocation-id FILL_START; %(DEFAULT_BODY)s FILL_TABLE(calling_AP_invocation_id); #.FN_BODY Mechanism-name FILL_START; %(DEFAULT_BODY)s FILL_TABLE(mechanism_name); #.FN_BODY Calling-authentication-value FILL_START; %(DEFAULT_BODY)s FILL_TABLE(calling_authentication_value); #.FN_BODY Calling-AP-title FILL_START; %(DEFAULT_BODY)s FILL_TABLE_APTITLE(calling_AP_title); #.FN_BODY Key-id-element FILL_START; %(DEFAULT_BODY)s FILL_TABLE(key_id_element); #.FN_BODY Iv-element FILL_START; %(DEFAULT_BODY)s FILL_TABLE(iv_element); #.FN_BODY MESSAGE clear_canon(); %(DEFAULT_BODY)s #.END # # Editor modelines - https://www.wireshark.org/tools/modelines.html # # Local variables: # c-basic-offset: 2 # tab-width: 8 # indent-tabs-mode: nil # End: # # vi: set shiftwidth=2 tabstop=8 expandtab: # :indentSize=2:tabSize=8:noTabs=true: #