2 # C1222 conformation file
3 # Copyright 2010, Edward J. Beroset, edward.beroset@elster.com
6 IMPORT ../acse/acse.inf
20 Calling-authentication-value-c1222/_untag/iv-element BLURB="c1222.iv-element"
21 Calling-authentication-value-c1222/_untag/key-id-element BLURB = "c1222.key-id-element"
22 AP-invocation-id TYPE=FT_UINT32
23 AE-qualifier TYPE=FT_UINT32
25 #.FN_BODY User-information
26 int8_t end_device_class;
30 proto_item *tf = NULL;
31 proto_tree *epsem_tree = NULL;
34 /* get Tag and Length */
35 offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &end_device_class, &pc, &tag);
36 offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
37 FILL_TABLE_TRUNCATE(user_information, len+offset-start_offset);
38 if (tag == 0x8) { /* BER_TAG_EXTERNAL */
39 offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &end_device_class, &pc, &tag);
40 offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
41 if (tag == 0x1) { /* implicit octet string */
42 tf = proto_tree_add_item(tree, hf_c1222_user_information, tvb, offset, len, ENC_NA);
43 epsem_tree = proto_item_add_subtree(tf, ett_c1222_epsem);
44 dissect_epsem(tvb, offset, len, actx->pinfo, epsem_tree);
49 #.FN_BODY ASO-qualifier
52 FILL_TABLE(aSO_context);
54 #.FN_BODY Called-AP-title
57 FILL_TABLE_APTITLE(called_AP_title);
59 #.FN_BODY Called-AP-invocation-id
62 FILL_TABLE(called_AP_invocation_id);
64 #.FN_BODY Calling-AE-qualifier
67 FILL_TABLE(calling_AE_qualifier);
69 #.FN_BODY Calling-AP-invocation-id
72 FILL_TABLE(calling_AP_invocation_id);
74 #.FN_BODY Mechanism-name
77 FILL_TABLE(mechanism_name);
79 #.FN_BODY Calling-authentication-value
82 FILL_TABLE(calling_authentication_value);
84 #.FN_BODY Calling-AP-title
87 FILL_TABLE_APTITLE(calling_AP_title);
89 #.FN_BODY Key-id-element
92 FILL_TABLE(key_id_element);
97 FILL_TABLE(iv_element);
105 # Editor modelines - https://www.wireshark.org/tools/modelines.html
110 # indent-tabs-mode: nil
113 # vi: set shiftwidth=2 tabstop=8 expandtab:
114 # :indentSize=2:tabSize=8:noTabs=true: