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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
|
/* Do not modify this file. Changes will be overwritten. */
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-p1.h */
/* ../../tools/asn2wrs.py -b -C -p p1 -c ./p1.cnf -s ./packet-p1-template -D . -O ../../epan/dissectors MTAAbstractService.asn MTSAbstractService.asn MTSAccessProtocol.asn MHSProtocolObjectIdentifiers.asn MTSUpperBounds.asn */
/* Input file: packet-p1-template.h */
#line 1 "../../asn1/p1/packet-p1-template.h"
/* packet-p3.h
* Routines for X.411 (X.400 Message Transfer) packet dissection
* Graeme Lunt 2005
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef PACKET_P1_H
#define PACKET_P1_H
/*--- Included file: packet-p1-val.h ---*/
#line 1 "../../asn1/p1/packet-p1-val.h"
#define op_message_submission 3
#define op_probe_submission 4
#define op_cancel_deferred_delivery 7
#define op_submission_control 2
#define err_submission_control_violated 1
#define err_element_of_service_not_subscribed 4
#define err_deferred_delivery_cancellation_rejected 8
#define err_originator_invalid 2
#define err_recipient_improperly_specified 3
#define err_message_submission_identifier_invalid 7
#define err_inconsistent_request 11
#define err_security_error 12
#define err_unsupported_critical_function 13
#define err_remote_bind_error 15
#define op_message_delivery 5
#define op_report_delivery 6
#define op_delivery_control 2
#define err_delivery_control_violated 1
#define err_control_violates_registration 14
#define err_operation_refused 16
#define op_register 1
#define op_change_credentials 8
#define err_register_rejected 10
#define err_new_credentials_unacceptable 6
#define err_old_credentials_incorrectly_specified 5
#define id_mhs_protocols "2.6.0"
#define id_mhs_mod id_mhs_protocols".0"
#define id_ac id_mhs_protocols".1"
#define id_as id_mhs_protocols".2"
#define id_ase id_mhs_protocols".3"
#define id_mod_mts_access_protocol id_mhs_mod".1"
#define id_mod_ms_access_protocol id_mhs_mod".2"
#define id_mod_mts_transfer_protocol id_mhs_mod".3"
#define id_ac_mts_access_88 id_ac".0"
#define id_ac_mts_forced_access_88 id_ac".1"
#define id_ac_mts_reliable_access_88 id_ac".2"
#define id_ac_mts_forced_reliable_access_88 id_ac".3"
#define id_ac_mts_access_94 id_ac".7"
#define id_ac_mts_forced_access_94 id_ac".8"
#define id_ac_mts_reliable_access_94 id_ac".9"
#define id_ac_mts_forced_reliable_access_94 id_ac".10"
#define id_ac_ms_access_88 id_ac".4"
#define id_ac_ms_reliable_access_88 id_ac".5"
#define id_ac_ms_access_94 id_ac".11"
#define id_ac_ms_reliable_access_94 id_ac".12"
#define id_ac_mts_transfer id_ac".6"
#define id_as_msse id_as".1"
#define id_as_mdse_88 id_as".2"
#define id_as_mrse_88 id_as".5"
#define id_as_mase_88 id_as".6"
#define id_as_mtse id_as".7"
#define id_as_mts_rtse id_as".8"
#define id_as_ms_88 id_as".9"
#define id_as_ms_rtse id_as".10"
#define id_as_mts id_as".11"
#define id_as_mta_rtse id_as".12"
#define id_as_ms_msse id_as".13"
#define id_as_mdse_94 id_as".14"
#define id_as_mrse_94 id_as".15"
#define id_as_mase_94 id_as".16"
#define id_as_ms_94 id_as".17"
#define id_ase_msse id_ase".0"
#define id_ase_mdse id_ase".1"
#define id_ase_mrse id_ase".2"
#define id_ase_mase id_ase".3"
#define id_ase_mtse id_ase".4"
#define ub_additional_info 1024
#define ub_bilateral_info 1024
#define ub_bit_options 16
#define ub_built_in_content_type 32767
#define ub_built_in_encoded_information_types 32
#define ub_certificates 64
#define ub_common_name_length 64
#define ub_content_correlator_length 512
#define ub_content_id_length 16
#define ub_content_length 2147483647
#define ub_content_types 1024
#define ub_country_name_alpha_length 2
#define ub_country_name_numeric_length 3
#define ub_diagnostic_codes 32767
#define ub_deliverable_class 256
#define ub_dl_expansions 512
#define ub_domain_defined_attributes 4
#define ub_domain_defined_attribute_type_length 8
#define ub_domain_defined_attribute_value_length 128
#define ub_domain_name_length 16
#define ub_encoded_information_types 1024
#define ub_extension_attributes 256
#define ub_extension_types 256
#define ub_e163_4_number_length 15
#define ub_e163_4_sub_address_length 40
#define ub_generation_qualifier_length 3
#define ub_given_name_length 16
#define ub_initials_length 5
#define ub_integer_options 256
#define ub_labels_and_redirections 256
#define ub_local_id_length 32
#define ub_mta_name_length 32
#define ub_mts_user_types 256
#define ub_numeric_user_id_length 32
#define ub_organization_name_length 64
#define ub_organizational_unit_name_length 32
#define ub_organizational_units 4
#define ub_orig_and_dl_expansions 513
#define ub_password_length 62
#define ub_pds_name_length 16
#define ub_pds_parameter_length 30
#define ub_pds_physical_address_lines 6
#define ub_postal_code_length 16
#define ub_privacy_mark_length 128
#define ub_queue_size 2147483647
#define ub_reason_codes 32767
#define ub_recipient_number_for_advice_length 32
#define ub_recipients 32767
#define ub_redirection_classes 256
#define ub_redirections 512
#define ub_restrictions 1024
#define ub_security_categories 64
#define ub_security_labels 256
#define ub_security_problems 256
#define ub_string_length 2147483647
#define ub_supplementary_info_length 256
#define ub_surname_length 40
#define ub_teletex_private_use_length 128
#define ub_terminal_id_length 24
#define ub_transfers 512
#define ub_tsap_id_length 16
#define ub_unformatted_address_length 180
#define ub_universal_generation_qualifier_length 16
#define ub_universal_given_name_length 40
#define ub_universal_initials_length 16
#define ub_universal_surname_length 64
#define ub_x121_address_length 16
/*--- End of included file: packet-p1-val.h ---*/
#line 28 "../../asn1/p1/packet-p1-template.h"
void p1_initialize_content_globals (asn1_ctx_t* actx, proto_tree *tree, gboolean report_unknown_cont_type);
const char* p1_get_last_oraddress(asn1_ctx_t* actx);
void dissect_p1_mts_apdu (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree);
/*--- Included file: packet-p1-exp.h ---*/
#line 1 "../../asn1/p1/packet-p1-exp.h"
extern const value_string p1_Credentials_vals[];
extern const value_string p1_SecurityProblem_vals[];
extern const value_string p1_ContentType_vals[];
extern const value_string p1_NonDeliveryReasonCode_vals[];
extern const value_string p1_NonDeliveryDiagnosticCode_vals[];
int dissect_p1_InitiatorCredentials(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ResponderCredentials(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_Credentials(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_SecurityContext(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ImproperlySpecifiedRecipients(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_SecurityProblem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_MessageSubmissionIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_MessageSubmissionTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ProbeSubmissionIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ProbeSubmissionTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_EncodedInformationTypesConstraints(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_MessageSubmissionEnvelope(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ProbeSubmissionEnvelope(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_PerRecipientProbeSubmissionFields(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_OtherMessageDeliveryFields(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_OriginatorName(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_OriginalEncodedInformationTypes(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ContentType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ExtendedContentType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ContentIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_PerMessageIndicators(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ContentLength(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_MessageDeliveryIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_MessageDeliveryTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_NonDeliveryReasonCode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_NonDeliveryDiagnosticCode(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_SupplementaryInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ExtensionField(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_RequestedDeliveryMethod(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_MessageToken(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ContentIntegrityCheck(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_MessageOriginAuthenticationCheck(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_MessageSecurityLabel(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_OriginatingMTACertificate(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ProofOfSubmission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ExtendedCertificates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_Content(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ORAddressAndOrDirectoryName(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ORName(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_ORAddress(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_UniversalOrBMPString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_EncodedInformationTypes(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_G3FacsimileNonBasicParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_TeletexNonBasicParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_SecurityLabel(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
int dissect_p1_MessageSecurityLabel_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_);
/*--- End of included file: packet-p1-exp.h ---*/
#line 33 "../../asn1/p1/packet-p1-template.h"
void proto_reg_handoff_p1(void);
void proto_register_p1(void);
#endif /* PACKET_P1_H */
|