2 # ACSE conformation file
4 #.IMPORT ../x509if/x509if-exp.cnf
7 Application-context-name
17 AP-invocation-identifier
20 AE-invocation-identifier
23 AARQ-apdu/_untag/protocol-version T_AARQ_protocol_version
24 AARE-apdu/_untag/protocol-version T_AARE_protocol_version
25 AARQ-apdu/_untag/aSO-context-name T_AARQ_aSO_context_name
26 AARE-apdu/_untag/aSO-context-name T_AARE_aSO_context_name
27 ACRQ-apdu/_untag/aSO-context-name T_ACRQ_aSO_context_name
28 ACRP-apdu/_untag/aSO-context-name T_ACRP_aSO_context_name
31 AARQ-apdu/_untag/user-information aARQ_user_information
32 AARE-apdu/_untag/user-information aARE_user_information
33 ABRT-apdu/_untag/user-information aBRT_user_information
34 RLRE-apdu/_untag/user-information rLRE_user_information
35 RLRQ-apdu/_untag/user-information rLRQ_user_information
36 P-context-result-list/_item/result pcontext_result
37 RLRE-apdu/_untag/reason rLRE_reason
38 RLRQ-apdu/_untag/reason rLRQ_reason
39 AARQ-apdu/_untag/protocol-version aARQ_protocol_version
40 AARE-apdu/_untag/protocol-version aARE_protocol_version
41 AARQ-apdu/_untag/aSO-context-name aARQ_aSO_context_name
42 AARE-apdu/_untag/aSO-context-name aARE_aSO_context_name
43 ACRQ-apdu/_untag/aSO-context-name aCRQ_aSO_context_name
44 PDV-list/presentation-data-values/octet-aligned pDVList_octet_aligned
46 #.FN_PARS Authentication-value-other/other-mechanism-name
47 FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
49 #.FN_BODY Authentication-value-other/other-mechanism-name
51 actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? true : false;
53 #.FN_BODY Authentication-value-other/other-mechanism-value
54 if (actx->external.direct_ref_present) {
55 offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, actx->subtree.top_tree, actx->private_data);
58 #.FN_BODY PDV-list/presentation-data-values/simple-ASN1-type
59 /*XXX not implemented yet */
61 #.FN_BODY AARQ-apdu/_untag/aSO-context-name
62 offset = dissect_ber_object_identifier_str(false, actx, tree, tvb, offset,
63 hf_index, &actx->external.direct_reference);
64 actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? true : false;
66 #.FN_BODY AARE-apdu/_untag/aSO-context-name
67 offset = dissect_ber_object_identifier_str(false, actx, tree, tvb, offset,
68 hf_index, &actx->external.direct_reference);
69 actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? true : false;
71 #.FN_BODY ACRQ-apdu/_untag/aSO-context-name
72 offset = dissect_ber_object_identifier_str(false, actx, tree, tvb, offset,
73 hf_index, &actx->external.direct_reference);
74 actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? true : false;
76 #.FN_BODY ACRP-apdu/_untag/aSO-context-name
77 offset = dissect_ber_object_identifier_str(false, actx, tree, tvb, offset,
78 hf_index, &actx->external.direct_reference);
79 actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? true : false;
81 #.FN_BODY EXTERNALt/_untag/indirect-reference
83 struct SESSION_DATA_STRUCTURE* session = (struct SESSION_DATA_STRUCTURE*) actx->private_data;
85 offset = dissect_ber_integer(false, actx, tree, tvb, offset,
86 hf_acse_indirect_reference,
89 /* look up the indirect reference */
90 if((oid = find_oid_by_pres_ctx_id(actx->pinfo, indir_ref)) != NULL) {
91 actx->external.direct_reference = wmem_strdup(actx->pinfo->pool, oid);
92 actx->external.direct_ref_present = true;
96 session->pres_ctx_id = indir_ref;
98 #.FN_PARS EXTERNALt/_untag/direct-reference
99 FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
101 #.FN_BODY EXTERNALt/_untag/direct-reference
103 actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? true : false;
105 #.FN_BODY EXTERNALt/_untag/encoding/single-ASN1-type
106 if (actx->external.direct_ref_present) {
107 offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, actx->subtree.top_tree ? actx->subtree.top_tree : tree, actx->private_data);
110 #.FN_BODY EXTERNALt/_untag/encoding/octet-aligned
111 if (actx->external.direct_ref_present) {
112 offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, actx->subtree.top_tree ? actx->subtree.top_tree : tree, actx->private_data);
116 col_append_str(actx->pinfo->cinfo, COL_INFO, "A-Associate-Request");
121 col_append_str(actx->pinfo->cinfo, COL_INFO, "A-Associate-Response");
126 col_append_str(actx->pinfo->cinfo, COL_INFO, "Release-Request");
130 #.FN_PARS Release-request-reason
133 #.FN_BODY Release-request-reason
139 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(reason, acse_Release_request_reason_vals, "reason(%%d)"));
142 col_append_str(actx->pinfo->cinfo, COL_INFO, "Release-Response");
146 #.FN_PARS Release-response-reason
149 #.FN_BODY Release-response-reason
155 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(reason, acse_Release_response_reason_vals, "reason(%%d)"));
158 col_append_str(actx->pinfo->cinfo, COL_INFO, "Abort");
162 #.FN_BODY ABRT-source VAL_PTR=&source
168 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(source, acse_ABRT_source_vals, "source(%%d)"));
171 Association-data/_item NAME = "Association-data"
172 P-context-result-list/_item/result ABBREV=pcontext.result