1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
4 /* asn2wrs.py -b -C -q -L -p p1 -c ./p1.cnf -s ./packet-p1-template -D . -O ../.. MTAAbstractService.asn MTSAbstractService.asn MTSAccessProtocol.asn MHSProtocolObjectIdentifiers.asn MTSUpperBounds.asn */
7 * Routines for X.411 (X.400 Message Transfer) packet dissection
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
14 * SPDX-License-Identifier: GPL-2.0-or-later
20 #define op_message_submission 3
21 #define op_probe_submission 4
22 #define op_cancel_deferred_delivery 7
23 #define op_submission_control 2
24 #define err_submission_control_violated 1
25 #define err_element_of_service_not_subscribed 4
26 #define err_deferred_delivery_cancellation_rejected 8
27 #define err_originator_invalid 2
28 #define err_recipient_improperly_specified 3
29 #define err_message_submission_identifier_invalid 7
30 #define err_inconsistent_request 11
31 #define err_security_error 12
32 #define err_unsupported_critical_function 13
33 #define err_remote_bind_error 15
34 #define op_message_delivery 5
35 #define op_report_delivery 6
36 #define op_delivery_control 2
37 #define err_delivery_control_violated 1
38 #define err_control_violates_registration 14
39 #define err_operation_refused 16
41 #define op_change_credentials 8
42 #define err_register_rejected 10
43 #define err_new_credentials_unacceptable 6
44 #define err_old_credentials_incorrectly_specified 5
45 #define id_mhs_protocols "2.6.0"
46 #define id_mhs_mod id_mhs_protocols".0"
47 #define id_ac id_mhs_protocols".1"
48 #define id_as id_mhs_protocols".2"
49 #define id_ase id_mhs_protocols".3"
50 #define id_mod_mts_access_protocol id_mhs_mod".1"
51 #define id_mod_ms_access_protocol id_mhs_mod".2"
52 #define id_mod_mts_transfer_protocol id_mhs_mod".3"
53 #define id_ac_mts_access_88 id_ac".0"
54 #define id_ac_mts_forced_access_88 id_ac".1"
55 #define id_ac_mts_reliable_access_88 id_ac".2"
56 #define id_ac_mts_forced_reliable_access_88 id_ac".3"
57 #define id_ac_mts_access_94 id_ac".7"
58 #define id_ac_mts_forced_access_94 id_ac".8"
59 #define id_ac_mts_reliable_access_94 id_ac".9"
60 #define id_ac_mts_forced_reliable_access_94 id_ac".10"
61 #define id_ac_ms_access_88 id_ac".4"
62 #define id_ac_ms_reliable_access_88 id_ac".5"
63 #define id_ac_ms_access_94 id_ac".11"
64 #define id_ac_ms_reliable_access_94 id_ac".12"
65 #define id_ac_mts_transfer id_ac".6"
66 #define id_as_msse id_as".1"
67 #define id_as_mdse_88 id_as".2"
68 #define id_as_mrse_88 id_as".5"
69 #define id_as_mase_88 id_as".6"
70 #define id_as_mtse id_as".7"
71 #define id_as_mts_rtse id_as".8"
72 #define id_as_ms_88 id_as".9"
73 #define id_as_ms_rtse id_as".10"
74 #define id_as_mts id_as".11"
75 #define id_as_mta_rtse id_as".12"
76 #define id_as_ms_msse id_as".13"
77 #define id_as_mdse_94 id_as".14"
78 #define id_as_mrse_94 id_as".15"
79 #define id_as_mase_94 id_as".16"
80 #define id_as_ms_94 id_as".17"
81 #define id_ase_msse id_ase".0"
82 #define id_ase_mdse id_ase".1"
83 #define id_ase_mrse id_ase".2"
84 #define id_ase_mase id_ase".3"
85 #define id_ase_mtse id_ase".4"
86 #define ub_additional_info 1024
87 #define ub_bilateral_info 1024
88 #define ub_bit_options 16
89 #define ub_built_in_content_type 32767
90 #define ub_built_in_encoded_information_types 32
91 #define ub_certificates 64
92 #define ub_common_name_length 64
93 #define ub_content_correlator_length 512
94 #define ub_content_id_length 16
95 #define ub_content_length 2147483647
96 #define ub_content_types 1024
97 #define ub_country_name_alpha_length 2
98 #define ub_country_name_numeric_length 3
99 #define ub_diagnostic_codes 32767
100 #define ub_deliverable_class 256
101 #define ub_dl_expansions 512
102 #define ub_domain_defined_attributes 4
103 #define ub_domain_defined_attribute_type_length 8
104 #define ub_domain_defined_attribute_value_length 128
105 #define ub_domain_name_length 16
106 #define ub_encoded_information_types 1024
107 #define ub_extension_attributes 256
108 #define ub_extension_types 256
109 #define ub_e163_4_number_length 15
110 #define ub_e163_4_sub_address_length 40
111 #define ub_generation_qualifier_length 3
112 #define ub_given_name_length 16
113 #define ub_initials_length 5
114 #define ub_integer_options 256
115 #define ub_labels_and_redirections 256
116 #define ub_local_id_length 32
117 #define ub_mta_name_length 32
118 #define ub_mts_user_types 256
119 #define ub_numeric_user_id_length 32
120 #define ub_organization_name_length 64
121 #define ub_organizational_unit_name_length 32
122 #define ub_organizational_units 4
123 #define ub_orig_and_dl_expansions 513
124 #define ub_password_length 62
125 #define ub_pds_name_length 16
126 #define ub_pds_parameter_length 30
127 #define ub_pds_physical_address_lines 6
128 #define ub_postal_code_length 16
129 #define ub_privacy_mark_length 128
130 #define ub_queue_size 2147483647
131 #define ub_reason_codes 32767
132 #define ub_recipient_number_for_advice_length 32
133 #define ub_recipients 32767
134 #define ub_redirection_classes 256
135 #define ub_redirections 512
136 #define ub_restrictions 1024
137 #define ub_security_categories 64
138 #define ub_security_labels 256
139 #define ub_security_problems 256
140 #define ub_string_length 2147483647
141 #define ub_supplementary_info_length 256
142 #define ub_surname_length 40
143 #define ub_teletex_private_use_length 128
144 #define ub_terminal_id_length 24
145 #define ub_transfers 512
146 #define ub_tsap_id_length 16
147 #define ub_unformatted_address_length 180
148 #define ub_universal_generation_qualifier_length 16
149 #define ub_universal_given_name_length 40
150 #define ub_universal_initials_length 16
151 #define ub_universal_surname_length 64
152 #define ub_x121_address_length 16
154 void p1_initialize_content_globals (asn1_ctx_t
* actx
, proto_tree
*tree
, bool report_unknown_cont_type
);
155 const char* p1_get_last_oraddress(asn1_ctx_t
* actx
);
156 int dissect_p1_mts_apdu (tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*parent_tree
, void* data
);
157 extern const value_string p1_Credentials_vals
[];
158 extern const value_string p1_SecurityProblem_vals
[];
159 extern const value_string p1_ContentType_vals
[];
160 extern const value_string p1_NonDeliveryReasonCode_vals
[];
161 extern const value_string p1_NonDeliveryDiagnosticCode_vals
[];
162 int dissect_p1_InitiatorCredentials(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
163 int dissect_p1_ResponderCredentials(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
164 int dissect_p1_Credentials(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
165 int dissect_p1_SecurityContext(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
166 int dissect_p1_ImproperlySpecifiedRecipients(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
167 int dissect_p1_SecurityProblem(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
168 int dissect_p1_MessageSubmissionIdentifier(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
169 int dissect_p1_MessageSubmissionTime(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
170 int dissect_p1_ProbeSubmissionIdentifier(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
171 int dissect_p1_ProbeSubmissionTime(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
172 int dissect_p1_EncodedInformationTypesConstraints(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
173 int dissect_p1_MessageSubmissionEnvelope(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
174 int dissect_p1_ProbeSubmissionEnvelope(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
175 int dissect_p1_PerRecipientProbeSubmissionFields(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
176 int dissect_p1_OtherMessageDeliveryFields(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
177 int dissect_p1_OriginatorName(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
178 int dissect_p1_OriginalEncodedInformationTypes(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
179 int dissect_p1_ContentType(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
180 int dissect_p1_ExtendedContentType(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
181 int dissect_p1_ContentIdentifier(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
182 int dissect_p1_PerMessageIndicators(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
183 int dissect_p1_ContentLength(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
184 int dissect_p1_MessageDeliveryIdentifier(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
185 int dissect_p1_MessageDeliveryTime(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
186 int dissect_p1_NonDeliveryReasonCode(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
187 int dissect_p1_NonDeliveryDiagnosticCode(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
188 int dissect_p1_SupplementaryInformation(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
189 int dissect_p1_ExtensionField(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
190 int dissect_p1_RequestedDeliveryMethod(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
191 int dissect_p1_MessageToken(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
192 int dissect_p1_ContentIntegrityCheck(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
193 int dissect_p1_MessageOriginAuthenticationCheck(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
194 int dissect_p1_MessageSecurityLabel(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
195 int dissect_p1_OriginatingMTACertificate(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
196 int dissect_p1_ProofOfSubmission(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
197 int dissect_p1_ExtendedCertificates(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
198 int dissect_p1_Content(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
199 int dissect_p1_ORAddressAndOrDirectoryName(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
200 int dissect_p1_ORName(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
201 int dissect_p1_ORAddress(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
202 int dissect_p1_UniversalOrBMPString(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
203 int dissect_p1_EncodedInformationTypes(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
204 int dissect_p1_G3FacsimileNonBasicParameters(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
205 int dissect_p1_TeletexNonBasicParameters(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
206 int dissect_p1_SecurityLabel(bool implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
207 int dissect_p1_MessageSecurityLabel_PDU(tvbuff_t
*tvb _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, void *data _U_
);
209 void proto_reg_handoff_p1(void);
210 void proto_register_p1(void);
212 #endif /* PACKET_P1_H */