aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/acse/acse.cnf
blob: 460bc9404f1deacdab3ffe6b607fa6be251b0d71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#.MODULE_IMPORT
InformationFramework x509if

#.INCLUDE ../x509if/x509if-exp.cnf

#.EXPORTS
EXTERNAL

#.TYPE_RENAME
AARQ-apdu/protocol-version	T_AARQ_protocol_version
AARE-apdu/protocol-version	T_AARE_protocol_version

#.FIELD_RENAME
AARQ-apdu/user-information	AARQ_user_information
AARE-apdu/user-information	AARE_user_information
ABRT-apdu/user-information	ABRT_user_information
RLRE-apdu/user-information	RLRE_user_information
RLRQ-apdu/user-information	RLRQ_user_information
AARE-apdu/result		AARE_result
P-context-result-list/_item/result	Pcontext_result
RLRE-apdu/reason		RLRE_reason
RLRQ-apdu/reason		RLRQ_reason
AARQ-apdu/protocol-version	AARQ_protocol_version
AARE-apdu/protocol-version	AARE_protocol_version
AARQ-apdu/aSO-context-name	AARQ_aSO_context_name
AARE-apdu/aSO-context-name	AARE_aSO_context_name
ACRQ-apdu/aSO-context-name	ACRQ_aSO_context_name

#.FN_BODY EXTERNAL
  gint8 class;
  gboolean pc, ind_field;
  gint32 tag;
  gint32 len1;

  /* XXX  asn2eth can not yet handle tagged assignment so for the
   * time being  just remove this tag manually inside the EXTERNAL
   * dissector.
   */
   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,
                                EXTERNAL_sequence, hf_index, ett_acse_EXTERNAL);

#.FN_BODY Authentication-value-other/other-mechanism-name
  offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
                                         hf_index, object_identifier_id);

#.FN_BODY Authentication-value-other/other-mechanism-value
  offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, top_tree);

#.FN_BODY PDV-list/presentation-data-values/simple-ASN1-type
/*XXX not implemented yet */

#.FN_BODY AARQ-apdu/aSO-context-name
  offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
                                         hf_index, object_identifier_id);

#.FN_BODY AARE-apdu/aSO-context-name
  offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
                                         hf_index, object_identifier_id);

#.FN_BODY ACRQ-apdu/aSO-context-name
  offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
                                         hf_index, object_identifier_id);

#.FN_BODY ACRP-apdu/aSO-context-name
  offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
                                         hf_index, object_identifier_id);

#.FN_BODY EXTERNAL/indirect-reference
  offset = dissect_ber_integer(FALSE, pinfo, tree, tvb, offset,
                hf_acse_indirect_reference,
                &indir_ref);

#.FN_BODY EXTERNAL/encoding/single-ASN1-type
  offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, top_tree);

#.END