1 /* Do not modify this file. */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler */
4 /* ../../tools/asn2wrs.py -b -e -p dop -c dop.cnf -s packet-dop-template dop.asn */
6 /* Input file: packet-dop-template.c */
8 #line 1 "packet-dop-template.c"
10 * Routines for X.501 (DSA Operational Attributes) packet dissection
15 * Wireshark - Network traffic analyzer
16 * By Gerald Combs <gerald@wireshark.org>
17 * Copyright 1998 Gerald Combs
19 * This program is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU General Public License
21 * as published by the Free Software Foundation; either version 2
22 * of the License, or (at your option) any later version.
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
29 * You should have received a copy of the GNU General Public License
30 * along with this program; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
39 #include <epan/packet.h>
40 #include <epan/prefs.h>
41 #include <epan/conversation.h>
42 #include <epan/oid_resolv.h>
47 #include "packet-ber.h"
48 #include "packet-acse.h"
49 #include "packet-ros.h"
51 #include "packet-x509sat.h"
52 #include "packet-x509af.h"
53 #include "packet-x509if.h"
54 #include "packet-dap.h"
55 #include "packet-dsp.h"
56 #include "packet-crmf.h"
59 #include "packet-dop.h"
61 #define PNAME "X.501 Directory Operational Binding Management Protocol"
65 static guint global_dop_tcp_port = 102;
66 static guint tcp_port = 0;
67 static dissector_handle_t tpkt_handle = NULL;
68 void prefs_register_dop(void); /* forwad declaration for use in preferences registration */
70 /* Initialize the protocol and registered fields */
73 static struct SESSION_DATA_STRUCTURE* session = NULL;
74 static const char *binding_type = NULL; /* binding_type */
76 static int call_dop_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *col_info);
79 /*--- Included file: packet-dop-hf.c ---*/
80 #line 1 "packet-dop-hf.c"
81 static int hf_dop_DSEType_PDU = -1; /* DSEType */
82 static int hf_dop_SupplierInformation_PDU = -1; /* SupplierInformation */
83 static int hf_dop_ConsumerInformation_PDU = -1; /* ConsumerInformation */
84 static int hf_dop_SupplierAndConsumers_PDU = -1; /* SupplierAndConsumers */
85 static int hf_dop_HierarchicalAgreement_PDU = -1; /* HierarchicalAgreement */
86 static int hf_dop_SuperiorToSubordinate_PDU = -1; /* SuperiorToSubordinate */
87 static int hf_dop_SubordinateToSuperior_PDU = -1; /* SubordinateToSuperior */
88 static int hf_dop_SuperiorToSubordinateModification_PDU = -1; /* SuperiorToSubordinateModification */
89 static int hf_dop_NonSpecificHierarchicalAgreement_PDU = -1; /* NonSpecificHierarchicalAgreement */
90 static int hf_dop_NHOBSuperiorToSubordinate_PDU = -1; /* NHOBSuperiorToSubordinate */
91 static int hf_dop_NHOBSubordinateToSuperior_PDU = -1; /* NHOBSubordinateToSuperior */
92 static int hf_dop_ACIItem_PDU = -1; /* ACIItem */
93 static int hf_dop_ae_title = -1; /* Name */
94 static int hf_dop_address = -1; /* PresentationAddress */
95 static int hf_dop_protocolInformation = -1; /* SET_OF_ProtocolInformation */
96 static int hf_dop_protocolInformation_item = -1; /* ProtocolInformation */
97 static int hf_dop_agreementID = -1; /* OperationalBindingID */
98 static int hf_dop_supplier_is_master = -1; /* BOOLEAN */
99 static int hf_dop_non_supplying_master = -1; /* AccessPoint */
100 static int hf_dop_consumers = -1; /* SET_OF_AccessPoint */
101 static int hf_dop_consumers_item = -1; /* AccessPoint */
102 static int hf_dop_bindingType = -1; /* OBJECT_IDENTIFIER */
103 static int hf_dop_bindingID = -1; /* OperationalBindingID */
104 static int hf_dop_accessPoint = -1; /* AccessPoint */
105 static int hf_dop_establishInitiator = -1; /* EstablishArgumentInitiator */
106 static int hf_dop_establishSymmetric = -1; /* EstablishSymmetric */
107 static int hf_dop_establishRoleAInitiates = -1; /* EstablishRoleAInitiates */
108 static int hf_dop_establishRoleBInitiates = -1; /* EstablishRoleBInitiates */
109 static int hf_dop_agreement = -1; /* T_agreement */
110 static int hf_dop_valid = -1; /* Validity */
111 static int hf_dop_securityParameters = -1; /* SecurityParameters */
112 static int hf_dop_unsignedEstablishOperationalBindingArgument = -1; /* EstablishOperationalBindingArgumentData */
113 static int hf_dop_signedEstablishOperationalBindingArgument = -1; /* T_signedEstablishOperationalBindingArgument */
114 static int hf_dop_establishOperationalBindingArgument = -1; /* EstablishOperationalBindingArgumentData */
115 static int hf_dop_algorithmIdentifier = -1; /* AlgorithmIdentifier */
116 static int hf_dop_encrypted = -1; /* BIT_STRING */
117 static int hf_dop_identifier = -1; /* INTEGER */
118 static int hf_dop_version = -1; /* INTEGER */
119 static int hf_dop_validFrom = -1; /* T_validFrom */
120 static int hf_dop_now = -1; /* NULL */
121 static int hf_dop_time = -1; /* Time */
122 static int hf_dop_validUntil = -1; /* T_validUntil */
123 static int hf_dop_explicitTermination = -1; /* NULL */
124 static int hf_dop_utcTime = -1; /* UTCTime */
125 static int hf_dop_generalizedTime = -1; /* GeneralizedTime */
126 static int hf_dop_initiator = -1; /* T_initiator */
127 static int hf_dop_symmetric = -1; /* T_symmetric */
128 static int hf_dop_roleA_replies = -1; /* T_roleA_replies */
129 static int hf_dop_roleB_replies = -1; /* T_roleB_replies */
130 static int hf_dop_performer = -1; /* DistinguishedName */
131 static int hf_dop_aliasDereferenced = -1; /* BOOLEAN */
132 static int hf_dop_notification = -1; /* SEQUENCE_SIZE_1_MAX_OF_Attribute */
133 static int hf_dop_notification_item = -1; /* Attribute */
134 static int hf_dop_modifyInitiator = -1; /* ModifyArgumentInitiator */
135 static int hf_dop_modifySymmetric = -1; /* ModifySymmetric */
136 static int hf_dop_modifyRoleAInitiates = -1; /* ModifyRoleAInitiates */
137 static int hf_dop_modifyRoleBInitiates = -1; /* ModifyRoleBInitiates */
138 static int hf_dop_newBindingID = -1; /* OperationalBindingID */
139 static int hf_dop_argumentNewAgreement = -1; /* ArgumentNewAgreement */
140 static int hf_dop_unsignedModifyOperationalBindingArgument = -1; /* ModifyOperationalBindingArgumentData */
141 static int hf_dop_signedModifyOperationalBindingArgument = -1; /* T_signedModifyOperationalBindingArgument */
142 static int hf_dop_modifyOperationalBindingArgument = -1; /* ModifyOperationalBindingArgumentData */
143 static int hf_dop_null = -1; /* NULL */
144 static int hf_dop_protectedModifyResult = -1; /* ProtectedModifyResult */
145 static int hf_dop_modifyOperationalBindingResultData = -1; /* ModifyOperationalBindingResultData */
146 static int hf_dop_resultNewAgreement = -1; /* ResultNewAgreement */
147 static int hf_dop_terminateInitiator = -1; /* TerminateArgumentInitiator */
148 static int hf_dop_terminateSymmetric = -1; /* TerminateSymmetric */
149 static int hf_dop_terminateRoleAInitiates = -1; /* TerminateRoleAInitiates */
150 static int hf_dop_terminateRoleBInitiates = -1; /* TerminateRoleBInitiates */
151 static int hf_dop_terminateAtTime = -1; /* Time */
152 static int hf_dop_unsignedTerminateOperationalBindingArgument = -1; /* TerminateOperationalBindingArgumentData */
153 static int hf_dop_signedTerminateOperationalBindingArgument = -1; /* T_signedTerminateOperationalBindingArgument */
154 static int hf_dop_terminateOperationalBindingArgument = -1; /* TerminateOperationalBindingArgumentData */
155 static int hf_dop_protectedTerminateResult = -1; /* ProtectedTerminateResult */
156 static int hf_dop_terminateOperationalBindingResultData = -1; /* TerminateOperationalBindingResultData */
157 static int hf_dop_terminateAtGeneralizedTime = -1; /* GeneralizedTime */
158 static int hf_dop_problem = -1; /* T_problem */
159 static int hf_dop_agreementProposal = -1; /* T_agreementProposal */
160 static int hf_dop_retryAt = -1; /* Time */
161 static int hf_dop_rdn = -1; /* RelativeDistinguishedName */
162 static int hf_dop_immediateSuperior = -1; /* DistinguishedName */
163 static int hf_dop_contextPrefixInfo = -1; /* DITcontext */
164 static int hf_dop_entryInfo = -1; /* SET_OF_Attribute */
165 static int hf_dop_entryInfo_item = -1; /* Attribute */
166 static int hf_dop_immediateSuperiorInfo = -1; /* SET_OF_Attribute */
167 static int hf_dop_immediateSuperiorInfo_item = -1; /* Attribute */
168 static int hf_dop_DITcontext_item = -1; /* Vertex */
169 static int hf_dop_admPointInfo = -1; /* SET_OF_Attribute */
170 static int hf_dop_admPointInfo_item = -1; /* Attribute */
171 static int hf_dop_subentries = -1; /* SET_OF_SubentryInfo */
172 static int hf_dop_subentries_item = -1; /* SubentryInfo */
173 static int hf_dop_accessPoints = -1; /* MasterAndShadowAccessPoints */
174 static int hf_dop_info = -1; /* SET_OF_Attribute */
175 static int hf_dop_info_item = -1; /* Attribute */
176 static int hf_dop_alias = -1; /* BOOLEAN */
177 static int hf_dop_identificationTag = -1; /* DirectoryString */
178 static int hf_dop_precedence = -1; /* Precedence */
179 static int hf_dop_authenticationLevel = -1; /* AuthenticationLevel */
180 static int hf_dop_itemOrUserFirst = -1; /* T_itemOrUserFirst */
181 static int hf_dop_itemFirst = -1; /* T_itemFirst */
182 static int hf_dop_protectedItems = -1; /* ProtectedItems */
183 static int hf_dop_itemPermissions = -1; /* SET_OF_ItemPermission */
184 static int hf_dop_itemPermissions_item = -1; /* ItemPermission */
185 static int hf_dop_userFirst = -1; /* T_userFirst */
186 static int hf_dop_userClasses = -1; /* UserClasses */
187 static int hf_dop_userPermissions = -1; /* SET_OF_UserPermission */
188 static int hf_dop_userPermissions_item = -1; /* UserPermission */
189 static int hf_dop_entry = -1; /* NULL */
190 static int hf_dop_allUserAttributeTypes = -1; /* NULL */
191 static int hf_dop_attributeType = -1; /* SET_OF_AttributeType */
192 static int hf_dop_attributeType_item = -1; /* AttributeType */
193 static int hf_dop_allAttributeValues = -1; /* SET_OF_AttributeType */
194 static int hf_dop_allAttributeValues_item = -1; /* AttributeType */
195 static int hf_dop_allUserAttributeTypesAndValues = -1; /* NULL */
196 static int hf_dop_attributeValue = -1; /* SET_OF_AttributeTypeAndValue */
197 static int hf_dop_attributeValue_item = -1; /* AttributeTypeAndValue */
198 static int hf_dop_selfValue = -1; /* SET_OF_AttributeType */
199 static int hf_dop_selfValue_item = -1; /* AttributeType */
200 static int hf_dop_rangeOfValues = -1; /* Filter */
201 static int hf_dop_maxValueCount = -1; /* SET_OF_MaxValueCount */
202 static int hf_dop_maxValueCount_item = -1; /* MaxValueCount */
203 static int hf_dop_maxImmSub = -1; /* INTEGER */
204 static int hf_dop_restrictedBy = -1; /* SET_OF_RestrictedValue */
205 static int hf_dop_restrictedBy_item = -1; /* RestrictedValue */
206 static int hf_dop_contexts = -1; /* SET_OF_ContextAssertion */
207 static int hf_dop_contexts_item = -1; /* ContextAssertion */
208 static int hf_dop_classes = -1; /* Refinement */
209 static int hf_dop_type = -1; /* AttributeType */
210 static int hf_dop_maxCount = -1; /* INTEGER */
211 static int hf_dop_valuesIn = -1; /* AttributeType */
212 static int hf_dop_allUsers = -1; /* NULL */
213 static int hf_dop_thisEntry = -1; /* NULL */
214 static int hf_dop_name = -1; /* SET_OF_NameAndOptionalUID */
215 static int hf_dop_name_item = -1; /* NameAndOptionalUID */
216 static int hf_dop_userGroup = -1; /* SET_OF_NameAndOptionalUID */
217 static int hf_dop_userGroup_item = -1; /* NameAndOptionalUID */
218 static int hf_dop_subtree = -1; /* SET_OF_SubtreeSpecification */
219 static int hf_dop_subtree_item = -1; /* SubtreeSpecification */
220 static int hf_dop_grantsAndDenials = -1; /* GrantsAndDenials */
221 static int hf_dop_basicLevels = -1; /* T_basicLevels */
222 static int hf_dop_level = -1; /* T_level */
223 static int hf_dop_localQualifier = -1; /* INTEGER */
224 static int hf_dop_signed = -1; /* BOOLEAN */
225 static int hf_dop_other = -1; /* EXTERNAL */
227 static int hf_dop_DSEType_root = -1;
228 static int hf_dop_DSEType_glue = -1;
229 static int hf_dop_DSEType_cp = -1;
230 static int hf_dop_DSEType_entry = -1;
231 static int hf_dop_DSEType_alias = -1;
232 static int hf_dop_DSEType_subr = -1;
233 static int hf_dop_DSEType_nssr = -1;
234 static int hf_dop_DSEType_supr = -1;
235 static int hf_dop_DSEType_xr = -1;
236 static int hf_dop_DSEType_admPoint = -1;
237 static int hf_dop_DSEType_subentry = -1;
238 static int hf_dop_DSEType_shadow = -1;
239 static int hf_dop_DSEType_immSupr = -1;
240 static int hf_dop_DSEType_rhob = -1;
241 static int hf_dop_DSEType_sa = -1;
242 static int hf_dop_DSEType_dsSubentry = -1;
243 static int hf_dop_DSEType_familyMember = -1;
244 static int hf_dop_GrantsAndDenials_grantAdd = -1;
245 static int hf_dop_GrantsAndDenials_denyAdd = -1;
246 static int hf_dop_GrantsAndDenials_grantDiscloseOnError = -1;
247 static int hf_dop_GrantsAndDenials_denyDiscloseOnError = -1;
248 static int hf_dop_GrantsAndDenials_grantRead = -1;
249 static int hf_dop_GrantsAndDenials_denyRead = -1;
250 static int hf_dop_GrantsAndDenials_grantRemove = -1;
251 static int hf_dop_GrantsAndDenials_denyRemove = -1;
252 static int hf_dop_GrantsAndDenials_grantBrowse = -1;
253 static int hf_dop_GrantsAndDenials_denyBrowse = -1;
254 static int hf_dop_GrantsAndDenials_grantExport = -1;
255 static int hf_dop_GrantsAndDenials_denyExport = -1;
256 static int hf_dop_GrantsAndDenials_grantImport = -1;
257 static int hf_dop_GrantsAndDenials_denyImport = -1;
258 static int hf_dop_GrantsAndDenials_grantModify = -1;
259 static int hf_dop_GrantsAndDenials_denyModify = -1;
260 static int hf_dop_GrantsAndDenials_grantRename = -1;
261 static int hf_dop_GrantsAndDenials_denyRename = -1;
262 static int hf_dop_GrantsAndDenials_grantReturnDN = -1;
263 static int hf_dop_GrantsAndDenials_denyReturnDN = -1;
264 static int hf_dop_GrantsAndDenials_grantCompare = -1;
265 static int hf_dop_GrantsAndDenials_denyCompare = -1;
266 static int hf_dop_GrantsAndDenials_grantFilterMatch = -1;
267 static int hf_dop_GrantsAndDenials_denyFilterMatch = -1;
268 static int hf_dop_GrantsAndDenials_grantInvoke = -1;
269 static int hf_dop_GrantsAndDenials_denyInvoke = -1;
271 /*--- End of included file: packet-dop-hf.c ---*/
272 #line 71 "packet-dop-template.c"
274 /* Initialize the subtree pointers */
275 static gint ett_dop = -1;
277 /*--- Included file: packet-dop-ett.c ---*/
278 #line 1 "packet-dop-ett.c"
279 static gint ett_dop_DSEType = -1;
280 static gint ett_dop_SupplierOrConsumer = -1;
281 static gint ett_dop_SET_OF_ProtocolInformation = -1;
282 static gint ett_dop_SupplierInformation = -1;
283 static gint ett_dop_SupplierAndConsumers = -1;
284 static gint ett_dop_SET_OF_AccessPoint = -1;
285 static gint ett_dop_EstablishOperationalBindingArgumentData = -1;
286 static gint ett_dop_EstablishArgumentInitiator = -1;
287 static gint ett_dop_EstablishOperationalBindingArgument = -1;
288 static gint ett_dop_T_signedEstablishOperationalBindingArgument = -1;
289 static gint ett_dop_OperationalBindingID = -1;
290 static gint ett_dop_Validity = -1;
291 static gint ett_dop_T_validFrom = -1;
292 static gint ett_dop_T_validUntil = -1;
293 static gint ett_dop_Time = -1;
294 static gint ett_dop_EstablishOperationalBindingResult = -1;
295 static gint ett_dop_T_initiator = -1;
296 static gint ett_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute = -1;
297 static gint ett_dop_ModifyOperationalBindingArgumentData = -1;
298 static gint ett_dop_ModifyArgumentInitiator = -1;
299 static gint ett_dop_ModifyOperationalBindingArgument = -1;
300 static gint ett_dop_T_signedModifyOperationalBindingArgument = -1;
301 static gint ett_dop_ModifyOperationalBindingResult = -1;
302 static gint ett_dop_ProtectedModifyResult = -1;
303 static gint ett_dop_ModifyOperationalBindingResultData = -1;
304 static gint ett_dop_TerminateOperationalBindingArgumentData = -1;
305 static gint ett_dop_TerminateArgumentInitiator = -1;
306 static gint ett_dop_TerminateOperationalBindingArgument = -1;
307 static gint ett_dop_T_signedTerminateOperationalBindingArgument = -1;
308 static gint ett_dop_TerminateOperationalBindingResult = -1;
309 static gint ett_dop_ProtectedTerminateResult = -1;
310 static gint ett_dop_TerminateOperationalBindingResultData = -1;
311 static gint ett_dop_OpBindingErrorParam = -1;
312 static gint ett_dop_HierarchicalAgreement = -1;
313 static gint ett_dop_SuperiorToSubordinate = -1;
314 static gint ett_dop_SET_OF_Attribute = -1;
315 static gint ett_dop_DITcontext = -1;
316 static gint ett_dop_Vertex = -1;
317 static gint ett_dop_SET_OF_SubentryInfo = -1;
318 static gint ett_dop_SubentryInfo = -1;
319 static gint ett_dop_SubordinateToSuperior = -1;
320 static gint ett_dop_SuperiorToSubordinateModification = -1;
321 static gint ett_dop_NonSpecificHierarchicalAgreement = -1;
322 static gint ett_dop_NHOBSuperiorToSubordinate = -1;
323 static gint ett_dop_NHOBSubordinateToSuperior = -1;
324 static gint ett_dop_ACIItem = -1;
325 static gint ett_dop_T_itemOrUserFirst = -1;
326 static gint ett_dop_T_itemFirst = -1;
327 static gint ett_dop_SET_OF_ItemPermission = -1;
328 static gint ett_dop_T_userFirst = -1;
329 static gint ett_dop_SET_OF_UserPermission = -1;
330 static gint ett_dop_ProtectedItems = -1;
331 static gint ett_dop_SET_OF_AttributeType = -1;
332 static gint ett_dop_SET_OF_AttributeTypeAndValue = -1;
333 static gint ett_dop_SET_OF_MaxValueCount = -1;
334 static gint ett_dop_SET_OF_RestrictedValue = -1;
335 static gint ett_dop_SET_OF_ContextAssertion = -1;
336 static gint ett_dop_MaxValueCount = -1;
337 static gint ett_dop_RestrictedValue = -1;
338 static gint ett_dop_UserClasses = -1;
339 static gint ett_dop_SET_OF_NameAndOptionalUID = -1;
340 static gint ett_dop_SET_OF_SubtreeSpecification = -1;
341 static gint ett_dop_ItemPermission = -1;
342 static gint ett_dop_UserPermission = -1;
343 static gint ett_dop_AuthenticationLevel = -1;
344 static gint ett_dop_T_basicLevels = -1;
345 static gint ett_dop_GrantsAndDenials = -1;
347 /*--- End of included file: packet-dop-ett.c ---*/
348 #line 75 "packet-dop-template.c"
351 /*--- Included file: packet-dop-fn.c ---*/
352 #line 1 "packet-dop-fn.c"
353 /*--- Fields for imported types ---*/
355 static int dissect_ae_title(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
356 return dissect_x509if_Name(FALSE, tvb, offset, pinfo, tree, hf_dop_ae_title);
358 static int dissect_address(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
359 return dissect_x509sat_PresentationAddress(FALSE, tvb, offset, pinfo, tree, hf_dop_address);
361 static int dissect_protocolInformation_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
362 return dissect_x509sat_ProtocolInformation(FALSE, tvb, offset, pinfo, tree, hf_dop_protocolInformation_item);
364 static int dissect_non_supplying_master(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
365 return dissect_dsp_AccessPoint(FALSE, tvb, offset, pinfo, tree, hf_dop_non_supplying_master);
367 static int dissect_consumers_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
368 return dissect_dsp_AccessPoint(FALSE, tvb, offset, pinfo, tree, hf_dop_consumers_item);
370 static int dissect_accessPoint(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
371 return dissect_dsp_AccessPoint(FALSE, tvb, offset, pinfo, tree, hf_dop_accessPoint);
373 static int dissect_securityParameters(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
374 return dissect_dap_SecurityParameters(FALSE, tvb, offset, pinfo, tree, hf_dop_securityParameters);
376 static int dissect_algorithmIdentifier(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
377 return dissect_x509af_AlgorithmIdentifier(FALSE, tvb, offset, pinfo, tree, hf_dop_algorithmIdentifier);
379 static int dissect_performer(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
380 return dissect_x509if_DistinguishedName(FALSE, tvb, offset, pinfo, tree, hf_dop_performer);
382 static int dissect_notification_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
383 return dissect_x509if_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_notification_item);
385 static int dissect_rdn(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
386 return dissect_x509if_RelativeDistinguishedName(FALSE, tvb, offset, pinfo, tree, hf_dop_rdn);
388 static int dissect_immediateSuperior(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
389 return dissect_x509if_DistinguishedName(FALSE, tvb, offset, pinfo, tree, hf_dop_immediateSuperior);
391 static int dissect_entryInfo_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
392 return dissect_x509if_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_entryInfo_item);
394 static int dissect_immediateSuperiorInfo_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
395 return dissect_x509if_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_immediateSuperiorInfo_item);
397 static int dissect_admPointInfo_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
398 return dissect_x509if_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_admPointInfo_item);
400 static int dissect_accessPoints(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
401 return dissect_dsp_MasterAndShadowAccessPoints(FALSE, tvb, offset, pinfo, tree, hf_dop_accessPoints);
403 static int dissect_info_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
404 return dissect_x509if_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_info_item);
406 static int dissect_identificationTag(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
407 return dissect_x509sat_DirectoryString(FALSE, tvb, offset, pinfo, tree, hf_dop_identificationTag);
409 static int dissect_attributeType_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
410 return dissect_x509if_AttributeType(FALSE, tvb, offset, pinfo, tree, hf_dop_attributeType_item);
412 static int dissect_allAttributeValues_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
413 return dissect_x509if_AttributeType(FALSE, tvb, offset, pinfo, tree, hf_dop_allAttributeValues_item);
415 static int dissect_attributeValue_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
416 return dissect_crmf_AttributeTypeAndValue(FALSE, tvb, offset, pinfo, tree, hf_dop_attributeValue_item);
418 static int dissect_selfValue_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
419 return dissect_x509if_AttributeType(FALSE, tvb, offset, pinfo, tree, hf_dop_selfValue_item);
421 static int dissect_rangeOfValues(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
422 return dissect_dap_Filter(FALSE, tvb, offset, pinfo, tree, hf_dop_rangeOfValues);
424 static int dissect_contexts_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
425 return dissect_x509if_ContextAssertion(FALSE, tvb, offset, pinfo, tree, hf_dop_contexts_item);
427 static int dissect_classes(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
428 return dissect_x509if_Refinement(FALSE, tvb, offset, pinfo, tree, hf_dop_classes);
430 static int dissect_type(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
431 return dissect_x509if_AttributeType(FALSE, tvb, offset, pinfo, tree, hf_dop_type);
433 static int dissect_valuesIn(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
434 return dissect_x509if_AttributeType(FALSE, tvb, offset, pinfo, tree, hf_dop_valuesIn);
436 static int dissect_name_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
437 return dissect_x509sat_NameAndOptionalUID(FALSE, tvb, offset, pinfo, tree, hf_dop_name_item);
439 static int dissect_userGroup_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
440 return dissect_x509sat_NameAndOptionalUID(FALSE, tvb, offset, pinfo, tree, hf_dop_userGroup_item);
442 static int dissect_subtree_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
443 return dissect_x509if_SubtreeSpecification(FALSE, tvb, offset, pinfo, tree, hf_dop_subtree_item);
445 static int dissect_other(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
446 return dissect_acse_EXTERNAL(FALSE, tvb, offset, pinfo, tree, hf_dop_other);
450 static const asn_namedbit DSEType_bits[] = {
451 { 0, &hf_dop_DSEType_root, -1, -1, "root", NULL },
452 { 1, &hf_dop_DSEType_glue, -1, -1, "glue", NULL },
453 { 2, &hf_dop_DSEType_cp, -1, -1, "cp", NULL },
454 { 3, &hf_dop_DSEType_entry, -1, -1, "entry", NULL },
455 { 4, &hf_dop_DSEType_alias, -1, -1, "alias", NULL },
456 { 5, &hf_dop_DSEType_subr, -1, -1, "subr", NULL },
457 { 6, &hf_dop_DSEType_nssr, -1, -1, "nssr", NULL },
458 { 7, &hf_dop_DSEType_supr, -1, -1, "supr", NULL },
459 { 8, &hf_dop_DSEType_xr, -1, -1, "xr", NULL },
460 { 9, &hf_dop_DSEType_admPoint, -1, -1, "admPoint", NULL },
461 { 10, &hf_dop_DSEType_subentry, -1, -1, "subentry", NULL },
462 { 11, &hf_dop_DSEType_shadow, -1, -1, "shadow", NULL },
463 { 13, &hf_dop_DSEType_immSupr, -1, -1, "immSupr", NULL },
464 { 14, &hf_dop_DSEType_rhob, -1, -1, "rhob", NULL },
465 { 15, &hf_dop_DSEType_sa, -1, -1, "sa", NULL },
466 { 16, &hf_dop_DSEType_dsSubentry, -1, -1, "dsSubentry", NULL },
467 { 17, &hf_dop_DSEType_familyMember, -1, -1, "familyMember", NULL },
468 { 0, NULL, 0, 0, NULL, NULL }
472 dissect_dop_DSEType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
473 offset = dissect_ber_bitstring(implicit_tag, pinfo, tree, tvb, offset,
474 DSEType_bits, hf_index, ett_dop_DSEType,
481 static const ber_sequence_t SET_OF_ProtocolInformation_set_of[1] = {
482 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_protocolInformation_item },
486 dissect_dop_SET_OF_ProtocolInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
487 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
488 SET_OF_ProtocolInformation_set_of, hf_index, ett_dop_SET_OF_ProtocolInformation);
492 static int dissect_protocolInformation(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
493 return dissect_dop_SET_OF_ProtocolInformation(FALSE, tvb, offset, pinfo, tree, hf_dop_protocolInformation);
499 dissect_dop_INTEGER(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
503 offset = dissect_ber_integer(implicit_tag, pinfo, tree, tvb, offset, hf_index,
507 if (check_col(pinfo->cinfo, COL_INFO)) {
508 if(hf_index == hf_dop_identifier) {
509 col_append_fstr(pinfo->cinfo, COL_INFO, " id=%d", value);
510 } else if (hf_index == hf_dop_version) {
511 col_append_fstr(pinfo->cinfo, COL_INFO, ",%d", value);
519 static int dissect_identifier(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
520 return dissect_dop_INTEGER(FALSE, tvb, offset, pinfo, tree, hf_dop_identifier);
522 static int dissect_version(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
523 return dissect_dop_INTEGER(FALSE, tvb, offset, pinfo, tree, hf_dop_version);
525 static int dissect_maxImmSub(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
526 return dissect_dop_INTEGER(FALSE, tvb, offset, pinfo, tree, hf_dop_maxImmSub);
528 static int dissect_maxCount(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
529 return dissect_dop_INTEGER(FALSE, tvb, offset, pinfo, tree, hf_dop_maxCount);
531 static int dissect_localQualifier(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
532 return dissect_dop_INTEGER(FALSE, tvb, offset, pinfo, tree, hf_dop_localQualifier);
536 static const ber_sequence_t OperationalBindingID_sequence[] = {
537 { BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_identifier },
538 { BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_version },
543 dissect_dop_OperationalBindingID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
544 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
545 OperationalBindingID_sequence, hf_index, ett_dop_OperationalBindingID);
549 static int dissect_agreementID(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
550 return dissect_dop_OperationalBindingID(FALSE, tvb, offset, pinfo, tree, hf_dop_agreementID);
552 static int dissect_bindingID(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
553 return dissect_dop_OperationalBindingID(FALSE, tvb, offset, pinfo, tree, hf_dop_bindingID);
555 static int dissect_newBindingID(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
556 return dissect_dop_OperationalBindingID(FALSE, tvb, offset, pinfo, tree, hf_dop_newBindingID);
560 static const ber_sequence_t SupplierOrConsumer_set[] = {
561 { BER_CLASS_CON, 0, 0, dissect_ae_title },
562 { BER_CLASS_CON, 1, 0, dissect_address },
563 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_protocolInformation },
564 { BER_CLASS_CON, 3, 0, dissect_agreementID },
569 dissect_dop_SupplierOrConsumer(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
570 offset = dissect_ber_set(implicit_tag, pinfo, tree, tvb, offset,
571 SupplierOrConsumer_set, hf_index, ett_dop_SupplierOrConsumer);
579 dissect_dop_BOOLEAN(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
580 offset = dissect_ber_boolean(implicit_tag, pinfo, tree, tvb, offset, hf_index);
584 static int dissect_supplier_is_master(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
585 return dissect_dop_BOOLEAN(FALSE, tvb, offset, pinfo, tree, hf_dop_supplier_is_master);
587 static int dissect_aliasDereferenced(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
588 return dissect_dop_BOOLEAN(FALSE, tvb, offset, pinfo, tree, hf_dop_aliasDereferenced);
590 static int dissect_alias(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
591 return dissect_dop_BOOLEAN(FALSE, tvb, offset, pinfo, tree, hf_dop_alias);
593 static int dissect_signed(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
594 return dissect_dop_BOOLEAN(FALSE, tvb, offset, pinfo, tree, hf_dop_signed);
598 static const ber_sequence_t SupplierInformation_set[] = {
599 { BER_CLASS_CON, 0, 0, dissect_ae_title },
600 { BER_CLASS_CON, 1, 0, dissect_address },
601 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_protocolInformation },
602 { BER_CLASS_CON, 3, 0, dissect_agreementID },
603 { BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_supplier_is_master },
604 { BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_non_supplying_master },
609 dissect_dop_SupplierInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
610 offset = dissect_ber_set(implicit_tag, pinfo, tree, tvb, offset,
611 SupplierInformation_set, hf_index, ett_dop_SupplierInformation);
619 dissect_dop_ConsumerInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
620 offset = dissect_dop_SupplierOrConsumer(implicit_tag, tvb, offset, pinfo, tree, hf_index);
626 static const ber_sequence_t SET_OF_AccessPoint_set_of[1] = {
627 { BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_consumers_item },
631 dissect_dop_SET_OF_AccessPoint(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
632 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
633 SET_OF_AccessPoint_set_of, hf_index, ett_dop_SET_OF_AccessPoint);
637 static int dissect_consumers(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
638 return dissect_dop_SET_OF_AccessPoint(FALSE, tvb, offset, pinfo, tree, hf_dop_consumers);
642 static const ber_sequence_t SupplierAndConsumers_set[] = {
643 { BER_CLASS_CON, 0, 0, dissect_ae_title },
644 { BER_CLASS_CON, 1, 0, dissect_address },
645 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_protocolInformation },
646 { BER_CLASS_CON, 3, 0, dissect_consumers },
651 dissect_dop_SupplierAndConsumers(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
652 offset = dissect_ber_set(implicit_tag, pinfo, tree, tvb, offset,
653 SupplierAndConsumers_set, hf_index, ett_dop_SupplierAndConsumers);
661 dissect_dop_DSAOperationalManagementBindArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
662 offset = dissect_dap_DirectoryBindArgument(implicit_tag, tvb, offset, pinfo, tree, hf_index);
670 dissect_dop_DSAOperationalManagementBindResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
671 offset = dissect_dap_DirectoryBindArgument(implicit_tag, tvb, offset, pinfo, tree, hf_index);
679 dissect_dop_DSAOperationalManagementBindError(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
680 offset = dissect_dap_DirectoryBindError(implicit_tag, tvb, offset, pinfo, tree, hf_index);
688 dissect_dop_OBJECT_IDENTIFIER(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
692 offset = dissect_ber_object_identifier_str(implicit_tag, pinfo, tree, tvb, offset, hf_index, &binding_type);
695 if(check_col(pinfo->cinfo, COL_INFO)) {
696 name = get_oid_str_name(binding_type);
697 col_append_fstr(pinfo->cinfo, COL_INFO, " %s", name ? name : binding_type);
704 static int dissect_bindingType(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
705 return dissect_dop_OBJECT_IDENTIFIER(FALSE, tvb, offset, pinfo, tree, hf_dop_bindingType);
711 dissect_dop_EstablishSymmetric(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
714 offset = call_dop_oid_callback("dop.establish.symmetric", tvb, offset, pinfo, tree, "symmetric");
720 static int dissect_establishSymmetric(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
721 return dissect_dop_EstablishSymmetric(FALSE, tvb, offset, pinfo, tree, hf_dop_establishSymmetric);
727 dissect_dop_EstablishRoleAInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
730 offset = call_dop_oid_callback("dop.establish.rolea", tvb, offset, pinfo, tree, "roleA");
736 static int dissect_establishRoleAInitiates(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
737 return dissect_dop_EstablishRoleAInitiates(FALSE, tvb, offset, pinfo, tree, hf_dop_establishRoleAInitiates);
743 dissect_dop_EstablishRoleBInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
746 offset = call_dop_oid_callback("dop.establish.roleb", tvb, offset, pinfo, tree, "roleB");
752 static int dissect_establishRoleBInitiates(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
753 return dissect_dop_EstablishRoleBInitiates(FALSE, tvb, offset, pinfo, tree, hf_dop_establishRoleBInitiates);
757 static const value_string dop_EstablishArgumentInitiator_vals[] = {
759 { 4, "roleA-initiates" },
760 { 5, "roleB-initiates" },
764 static const ber_choice_t EstablishArgumentInitiator_choice[] = {
765 { 3, BER_CLASS_CON, 3, 0, dissect_establishSymmetric },
766 { 4, BER_CLASS_CON, 4, 0, dissect_establishRoleAInitiates },
767 { 5, BER_CLASS_CON, 5, 0, dissect_establishRoleBInitiates },
772 dissect_dop_EstablishArgumentInitiator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
773 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
774 EstablishArgumentInitiator_choice, hf_index, ett_dop_EstablishArgumentInitiator,
779 static int dissect_establishInitiator(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
780 return dissect_dop_EstablishArgumentInitiator(FALSE, tvb, offset, pinfo, tree, hf_dop_establishInitiator);
786 dissect_dop_T_agreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
789 offset = call_dop_oid_callback("dop.agreement", tvb, offset, pinfo, tree, NULL);
795 static int dissect_agreement(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
796 return dissect_dop_T_agreement(FALSE, tvb, offset, pinfo, tree, hf_dop_agreement);
802 dissect_dop_NULL(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
803 offset = dissect_ber_null(implicit_tag, pinfo, tree, tvb, offset, hf_index);
807 static int dissect_now(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
808 return dissect_dop_NULL(FALSE, tvb, offset, pinfo, tree, hf_dop_now);
810 static int dissect_explicitTermination(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
811 return dissect_dop_NULL(FALSE, tvb, offset, pinfo, tree, hf_dop_explicitTermination);
813 static int dissect_null(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
814 return dissect_dop_NULL(FALSE, tvb, offset, pinfo, tree, hf_dop_null);
816 static int dissect_entry(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
817 return dissect_dop_NULL(FALSE, tvb, offset, pinfo, tree, hf_dop_entry);
819 static int dissect_allUserAttributeTypes(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
820 return dissect_dop_NULL(FALSE, tvb, offset, pinfo, tree, hf_dop_allUserAttributeTypes);
822 static int dissect_allUserAttributeTypesAndValues(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
823 return dissect_dop_NULL(FALSE, tvb, offset, pinfo, tree, hf_dop_allUserAttributeTypesAndValues);
825 static int dissect_allUsers(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
826 return dissect_dop_NULL(FALSE, tvb, offset, pinfo, tree, hf_dop_allUsers);
828 static int dissect_thisEntry(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
829 return dissect_dop_NULL(FALSE, tvb, offset, pinfo, tree, hf_dop_thisEntry);
835 dissect_dop_UTCTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
836 offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_UTCTime,
837 pinfo, tree, tvb, offset, hf_index,
842 static int dissect_utcTime(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
843 return dissect_dop_UTCTime(FALSE, tvb, offset, pinfo, tree, hf_dop_utcTime);
849 dissect_dop_GeneralizedTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
850 offset = dissect_ber_GeneralizedTime(implicit_tag, pinfo, tree, tvb, offset, hf_index);
854 static int dissect_generalizedTime(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
855 return dissect_dop_GeneralizedTime(FALSE, tvb, offset, pinfo, tree, hf_dop_generalizedTime);
857 static int dissect_terminateAtGeneralizedTime(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
858 return dissect_dop_GeneralizedTime(FALSE, tvb, offset, pinfo, tree, hf_dop_terminateAtGeneralizedTime);
862 static const value_string dop_Time_vals[] = {
864 { 1, "generalizedTime" },
868 static const ber_choice_t Time_choice[] = {
869 { 0, BER_CLASS_UNI, BER_UNI_TAG_UTCTime, BER_FLAGS_NOOWNTAG, dissect_utcTime },
870 { 1, BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_NOOWNTAG, dissect_generalizedTime },
875 dissect_dop_Time(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
876 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
877 Time_choice, hf_index, ett_dop_Time,
882 static int dissect_time(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
883 return dissect_dop_Time(FALSE, tvb, offset, pinfo, tree, hf_dop_time);
885 static int dissect_terminateAtTime(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
886 return dissect_dop_Time(FALSE, tvb, offset, pinfo, tree, hf_dop_terminateAtTime);
888 static int dissect_retryAt(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
889 return dissect_dop_Time(FALSE, tvb, offset, pinfo, tree, hf_dop_retryAt);
893 static const value_string dop_T_validFrom_vals[] = {
899 static const ber_choice_t T_validFrom_choice[] = {
900 { 0, BER_CLASS_CON, 0, 0, dissect_now },
901 { 1, BER_CLASS_CON, 1, 0, dissect_time },
906 dissect_dop_T_validFrom(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
907 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
908 T_validFrom_choice, hf_index, ett_dop_T_validFrom,
913 static int dissect_validFrom(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
914 return dissect_dop_T_validFrom(FALSE, tvb, offset, pinfo, tree, hf_dop_validFrom);
918 static const value_string dop_T_validUntil_vals[] = {
919 { 0, "explicitTermination" },
924 static const ber_choice_t T_validUntil_choice[] = {
925 { 0, BER_CLASS_CON, 0, 0, dissect_explicitTermination },
926 { 1, BER_CLASS_CON, 1, 0, dissect_time },
931 dissect_dop_T_validUntil(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
932 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
933 T_validUntil_choice, hf_index, ett_dop_T_validUntil,
938 static int dissect_validUntil(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
939 return dissect_dop_T_validUntil(FALSE, tvb, offset, pinfo, tree, hf_dop_validUntil);
943 static const ber_sequence_t Validity_sequence[] = {
944 { BER_CLASS_CON, 0, 0, dissect_validFrom },
945 { BER_CLASS_CON, 1, 0, dissect_validUntil },
950 dissect_dop_Validity(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
951 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
952 Validity_sequence, hf_index, ett_dop_Validity);
956 static int dissect_valid(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
957 return dissect_dop_Validity(FALSE, tvb, offset, pinfo, tree, hf_dop_valid);
961 static const ber_sequence_t EstablishOperationalBindingArgumentData_sequence[] = {
962 { BER_CLASS_CON, 0, 0, dissect_bindingType },
963 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_bindingID },
964 { BER_CLASS_CON, 2, 0, dissect_accessPoint },
965 { BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_establishInitiator },
966 { BER_CLASS_CON, 6, 0, dissect_agreement },
967 { BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_valid },
968 { BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL, dissect_securityParameters },
973 dissect_dop_EstablishOperationalBindingArgumentData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
974 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
975 EstablishOperationalBindingArgumentData_sequence, hf_index, ett_dop_EstablishOperationalBindingArgumentData);
979 static int dissect_unsignedEstablishOperationalBindingArgument(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
980 return dissect_dop_EstablishOperationalBindingArgumentData(FALSE, tvb, offset, pinfo, tree, hf_dop_unsignedEstablishOperationalBindingArgument);
982 static int dissect_establishOperationalBindingArgument(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
983 return dissect_dop_EstablishOperationalBindingArgumentData(FALSE, tvb, offset, pinfo, tree, hf_dop_establishOperationalBindingArgument);
989 dissect_dop_BIT_STRING(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
990 offset = dissect_ber_bitstring(implicit_tag, pinfo, tree, tvb, offset,
996 static int dissect_encrypted(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
997 return dissect_dop_BIT_STRING(FALSE, tvb, offset, pinfo, tree, hf_dop_encrypted);
1001 static const ber_sequence_t T_signedEstablishOperationalBindingArgument_sequence[] = {
1002 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_establishOperationalBindingArgument },
1003 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_algorithmIdentifier },
1004 { BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_encrypted },
1009 dissect_dop_T_signedEstablishOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1010 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1011 T_signedEstablishOperationalBindingArgument_sequence, hf_index, ett_dop_T_signedEstablishOperationalBindingArgument);
1015 static int dissect_signedEstablishOperationalBindingArgument(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1016 return dissect_dop_T_signedEstablishOperationalBindingArgument(FALSE, tvb, offset, pinfo, tree, hf_dop_signedEstablishOperationalBindingArgument);
1020 static const value_string dop_EstablishOperationalBindingArgument_vals[] = {
1021 { 0, "unsignedEstablishOperationalBindingArgument" },
1022 { 1, "signedEstablishOperationalBindingArgument" },
1026 static const ber_choice_t EstablishOperationalBindingArgument_choice[] = {
1027 { 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_unsignedEstablishOperationalBindingArgument },
1028 { 1, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_signedEstablishOperationalBindingArgument },
1029 { 0, 0, 0, 0, NULL }
1033 dissect_dop_EstablishOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1034 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
1035 EstablishOperationalBindingArgument_choice, hf_index, ett_dop_EstablishOperationalBindingArgument,
1044 dissect_dop_T_symmetric(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1047 offset = call_dop_oid_callback("dop.establish.symmetric", tvb, offset, pinfo, tree, "symmetric");
1053 static int dissect_symmetric(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1054 return dissect_dop_T_symmetric(FALSE, tvb, offset, pinfo, tree, hf_dop_symmetric);
1060 dissect_dop_T_roleA_replies(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1063 offset = call_dop_oid_callback("dop.establish.rolea", tvb, offset, pinfo, tree, "roleA");
1069 static int dissect_roleA_replies(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1070 return dissect_dop_T_roleA_replies(FALSE, tvb, offset, pinfo, tree, hf_dop_roleA_replies);
1076 dissect_dop_T_roleB_replies(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1079 offset = call_dop_oid_callback("dop.establish.roleb", tvb, offset, pinfo, tree, "roleB");
1085 static int dissect_roleB_replies(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1086 return dissect_dop_T_roleB_replies(FALSE, tvb, offset, pinfo, tree, hf_dop_roleB_replies);
1090 static const value_string dop_T_initiator_vals[] = {
1092 { 4, "roleA-replies" },
1093 { 5, "roleB-replies" },
1097 static const ber_choice_t T_initiator_choice[] = {
1098 { 3, BER_CLASS_CON, 3, 0, dissect_symmetric },
1099 { 4, BER_CLASS_CON, 4, 0, dissect_roleA_replies },
1100 { 5, BER_CLASS_CON, 5, 0, dissect_roleB_replies },
1101 { 0, 0, 0, 0, NULL }
1105 dissect_dop_T_initiator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1106 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
1107 T_initiator_choice, hf_index, ett_dop_T_initiator,
1112 static int dissect_initiator(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1113 return dissect_dop_T_initiator(FALSE, tvb, offset, pinfo, tree, hf_dop_initiator);
1117 static const ber_sequence_t SEQUENCE_SIZE_1_MAX_OF_Attribute_sequence_of[1] = {
1118 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_notification_item },
1122 dissect_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1123 offset = dissect_ber_sequence_of(implicit_tag, pinfo, tree, tvb, offset,
1124 SEQUENCE_SIZE_1_MAX_OF_Attribute_sequence_of, hf_index, ett_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute);
1128 static int dissect_notification(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1129 return dissect_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_notification);
1133 static const ber_sequence_t EstablishOperationalBindingResult_sequence[] = {
1134 { BER_CLASS_CON, 0, 0, dissect_bindingType },
1135 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_bindingID },
1136 { BER_CLASS_CON, 2, 0, dissect_accessPoint },
1137 { BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_initiator },
1138 { BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL, dissect_securityParameters },
1139 { BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL, dissect_performer },
1140 { BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL, dissect_aliasDereferenced },
1141 { BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL, dissect_notification },
1146 dissect_dop_EstablishOperationalBindingResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1147 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1148 EstablishOperationalBindingResult_sequence, hf_index, ett_dop_EstablishOperationalBindingResult);
1156 dissect_dop_ModifySymmetric(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1159 offset = call_dop_oid_callback("dop.modify.symmetric", tvb, offset, pinfo, tree, "symmetric");
1165 static int dissect_modifySymmetric(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1166 return dissect_dop_ModifySymmetric(FALSE, tvb, offset, pinfo, tree, hf_dop_modifySymmetric);
1172 dissect_dop_ModifyRoleAInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1175 offset = call_dop_oid_callback("dop.modify.rolea", tvb, offset, pinfo, tree, "roleA");
1181 static int dissect_modifyRoleAInitiates(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1182 return dissect_dop_ModifyRoleAInitiates(FALSE, tvb, offset, pinfo, tree, hf_dop_modifyRoleAInitiates);
1188 dissect_dop_ModifyRoleBInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1191 offset = call_dop_oid_callback("dop.modify.roleb", tvb, offset, pinfo, tree, "roleB");
1197 static int dissect_modifyRoleBInitiates(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1198 return dissect_dop_ModifyRoleBInitiates(FALSE, tvb, offset, pinfo, tree, hf_dop_modifyRoleBInitiates);
1202 static const value_string dop_ModifyArgumentInitiator_vals[] = {
1204 { 4, "roleA-initiates" },
1205 { 5, "roleB-initiates" },
1209 static const ber_choice_t ModifyArgumentInitiator_choice[] = {
1210 { 3, BER_CLASS_CON, 3, 0, dissect_modifySymmetric },
1211 { 4, BER_CLASS_CON, 4, 0, dissect_modifyRoleAInitiates },
1212 { 5, BER_CLASS_CON, 5, 0, dissect_modifyRoleBInitiates },
1213 { 0, 0, 0, 0, NULL }
1217 dissect_dop_ModifyArgumentInitiator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1218 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
1219 ModifyArgumentInitiator_choice, hf_index, ett_dop_ModifyArgumentInitiator,
1224 static int dissect_modifyInitiator(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1225 return dissect_dop_ModifyArgumentInitiator(FALSE, tvb, offset, pinfo, tree, hf_dop_modifyInitiator);
1231 dissect_dop_ArgumentNewAgreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1234 offset = call_dop_oid_callback("dop.agreement", tvb, offset, pinfo, tree, NULL);
1241 static int dissect_argumentNewAgreement(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1242 return dissect_dop_ArgumentNewAgreement(FALSE, tvb, offset, pinfo, tree, hf_dop_argumentNewAgreement);
1246 static const ber_sequence_t ModifyOperationalBindingArgumentData_sequence[] = {
1247 { BER_CLASS_CON, 0, 0, dissect_bindingType },
1248 { BER_CLASS_CON, 1, 0, dissect_bindingID },
1249 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_accessPoint },
1250 { BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_modifyInitiator },
1251 { BER_CLASS_CON, 6, 0, dissect_newBindingID },
1252 { BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_argumentNewAgreement },
1253 { BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL, dissect_valid },
1254 { BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL, dissect_securityParameters },
1259 dissect_dop_ModifyOperationalBindingArgumentData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1260 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1261 ModifyOperationalBindingArgumentData_sequence, hf_index, ett_dop_ModifyOperationalBindingArgumentData);
1265 static int dissect_unsignedModifyOperationalBindingArgument(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1266 return dissect_dop_ModifyOperationalBindingArgumentData(FALSE, tvb, offset, pinfo, tree, hf_dop_unsignedModifyOperationalBindingArgument);
1268 static int dissect_modifyOperationalBindingArgument(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1269 return dissect_dop_ModifyOperationalBindingArgumentData(FALSE, tvb, offset, pinfo, tree, hf_dop_modifyOperationalBindingArgument);
1273 static const ber_sequence_t T_signedModifyOperationalBindingArgument_sequence[] = {
1274 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_modifyOperationalBindingArgument },
1275 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_algorithmIdentifier },
1276 { BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_encrypted },
1281 dissect_dop_T_signedModifyOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1282 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1283 T_signedModifyOperationalBindingArgument_sequence, hf_index, ett_dop_T_signedModifyOperationalBindingArgument);
1287 static int dissect_signedModifyOperationalBindingArgument(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1288 return dissect_dop_T_signedModifyOperationalBindingArgument(FALSE, tvb, offset, pinfo, tree, hf_dop_signedModifyOperationalBindingArgument);
1292 static const value_string dop_ModifyOperationalBindingArgument_vals[] = {
1293 { 0, "unsignedModifyOperationalBindingArgument" },
1294 { 1, "signedModifyOperationalBindingArgument" },
1298 static const ber_choice_t ModifyOperationalBindingArgument_choice[] = {
1299 { 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_unsignedModifyOperationalBindingArgument },
1300 { 1, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_signedModifyOperationalBindingArgument },
1301 { 0, 0, 0, 0, NULL }
1305 dissect_dop_ModifyOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1306 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
1307 ModifyOperationalBindingArgument_choice, hf_index, ett_dop_ModifyOperationalBindingArgument,
1316 dissect_dop_ResultNewAgreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1319 offset = call_dop_oid_callback("dop.agreement", tvb, offset, pinfo, tree, NULL);
1325 static int dissect_resultNewAgreement(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1326 return dissect_dop_ResultNewAgreement(FALSE, tvb, offset, pinfo, tree, hf_dop_resultNewAgreement);
1330 static const ber_sequence_t ModifyOperationalBindingResultData_sequence[] = {
1331 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_newBindingID },
1332 { BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_bindingType },
1333 { BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_resultNewAgreement },
1334 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_valid },
1335 { BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL, dissect_securityParameters },
1336 { BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL, dissect_performer },
1337 { BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL, dissect_aliasDereferenced },
1338 { BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL, dissect_notification },
1343 dissect_dop_ModifyOperationalBindingResultData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1344 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1345 ModifyOperationalBindingResultData_sequence, hf_index, ett_dop_ModifyOperationalBindingResultData);
1349 static int dissect_modifyOperationalBindingResultData(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1350 return dissect_dop_ModifyOperationalBindingResultData(FALSE, tvb, offset, pinfo, tree, hf_dop_modifyOperationalBindingResultData);
1354 static const ber_sequence_t ProtectedModifyResult_sequence[] = {
1355 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_modifyOperationalBindingResultData },
1356 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_algorithmIdentifier },
1357 { BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_encrypted },
1362 dissect_dop_ProtectedModifyResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1363 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1364 ProtectedModifyResult_sequence, hf_index, ett_dop_ProtectedModifyResult);
1368 static int dissect_protectedModifyResult(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1369 return dissect_dop_ProtectedModifyResult(FALSE, tvb, offset, pinfo, tree, hf_dop_protectedModifyResult);
1373 static const value_string dop_ModifyOperationalBindingResult_vals[] = {
1379 static const ber_choice_t ModifyOperationalBindingResult_choice[] = {
1380 { 0, BER_CLASS_CON, 0, 0, dissect_null },
1381 { 1, BER_CLASS_CON, 1, 0, dissect_protectedModifyResult },
1382 { 0, 0, 0, 0, NULL }
1386 dissect_dop_ModifyOperationalBindingResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1387 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
1388 ModifyOperationalBindingResult_choice, hf_index, ett_dop_ModifyOperationalBindingResult,
1397 dissect_dop_TerminateSymmetric(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1400 offset = call_dop_oid_callback("dop.terminate.symmetric", tvb, offset, pinfo, tree, "symmetric");
1406 static int dissect_terminateSymmetric(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1407 return dissect_dop_TerminateSymmetric(FALSE, tvb, offset, pinfo, tree, hf_dop_terminateSymmetric);
1413 dissect_dop_TerminateRoleAInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1416 offset = call_dop_oid_callback("dop.terminate.rolea", tvb, offset, pinfo, tree, "roleA");
1422 static int dissect_terminateRoleAInitiates(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1423 return dissect_dop_TerminateRoleAInitiates(FALSE, tvb, offset, pinfo, tree, hf_dop_terminateRoleAInitiates);
1429 dissect_dop_TerminateRoleBInitiates(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1432 offset = call_dop_oid_callback("dop.terminate.roleb", tvb, offset, pinfo, tree, "roleB");
1438 static int dissect_terminateRoleBInitiates(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1439 return dissect_dop_TerminateRoleBInitiates(FALSE, tvb, offset, pinfo, tree, hf_dop_terminateRoleBInitiates);
1443 static const value_string dop_TerminateArgumentInitiator_vals[] = {
1445 { 3, "roleA-initiates" },
1446 { 4, "roleB-initiates" },
1450 static const ber_choice_t TerminateArgumentInitiator_choice[] = {
1451 { 2, BER_CLASS_CON, 2, 0, dissect_terminateSymmetric },
1452 { 3, BER_CLASS_CON, 3, 0, dissect_terminateRoleAInitiates },
1453 { 4, BER_CLASS_CON, 4, 0, dissect_terminateRoleBInitiates },
1454 { 0, 0, 0, 0, NULL }
1458 dissect_dop_TerminateArgumentInitiator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1459 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
1460 TerminateArgumentInitiator_choice, hf_index, ett_dop_TerminateArgumentInitiator,
1465 static int dissect_terminateInitiator(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1466 return dissect_dop_TerminateArgumentInitiator(FALSE, tvb, offset, pinfo, tree, hf_dop_terminateInitiator);
1470 static const ber_sequence_t TerminateOperationalBindingArgumentData_sequence[] = {
1471 { BER_CLASS_CON, 0, 0, dissect_bindingType },
1472 { BER_CLASS_CON, 1, 0, dissect_bindingID },
1473 { BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_terminateInitiator },
1474 { BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_terminateAtTime },
1475 { BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL, dissect_securityParameters },
1480 dissect_dop_TerminateOperationalBindingArgumentData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1481 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1482 TerminateOperationalBindingArgumentData_sequence, hf_index, ett_dop_TerminateOperationalBindingArgumentData);
1486 static int dissect_unsignedTerminateOperationalBindingArgument(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1487 return dissect_dop_TerminateOperationalBindingArgumentData(FALSE, tvb, offset, pinfo, tree, hf_dop_unsignedTerminateOperationalBindingArgument);
1489 static int dissect_terminateOperationalBindingArgument(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1490 return dissect_dop_TerminateOperationalBindingArgumentData(FALSE, tvb, offset, pinfo, tree, hf_dop_terminateOperationalBindingArgument);
1494 static const ber_sequence_t T_signedTerminateOperationalBindingArgument_sequence[] = {
1495 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_terminateOperationalBindingArgument },
1496 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_algorithmIdentifier },
1497 { BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_encrypted },
1502 dissect_dop_T_signedTerminateOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1503 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1504 T_signedTerminateOperationalBindingArgument_sequence, hf_index, ett_dop_T_signedTerminateOperationalBindingArgument);
1508 static int dissect_signedTerminateOperationalBindingArgument(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1509 return dissect_dop_T_signedTerminateOperationalBindingArgument(FALSE, tvb, offset, pinfo, tree, hf_dop_signedTerminateOperationalBindingArgument);
1513 static const value_string dop_TerminateOperationalBindingArgument_vals[] = {
1514 { 0, "unsignedTerminateOperationalBindingArgument" },
1515 { 1, "signedTerminateOperationalBindingArgument" },
1519 static const ber_choice_t TerminateOperationalBindingArgument_choice[] = {
1520 { 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_unsignedTerminateOperationalBindingArgument },
1521 { 1, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_signedTerminateOperationalBindingArgument },
1522 { 0, 0, 0, 0, NULL }
1526 dissect_dop_TerminateOperationalBindingArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1527 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
1528 TerminateOperationalBindingArgument_choice, hf_index, ett_dop_TerminateOperationalBindingArgument,
1535 static const ber_sequence_t TerminateOperationalBindingResultData_sequence[] = {
1536 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_bindingID },
1537 { BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_bindingType },
1538 { BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_terminateAtGeneralizedTime },
1539 { BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL, dissect_securityParameters },
1540 { BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL, dissect_performer },
1541 { BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL, dissect_aliasDereferenced },
1542 { BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL, dissect_notification },
1547 dissect_dop_TerminateOperationalBindingResultData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1548 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1549 TerminateOperationalBindingResultData_sequence, hf_index, ett_dop_TerminateOperationalBindingResultData);
1553 static int dissect_terminateOperationalBindingResultData(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1554 return dissect_dop_TerminateOperationalBindingResultData(FALSE, tvb, offset, pinfo, tree, hf_dop_terminateOperationalBindingResultData);
1558 static const ber_sequence_t ProtectedTerminateResult_sequence[] = {
1559 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_terminateOperationalBindingResultData },
1560 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_algorithmIdentifier },
1561 { BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_encrypted },
1566 dissect_dop_ProtectedTerminateResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1567 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1568 ProtectedTerminateResult_sequence, hf_index, ett_dop_ProtectedTerminateResult);
1572 static int dissect_protectedTerminateResult(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1573 return dissect_dop_ProtectedTerminateResult(FALSE, tvb, offset, pinfo, tree, hf_dop_protectedTerminateResult);
1577 static const value_string dop_TerminateOperationalBindingResult_vals[] = {
1583 static const ber_choice_t TerminateOperationalBindingResult_choice[] = {
1584 { 0, BER_CLASS_CON, 0, 0, dissect_null },
1585 { 1, BER_CLASS_CON, 1, 0, dissect_protectedTerminateResult },
1586 { 0, 0, 0, 0, NULL }
1590 dissect_dop_TerminateOperationalBindingResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1591 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
1592 TerminateOperationalBindingResult_choice, hf_index, ett_dop_TerminateOperationalBindingResult,
1599 static const value_string dop_T_problem_vals[] = {
1601 { 1, "duplicateID" },
1602 { 2, "unsupportedBindingType" },
1603 { 3, "notAllowedForRole" },
1604 { 4, "parametersMissing" },
1605 { 5, "roleAssignment" },
1606 { 6, "invalidStartTime" },
1607 { 7, "invalidEndTime" },
1608 { 8, "invalidAgreement" },
1609 { 9, "currentlyNotDecidable" },
1610 { 10, "modificationNotAllowed" },
1616 dissect_dop_T_problem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1617 offset = dissect_ber_integer(implicit_tag, pinfo, tree, tvb, offset, hf_index,
1622 static int dissect_problem(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1623 return dissect_dop_T_problem(FALSE, tvb, offset, pinfo, tree, hf_dop_problem);
1629 dissect_dop_T_agreementProposal(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1632 offset = call_dop_oid_callback("dop.agreement", tvb, offset, pinfo, tree, NULL);
1638 static int dissect_agreementProposal(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1639 return dissect_dop_T_agreementProposal(FALSE, tvb, offset, pinfo, tree, hf_dop_agreementProposal);
1643 static const ber_sequence_t OpBindingErrorParam_sequence[] = {
1644 { BER_CLASS_CON, 0, 0, dissect_problem },
1645 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_bindingType },
1646 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_agreementProposal },
1647 { BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_retryAt },
1648 { BER_CLASS_CON, 30, BER_FLAGS_OPTIONAL, dissect_securityParameters },
1649 { BER_CLASS_CON, 29, BER_FLAGS_OPTIONAL, dissect_performer },
1650 { BER_CLASS_CON, 28, BER_FLAGS_OPTIONAL, dissect_aliasDereferenced },
1651 { BER_CLASS_CON, 27, BER_FLAGS_OPTIONAL, dissect_notification },
1656 dissect_dop_OpBindingErrorParam(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1657 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1658 OpBindingErrorParam_sequence, hf_index, ett_dop_OpBindingErrorParam);
1664 static const ber_sequence_t HierarchicalAgreement_sequence[] = {
1665 { BER_CLASS_CON, 0, 0, dissect_rdn },
1666 { BER_CLASS_CON, 1, 0, dissect_immediateSuperior },
1671 dissect_dop_HierarchicalAgreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1672 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1673 HierarchicalAgreement_sequence, hf_index, ett_dop_HierarchicalAgreement);
1679 static const ber_sequence_t SET_OF_Attribute_set_of[1] = {
1680 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_entryInfo_item },
1684 dissect_dop_SET_OF_Attribute(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1685 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
1686 SET_OF_Attribute_set_of, hf_index, ett_dop_SET_OF_Attribute);
1690 static int dissect_entryInfo(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1691 return dissect_dop_SET_OF_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_entryInfo);
1693 static int dissect_immediateSuperiorInfo(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1694 return dissect_dop_SET_OF_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_immediateSuperiorInfo);
1696 static int dissect_admPointInfo(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1697 return dissect_dop_SET_OF_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_admPointInfo);
1699 static int dissect_info(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1700 return dissect_dop_SET_OF_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dop_info);
1704 static const ber_sequence_t SubentryInfo_sequence[] = {
1705 { BER_CLASS_CON, 0, 0, dissect_rdn },
1706 { BER_CLASS_CON, 1, 0, dissect_info },
1711 dissect_dop_SubentryInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1712 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1713 SubentryInfo_sequence, hf_index, ett_dop_SubentryInfo);
1717 static int dissect_subentries_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1718 return dissect_dop_SubentryInfo(FALSE, tvb, offset, pinfo, tree, hf_dop_subentries_item);
1722 static const ber_sequence_t SET_OF_SubentryInfo_set_of[1] = {
1723 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_subentries_item },
1727 dissect_dop_SET_OF_SubentryInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1728 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
1729 SET_OF_SubentryInfo_set_of, hf_index, ett_dop_SET_OF_SubentryInfo);
1733 static int dissect_subentries(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1734 return dissect_dop_SET_OF_SubentryInfo(FALSE, tvb, offset, pinfo, tree, hf_dop_subentries);
1738 static const ber_sequence_t Vertex_sequence[] = {
1739 { BER_CLASS_CON, 0, 0, dissect_rdn },
1740 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_admPointInfo },
1741 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_subentries },
1742 { BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_accessPoints },
1747 dissect_dop_Vertex(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1748 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1749 Vertex_sequence, hf_index, ett_dop_Vertex);
1753 static int dissect_DITcontext_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1754 return dissect_dop_Vertex(FALSE, tvb, offset, pinfo, tree, hf_dop_DITcontext_item);
1758 static const ber_sequence_t DITcontext_sequence_of[1] = {
1759 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_DITcontext_item },
1763 dissect_dop_DITcontext(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1764 offset = dissect_ber_sequence_of(implicit_tag, pinfo, tree, tvb, offset,
1765 DITcontext_sequence_of, hf_index, ett_dop_DITcontext);
1769 static int dissect_contextPrefixInfo(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1770 return dissect_dop_DITcontext(FALSE, tvb, offset, pinfo, tree, hf_dop_contextPrefixInfo);
1774 static const ber_sequence_t SuperiorToSubordinate_sequence[] = {
1775 { BER_CLASS_CON, 0, 0, dissect_contextPrefixInfo },
1776 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_entryInfo },
1777 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_immediateSuperiorInfo },
1782 dissect_dop_SuperiorToSubordinate(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1783 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1784 SuperiorToSubordinate_sequence, hf_index, ett_dop_SuperiorToSubordinate);
1790 static const ber_sequence_t SubordinateToSuperior_sequence[] = {
1791 { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_accessPoints },
1792 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_alias },
1793 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_entryInfo },
1794 { BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_subentries },
1799 dissect_dop_SubordinateToSuperior(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1800 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1801 SubordinateToSuperior_sequence, hf_index, ett_dop_SubordinateToSuperior);
1807 static const ber_sequence_t SuperiorToSubordinateModification_sequence[] = {
1808 { BER_CLASS_CON, 0, 0, dissect_contextPrefixInfo },
1809 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_immediateSuperiorInfo },
1814 dissect_dop_SuperiorToSubordinateModification(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1815 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1816 SuperiorToSubordinateModification_sequence, hf_index, ett_dop_SuperiorToSubordinateModification);
1822 static const ber_sequence_t NonSpecificHierarchicalAgreement_sequence[] = {
1823 { BER_CLASS_CON, 1, 0, dissect_immediateSuperior },
1828 dissect_dop_NonSpecificHierarchicalAgreement(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1829 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1830 NonSpecificHierarchicalAgreement_sequence, hf_index, ett_dop_NonSpecificHierarchicalAgreement);
1836 static const ber_sequence_t NHOBSuperiorToSubordinate_sequence[] = {
1837 { BER_CLASS_CON, 0, 0, dissect_contextPrefixInfo },
1838 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_immediateSuperiorInfo },
1843 dissect_dop_NHOBSuperiorToSubordinate(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1844 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1845 NHOBSuperiorToSubordinate_sequence, hf_index, ett_dop_NHOBSuperiorToSubordinate);
1851 static const ber_sequence_t NHOBSubordinateToSuperior_sequence[] = {
1852 { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_accessPoints },
1853 { BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_subentries },
1858 dissect_dop_NHOBSubordinateToSuperior(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1859 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1860 NHOBSubordinateToSuperior_sequence, hf_index, ett_dop_NHOBSubordinateToSuperior);
1868 dissect_dop_Precedence(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1870 guint32 precedence = 0;
1872 offset = dissect_ber_integer(implicit_tag, pinfo, tree, tvb, offset, hf_index,
1876 proto_item_append_text(tree, " precedence=%d", precedence);
1882 static int dissect_precedence(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1883 return dissect_dop_Precedence(FALSE, tvb, offset, pinfo, tree, hf_dop_precedence);
1887 static const value_string dop_T_level_vals[] = {
1896 dissect_dop_T_level(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1897 offset = dissect_ber_integer(implicit_tag, pinfo, tree, tvb, offset, hf_index,
1902 static int dissect_level(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1903 return dissect_dop_T_level(FALSE, tvb, offset, pinfo, tree, hf_dop_level);
1907 static const ber_sequence_t T_basicLevels_sequence[] = {
1908 { BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_NOOWNTAG, dissect_level },
1909 { BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_localQualifier },
1910 { BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_signed },
1915 dissect_dop_T_basicLevels(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1916 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1917 T_basicLevels_sequence, hf_index, ett_dop_T_basicLevels);
1921 static int dissect_basicLevels(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1922 return dissect_dop_T_basicLevels(FALSE, tvb, offset, pinfo, tree, hf_dop_basicLevels);
1926 static const value_string dop_AuthenticationLevel_vals[] = {
1927 { 0, "basicLevels" },
1932 static const ber_choice_t AuthenticationLevel_choice[] = {
1933 { 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_basicLevels },
1934 { 1, BER_CLASS_UNI, 8, BER_FLAGS_NOOWNTAG, dissect_other },
1935 { 0, 0, 0, 0, NULL }
1939 dissect_dop_AuthenticationLevel(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1940 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
1941 AuthenticationLevel_choice, hf_index, ett_dop_AuthenticationLevel,
1946 static int dissect_authenticationLevel(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1947 return dissect_dop_AuthenticationLevel(FALSE, tvb, offset, pinfo, tree, hf_dop_authenticationLevel);
1951 static const ber_sequence_t SET_OF_AttributeType_set_of[1] = {
1952 { BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_attributeType_item },
1956 dissect_dop_SET_OF_AttributeType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1957 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
1958 SET_OF_AttributeType_set_of, hf_index, ett_dop_SET_OF_AttributeType);
1962 static int dissect_attributeType(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1963 return dissect_dop_SET_OF_AttributeType(FALSE, tvb, offset, pinfo, tree, hf_dop_attributeType);
1965 static int dissect_allAttributeValues(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1966 return dissect_dop_SET_OF_AttributeType(FALSE, tvb, offset, pinfo, tree, hf_dop_allAttributeValues);
1968 static int dissect_selfValue(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1969 return dissect_dop_SET_OF_AttributeType(FALSE, tvb, offset, pinfo, tree, hf_dop_selfValue);
1973 static const ber_sequence_t SET_OF_AttributeTypeAndValue_set_of[1] = {
1974 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_attributeValue_item },
1978 dissect_dop_SET_OF_AttributeTypeAndValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1979 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
1980 SET_OF_AttributeTypeAndValue_set_of, hf_index, ett_dop_SET_OF_AttributeTypeAndValue);
1984 static int dissect_attributeValue(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
1985 return dissect_dop_SET_OF_AttributeTypeAndValue(FALSE, tvb, offset, pinfo, tree, hf_dop_attributeValue);
1989 static const ber_sequence_t MaxValueCount_sequence[] = {
1990 { BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_type },
1991 { BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_maxCount },
1996 dissect_dop_MaxValueCount(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
1997 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
1998 MaxValueCount_sequence, hf_index, ett_dop_MaxValueCount);
2002 static int dissect_maxValueCount_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2003 return dissect_dop_MaxValueCount(FALSE, tvb, offset, pinfo, tree, hf_dop_maxValueCount_item);
2007 static const ber_sequence_t SET_OF_MaxValueCount_set_of[1] = {
2008 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_maxValueCount_item },
2012 dissect_dop_SET_OF_MaxValueCount(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2013 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
2014 SET_OF_MaxValueCount_set_of, hf_index, ett_dop_SET_OF_MaxValueCount);
2018 static int dissect_maxValueCount(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2019 return dissect_dop_SET_OF_MaxValueCount(FALSE, tvb, offset, pinfo, tree, hf_dop_maxValueCount);
2023 static const ber_sequence_t RestrictedValue_sequence[] = {
2024 { BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_type },
2025 { BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_valuesIn },
2030 dissect_dop_RestrictedValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2031 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
2032 RestrictedValue_sequence, hf_index, ett_dop_RestrictedValue);
2036 static int dissect_restrictedBy_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2037 return dissect_dop_RestrictedValue(FALSE, tvb, offset, pinfo, tree, hf_dop_restrictedBy_item);
2041 static const ber_sequence_t SET_OF_RestrictedValue_set_of[1] = {
2042 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_restrictedBy_item },
2046 dissect_dop_SET_OF_RestrictedValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2047 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
2048 SET_OF_RestrictedValue_set_of, hf_index, ett_dop_SET_OF_RestrictedValue);
2052 static int dissect_restrictedBy(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2053 return dissect_dop_SET_OF_RestrictedValue(FALSE, tvb, offset, pinfo, tree, hf_dop_restrictedBy);
2057 static const ber_sequence_t SET_OF_ContextAssertion_set_of[1] = {
2058 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_contexts_item },
2062 dissect_dop_SET_OF_ContextAssertion(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2063 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
2064 SET_OF_ContextAssertion_set_of, hf_index, ett_dop_SET_OF_ContextAssertion);
2068 static int dissect_contexts(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2069 return dissect_dop_SET_OF_ContextAssertion(FALSE, tvb, offset, pinfo, tree, hf_dop_contexts);
2073 static const ber_sequence_t ProtectedItems_sequence[] = {
2074 { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_entry },
2075 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_allUserAttributeTypes },
2076 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_attributeType },
2077 { BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_allAttributeValues },
2078 { BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_allUserAttributeTypesAndValues },
2079 { BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_attributeValue },
2080 { BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL, dissect_selfValue },
2081 { BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_rangeOfValues },
2082 { BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL, dissect_maxValueCount },
2083 { BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL, dissect_maxImmSub },
2084 { BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL, dissect_restrictedBy },
2085 { BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL, dissect_contexts },
2086 { BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL, dissect_classes },
2091 dissect_dop_ProtectedItems(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2092 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
2093 ProtectedItems_sequence, hf_index, ett_dop_ProtectedItems);
2097 static int dissect_protectedItems(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2098 return dissect_dop_ProtectedItems(FALSE, tvb, offset, pinfo, tree, hf_dop_protectedItems);
2102 static const ber_sequence_t SET_OF_NameAndOptionalUID_set_of[1] = {
2103 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_name_item },
2107 dissect_dop_SET_OF_NameAndOptionalUID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2108 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
2109 SET_OF_NameAndOptionalUID_set_of, hf_index, ett_dop_SET_OF_NameAndOptionalUID);
2113 static int dissect_name(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2114 return dissect_dop_SET_OF_NameAndOptionalUID(FALSE, tvb, offset, pinfo, tree, hf_dop_name);
2116 static int dissect_userGroup(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2117 return dissect_dop_SET_OF_NameAndOptionalUID(FALSE, tvb, offset, pinfo, tree, hf_dop_userGroup);
2121 static const ber_sequence_t SET_OF_SubtreeSpecification_set_of[1] = {
2122 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_subtree_item },
2126 dissect_dop_SET_OF_SubtreeSpecification(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2127 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
2128 SET_OF_SubtreeSpecification_set_of, hf_index, ett_dop_SET_OF_SubtreeSpecification);
2132 static int dissect_subtree(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2133 return dissect_dop_SET_OF_SubtreeSpecification(FALSE, tvb, offset, pinfo, tree, hf_dop_subtree);
2137 static const ber_sequence_t UserClasses_sequence[] = {
2138 { BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_allUsers },
2139 { BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_thisEntry },
2140 { BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_name },
2141 { BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_userGroup },
2142 { BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_subtree },
2147 dissect_dop_UserClasses(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2148 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
2149 UserClasses_sequence, hf_index, ett_dop_UserClasses);
2153 static int dissect_userClasses(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2154 return dissect_dop_UserClasses(FALSE, tvb, offset, pinfo, tree, hf_dop_userClasses);
2158 static const asn_namedbit GrantsAndDenials_bits[] = {
2159 { 0, &hf_dop_GrantsAndDenials_grantAdd, -1, -1, "grantAdd", NULL },
2160 { 1, &hf_dop_GrantsAndDenials_denyAdd, -1, -1, "denyAdd", NULL },
2161 { 2, &hf_dop_GrantsAndDenials_grantDiscloseOnError, -1, -1, "grantDiscloseOnError", NULL },
2162 { 3, &hf_dop_GrantsAndDenials_denyDiscloseOnError, -1, -1, "denyDiscloseOnError", NULL },
2163 { 4, &hf_dop_GrantsAndDenials_grantRead, -1, -1, "grantRead", NULL },
2164 { 5, &hf_dop_GrantsAndDenials_denyRead, -1, -1, "denyRead", NULL },
2165 { 6, &hf_dop_GrantsAndDenials_grantRemove, -1, -1, "grantRemove", NULL },
2166 { 7, &hf_dop_GrantsAndDenials_denyRemove, -1, -1, "denyRemove", NULL },
2167 { 8, &hf_dop_GrantsAndDenials_grantBrowse, -1, -1, "grantBrowse", NULL },
2168 { 9, &hf_dop_GrantsAndDenials_denyBrowse, -1, -1, "denyBrowse", NULL },
2169 { 10, &hf_dop_GrantsAndDenials_grantExport, -1, -1, "grantExport", NULL },
2170 { 11, &hf_dop_GrantsAndDenials_denyExport, -1, -1, "denyExport", NULL },
2171 { 12, &hf_dop_GrantsAndDenials_grantImport, -1, -1, "grantImport", NULL },
2172 { 13, &hf_dop_GrantsAndDenials_denyImport, -1, -1, "denyImport", NULL },
2173 { 14, &hf_dop_GrantsAndDenials_grantModify, -1, -1, "grantModify", NULL },
2174 { 15, &hf_dop_GrantsAndDenials_denyModify, -1, -1, "denyModify", NULL },
2175 { 16, &hf_dop_GrantsAndDenials_grantRename, -1, -1, "grantRename", NULL },
2176 { 17, &hf_dop_GrantsAndDenials_denyRename, -1, -1, "denyRename", NULL },
2177 { 18, &hf_dop_GrantsAndDenials_grantReturnDN, -1, -1, "grantReturnDN", NULL },
2178 { 19, &hf_dop_GrantsAndDenials_denyReturnDN, -1, -1, "denyReturnDN", NULL },
2179 { 20, &hf_dop_GrantsAndDenials_grantCompare, -1, -1, "grantCompare", NULL },
2180 { 21, &hf_dop_GrantsAndDenials_denyCompare, -1, -1, "denyCompare", NULL },
2181 { 22, &hf_dop_GrantsAndDenials_grantFilterMatch, -1, -1, "grantFilterMatch", NULL },
2182 { 23, &hf_dop_GrantsAndDenials_denyFilterMatch, -1, -1, "denyFilterMatch", NULL },
2183 { 24, &hf_dop_GrantsAndDenials_grantInvoke, -1, -1, "grantInvoke", NULL },
2184 { 25, &hf_dop_GrantsAndDenials_denyInvoke, -1, -1, "denyInvoke", NULL },
2185 { 0, NULL, 0, 0, NULL, NULL }
2189 dissect_dop_GrantsAndDenials(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2190 offset = dissect_ber_bitstring(implicit_tag, pinfo, tree, tvb, offset,
2191 GrantsAndDenials_bits, hf_index, ett_dop_GrantsAndDenials,
2196 static int dissect_grantsAndDenials(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2197 return dissect_dop_GrantsAndDenials(FALSE, tvb, offset, pinfo, tree, hf_dop_grantsAndDenials);
2201 static const ber_sequence_t ItemPermission_sequence[] = {
2202 { BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_precedence },
2203 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_userClasses },
2204 { BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_grantsAndDenials },
2209 dissect_dop_ItemPermission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2210 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
2211 ItemPermission_sequence, hf_index, ett_dop_ItemPermission);
2215 static int dissect_itemPermissions_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2216 return dissect_dop_ItemPermission(FALSE, tvb, offset, pinfo, tree, hf_dop_itemPermissions_item);
2220 static const ber_sequence_t SET_OF_ItemPermission_set_of[1] = {
2221 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_itemPermissions_item },
2225 dissect_dop_SET_OF_ItemPermission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2226 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
2227 SET_OF_ItemPermission_set_of, hf_index, ett_dop_SET_OF_ItemPermission);
2231 static int dissect_itemPermissions(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2232 return dissect_dop_SET_OF_ItemPermission(FALSE, tvb, offset, pinfo, tree, hf_dop_itemPermissions);
2236 static const ber_sequence_t T_itemFirst_sequence[] = {
2237 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_protectedItems },
2238 { BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_itemPermissions },
2243 dissect_dop_T_itemFirst(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2244 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
2245 T_itemFirst_sequence, hf_index, ett_dop_T_itemFirst);
2249 static int dissect_itemFirst(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2250 return dissect_dop_T_itemFirst(FALSE, tvb, offset, pinfo, tree, hf_dop_itemFirst);
2254 static const ber_sequence_t UserPermission_sequence[] = {
2255 { BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_precedence },
2256 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_protectedItems },
2257 { BER_CLASS_UNI, BER_UNI_TAG_BITSTRING, BER_FLAGS_NOOWNTAG, dissect_grantsAndDenials },
2262 dissect_dop_UserPermission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2263 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
2264 UserPermission_sequence, hf_index, ett_dop_UserPermission);
2268 static int dissect_userPermissions_item(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2269 return dissect_dop_UserPermission(FALSE, tvb, offset, pinfo, tree, hf_dop_userPermissions_item);
2273 static const ber_sequence_t SET_OF_UserPermission_set_of[1] = {
2274 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_userPermissions_item },
2278 dissect_dop_SET_OF_UserPermission(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2279 offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
2280 SET_OF_UserPermission_set_of, hf_index, ett_dop_SET_OF_UserPermission);
2284 static int dissect_userPermissions(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2285 return dissect_dop_SET_OF_UserPermission(FALSE, tvb, offset, pinfo, tree, hf_dop_userPermissions);
2289 static const ber_sequence_t T_userFirst_sequence[] = {
2290 { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_userClasses },
2291 { BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_userPermissions },
2296 dissect_dop_T_userFirst(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2297 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
2298 T_userFirst_sequence, hf_index, ett_dop_T_userFirst);
2302 static int dissect_userFirst(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2303 return dissect_dop_T_userFirst(FALSE, tvb, offset, pinfo, tree, hf_dop_userFirst);
2307 static const value_string dop_T_itemOrUserFirst_vals[] = {
2313 static const ber_choice_t T_itemOrUserFirst_choice[] = {
2314 { 0, BER_CLASS_CON, 0, 0, dissect_itemFirst },
2315 { 1, BER_CLASS_CON, 1, 0, dissect_userFirst },
2316 { 0, 0, 0, 0, NULL }
2320 dissect_dop_T_itemOrUserFirst(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2321 offset = dissect_ber_choice(pinfo, tree, tvb, offset,
2322 T_itemOrUserFirst_choice, hf_index, ett_dop_T_itemOrUserFirst,
2327 static int dissect_itemOrUserFirst(packet_info *pinfo _U_, proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_) {
2328 return dissect_dop_T_itemOrUserFirst(FALSE, tvb, offset, pinfo, tree, hf_dop_itemOrUserFirst);
2332 static const ber_sequence_t ACIItem_sequence[] = {
2333 { BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_identificationTag },
2334 { BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_precedence },
2335 { BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_authenticationLevel },
2336 { BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_itemOrUserFirst },
2341 dissect_dop_ACIItem(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int hf_index _U_) {
2342 offset = dissect_ber_sequence(implicit_tag, pinfo, tree, tvb, offset,
2343 ACIItem_sequence, hf_index, ett_dop_ACIItem);
2350 static void dissect_DSEType_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2351 dissect_dop_DSEType(FALSE, tvb, 0, pinfo, tree, hf_dop_DSEType_PDU);
2353 static void dissect_SupplierInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2354 dissect_dop_SupplierInformation(FALSE, tvb, 0, pinfo, tree, hf_dop_SupplierInformation_PDU);
2356 static void dissect_ConsumerInformation_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2357 dissect_dop_ConsumerInformation(FALSE, tvb, 0, pinfo, tree, hf_dop_ConsumerInformation_PDU);
2359 static void dissect_SupplierAndConsumers_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2360 dissect_dop_SupplierAndConsumers(FALSE, tvb, 0, pinfo, tree, hf_dop_SupplierAndConsumers_PDU);
2362 static void dissect_HierarchicalAgreement_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2363 dissect_dop_HierarchicalAgreement(FALSE, tvb, 0, pinfo, tree, hf_dop_HierarchicalAgreement_PDU);
2365 static void dissect_SuperiorToSubordinate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2366 dissect_dop_SuperiorToSubordinate(FALSE, tvb, 0, pinfo, tree, hf_dop_SuperiorToSubordinate_PDU);
2368 static void dissect_SubordinateToSuperior_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2369 dissect_dop_SubordinateToSuperior(FALSE, tvb, 0, pinfo, tree, hf_dop_SubordinateToSuperior_PDU);
2371 static void dissect_SuperiorToSubordinateModification_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2372 dissect_dop_SuperiorToSubordinateModification(FALSE, tvb, 0, pinfo, tree, hf_dop_SuperiorToSubordinateModification_PDU);
2374 static void dissect_NonSpecificHierarchicalAgreement_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2375 dissect_dop_NonSpecificHierarchicalAgreement(FALSE, tvb, 0, pinfo, tree, hf_dop_NonSpecificHierarchicalAgreement_PDU);
2377 static void dissect_NHOBSuperiorToSubordinate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2378 dissect_dop_NHOBSuperiorToSubordinate(FALSE, tvb, 0, pinfo, tree, hf_dop_NHOBSuperiorToSubordinate_PDU);
2380 static void dissect_NHOBSubordinateToSuperior_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2381 dissect_dop_NHOBSubordinateToSuperior(FALSE, tvb, 0, pinfo, tree, hf_dop_NHOBSubordinateToSuperior_PDU);
2383 static void dissect_ACIItem_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
2384 dissect_dop_ACIItem(FALSE, tvb, 0, pinfo, tree, hf_dop_ACIItem_PDU);
2388 /*--- End of included file: packet-dop-fn.c ---*/
2389 #line 77 "packet-dop-template.c"
2392 call_dop_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *col_info)
2394 char binding_param[MAX_OID_STR_LEN];
2396 g_snprintf(binding_param, MAX_OID_STR_LEN, "%s.%s", base_oid, binding_type ? binding_type : "");
2398 if (col_info && (check_col(pinfo->cinfo, COL_INFO)))
2399 col_append_fstr(pinfo->cinfo, COL_INFO, " %s", col_info);
2401 return call_ber_oid_callback(binding_param, tvb, offset, pinfo, tree);
2406 * Dissect DOP PDUs inside a ROS PDUs
2409 dissect_dop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
2413 proto_item *item=NULL;
2414 proto_tree *tree=NULL;
2415 int (*dop_dissector)(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) = NULL;
2418 /* do we have operation information from the ROS dissector? */
2419 if( !pinfo->private_data ){
2421 proto_tree_add_text(parent_tree, tvb, offset, -1,
2422 "Internal error: can't get operation information from ROS dissector.");
2426 session = ( (struct SESSION_DATA_STRUCTURE*)(pinfo->private_data) );
2430 item = proto_tree_add_item(parent_tree, proto_dop, tvb, 0, -1, FALSE);
2431 tree = proto_item_add_subtree(item, ett_dop);
2433 if (check_col(pinfo->cinfo, COL_PROTOCOL))
2434 col_set_str(pinfo->cinfo, COL_PROTOCOL, "DOP");
2435 if (check_col(pinfo->cinfo, COL_INFO))
2436 col_clear(pinfo->cinfo, COL_INFO);
2438 switch(session->ros_op & ROS_OP_MASK) {
2439 case (ROS_OP_BIND | ROS_OP_ARGUMENT): /* BindInvoke */
2440 dop_dissector = dissect_dop_DSAOperationalManagementBindArgument;
2441 dop_op_name = "DSA-Operational-Bind-Argument";
2443 case (ROS_OP_BIND | ROS_OP_RESULT): /* BindResult */
2444 dop_dissector = dissect_dop_DSAOperationalManagementBindResult;
2445 dop_op_name = "DSA-Operational-Bind-Result";
2447 case (ROS_OP_BIND | ROS_OP_ERROR): /* BindError */
2448 dop_dissector = dissect_dop_DSAOperationalManagementBindError;
2449 dop_op_name = "DSA-Operational-Management-Bind-Error";
2451 case (ROS_OP_INVOKE | ROS_OP_ARGUMENT): /* Invoke Argument */
2452 switch(session->ros_op & ROS_OP_OPCODE_MASK) {
2453 case 100: /* establish */
2454 dop_dissector = dissect_dop_EstablishOperationalBindingArgument;
2455 dop_op_name = "Establish-Operational-Binding-Argument";
2457 case 101: /* terminate */
2458 dop_dissector = dissect_dop_TerminateOperationalBindingArgument;
2459 dop_op_name = "Terminate-Operational-Binding-Argument";
2461 case 102: /* modify */
2462 dop_dissector = dissect_dop_ModifyOperationalBindingArgument;
2463 dop_op_name = "Modify-Operational-Binding-Argument";
2466 proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DOP Argument opcode (%d)",
2467 session->ros_op & ROS_OP_OPCODE_MASK);
2471 case (ROS_OP_INVOKE | ROS_OP_RESULT): /* Return Result */
2472 switch(session->ros_op & ROS_OP_OPCODE_MASK) {
2473 case 100: /* establish */
2474 dop_dissector = dissect_dop_EstablishOperationalBindingResult;
2475 dop_op_name = "Establish-Operational-Binding-Result";
2477 case 101: /* terminate */
2478 dop_dissector = dissect_dop_TerminateOperationalBindingResult;
2479 dop_op_name = "Terminate-Operational-Binding-Result";
2481 case 102: /* modify */
2482 dop_dissector = dissect_dop_ModifyOperationalBindingResult;
2483 dop_op_name = "Modify-Operational-Binding-Result";
2486 proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DOP Result opcode (%d)",
2487 session->ros_op & ROS_OP_OPCODE_MASK);
2491 case (ROS_OP_INVOKE | ROS_OP_ERROR): /* Return Error */
2492 switch(session->ros_op & ROS_OP_OPCODE_MASK) {
2493 case 100: /* operational-binding */
2494 dop_dissector = dissect_dop_OpBindingErrorParam;
2495 dop_op_name = "Operational-Binding-Error";
2498 proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DOP Error opcode (%d)",
2499 session->ros_op & ROS_OP_OPCODE_MASK);
2504 proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DOP PDU");
2509 if (check_col(pinfo->cinfo, COL_INFO))
2510 col_add_str(pinfo->cinfo, COL_INFO, dop_op_name);
2512 while (tvb_reported_length_remaining(tvb, offset) > 0){
2514 offset=(*dop_dissector)(FALSE, tvb, offset, pinfo , tree, -1);
2515 if(offset == old_offset){
2516 proto_tree_add_text(tree, tvb, offset, -1,"Internal error, zero-byte DOP PDU");
2517 offset = tvb_length(tvb);
2526 /*--- proto_register_dop -------------------------------------------*/
2527 void proto_register_dop(void) {
2529 /* List of fields */
2530 static hf_register_info hf[] =
2533 /*--- Included file: packet-dop-hfarr.c ---*/
2534 #line 1 "packet-dop-hfarr.c"
2535 { &hf_dop_DSEType_PDU,
2536 { "DSEType", "dop.DSEType",
2537 FT_BYTES, BASE_HEX, NULL, 0,
2538 "dop.DSEType", HFILL }},
2539 { &hf_dop_SupplierInformation_PDU,
2540 { "SupplierInformation", "dop.SupplierInformation",
2541 FT_NONE, BASE_NONE, NULL, 0,
2542 "dop.SupplierInformation", HFILL }},
2543 { &hf_dop_ConsumerInformation_PDU,
2544 { "ConsumerInformation", "dop.ConsumerInformation",
2545 FT_NONE, BASE_NONE, NULL, 0,
2546 "dop.ConsumerInformation", HFILL }},
2547 { &hf_dop_SupplierAndConsumers_PDU,
2548 { "SupplierAndConsumers", "dop.SupplierAndConsumers",
2549 FT_NONE, BASE_NONE, NULL, 0,
2550 "dop.SupplierAndConsumers", HFILL }},
2551 { &hf_dop_HierarchicalAgreement_PDU,
2552 { "HierarchicalAgreement", "dop.HierarchicalAgreement",
2553 FT_NONE, BASE_NONE, NULL, 0,
2554 "dop.HierarchicalAgreement", HFILL }},
2555 { &hf_dop_SuperiorToSubordinate_PDU,
2556 { "SuperiorToSubordinate", "dop.SuperiorToSubordinate",
2557 FT_NONE, BASE_NONE, NULL, 0,
2558 "dop.SuperiorToSubordinate", HFILL }},
2559 { &hf_dop_SubordinateToSuperior_PDU,
2560 { "SubordinateToSuperior", "dop.SubordinateToSuperior",
2561 FT_NONE, BASE_NONE, NULL, 0,
2562 "dop.SubordinateToSuperior", HFILL }},
2563 { &hf_dop_SuperiorToSubordinateModification_PDU,
2564 { "SuperiorToSubordinateModification", "dop.SuperiorToSubordinateModification",
2565 FT_NONE, BASE_NONE, NULL, 0,
2566 "dop.SuperiorToSubordinateModification", HFILL }},
2567 { &hf_dop_NonSpecificHierarchicalAgreement_PDU,
2568 { "NonSpecificHierarchicalAgreement", "dop.NonSpecificHierarchicalAgreement",
2569 FT_NONE, BASE_NONE, NULL, 0,
2570 "dop.NonSpecificHierarchicalAgreement", HFILL }},
2571 { &hf_dop_NHOBSuperiorToSubordinate_PDU,
2572 { "NHOBSuperiorToSubordinate", "dop.NHOBSuperiorToSubordinate",
2573 FT_NONE, BASE_NONE, NULL, 0,
2574 "dop.NHOBSuperiorToSubordinate", HFILL }},
2575 { &hf_dop_NHOBSubordinateToSuperior_PDU,
2576 { "NHOBSubordinateToSuperior", "dop.NHOBSubordinateToSuperior",
2577 FT_NONE, BASE_NONE, NULL, 0,
2578 "dop.NHOBSubordinateToSuperior", HFILL }},
2579 { &hf_dop_ACIItem_PDU,
2580 { "ACIItem", "dop.ACIItem",
2581 FT_NONE, BASE_NONE, NULL, 0,
2582 "dop.ACIItem", HFILL }},
2584 { "ae-title", "dop.ae_title",
2585 FT_UINT32, BASE_DEC, VALS(x509if_Name_vals), 0,
2586 "x509if.Name", HFILL }},
2588 { "address", "dop.address",
2589 FT_NONE, BASE_NONE, NULL, 0,
2590 "x509sat.PresentationAddress", HFILL }},
2591 { &hf_dop_protocolInformation,
2592 { "protocolInformation", "dop.protocolInformation",
2593 FT_UINT32, BASE_DEC, NULL, 0,
2594 "dop.SET_OF_ProtocolInformation", HFILL }},
2595 { &hf_dop_protocolInformation_item,
2596 { "Item", "dop.protocolInformation_item",
2597 FT_NONE, BASE_NONE, NULL, 0,
2598 "x509sat.ProtocolInformation", HFILL }},
2599 { &hf_dop_agreementID,
2600 { "agreementID", "dop.agreementID",
2601 FT_NONE, BASE_NONE, NULL, 0,
2602 "dop.OperationalBindingID", HFILL }},
2603 { &hf_dop_supplier_is_master,
2604 { "supplier-is-master", "dop.supplier_is_master",
2605 FT_BOOLEAN, 8, NULL, 0,
2606 "dop.BOOLEAN", HFILL }},
2607 { &hf_dop_non_supplying_master,
2608 { "non-supplying-master", "dop.non_supplying_master",
2609 FT_NONE, BASE_NONE, NULL, 0,
2610 "dsp.AccessPoint", HFILL }},
2611 { &hf_dop_consumers,
2612 { "consumers", "dop.consumers",
2613 FT_UINT32, BASE_DEC, NULL, 0,
2614 "dop.SET_OF_AccessPoint", HFILL }},
2615 { &hf_dop_consumers_item,
2616 { "Item", "dop.consumers_item",
2617 FT_NONE, BASE_NONE, NULL, 0,
2618 "dsp.AccessPoint", HFILL }},
2619 { &hf_dop_bindingType,
2620 { "bindingType", "dop.bindingType",
2621 FT_OID, BASE_NONE, NULL, 0,
2622 "dop.OBJECT_IDENTIFIER", HFILL }},
2623 { &hf_dop_bindingID,
2624 { "bindingID", "dop.bindingID",
2625 FT_NONE, BASE_NONE, NULL, 0,
2626 "dop.OperationalBindingID", HFILL }},
2627 { &hf_dop_accessPoint,
2628 { "accessPoint", "dop.accessPoint",
2629 FT_NONE, BASE_NONE, NULL, 0,
2630 "dsp.AccessPoint", HFILL }},
2631 { &hf_dop_establishInitiator,
2632 { "initiator", "dop.initiator",
2633 FT_UINT32, BASE_DEC, VALS(dop_EstablishArgumentInitiator_vals), 0,
2634 "dop.EstablishArgumentInitiator", HFILL }},
2635 { &hf_dop_establishSymmetric,
2636 { "symmetric", "dop.symmetric",
2637 FT_NONE, BASE_NONE, NULL, 0,
2638 "dop.EstablishSymmetric", HFILL }},
2639 { &hf_dop_establishRoleAInitiates,
2640 { "roleA-initiates", "dop.roleA_initiates",
2641 FT_NONE, BASE_NONE, NULL, 0,
2642 "dop.EstablishRoleAInitiates", HFILL }},
2643 { &hf_dop_establishRoleBInitiates,
2644 { "roleB-initiates", "dop.roleB_initiates",
2645 FT_NONE, BASE_NONE, NULL, 0,
2646 "dop.EstablishRoleBInitiates", HFILL }},
2647 { &hf_dop_agreement,
2648 { "agreement", "dop.agreement",
2649 FT_NONE, BASE_NONE, NULL, 0,
2650 "dop.T_agreement", HFILL }},
2652 { "valid", "dop.valid",
2653 FT_NONE, BASE_NONE, NULL, 0,
2654 "dop.Validity", HFILL }},
2655 { &hf_dop_securityParameters,
2656 { "securityParameters", "dop.securityParameters",
2657 FT_NONE, BASE_NONE, NULL, 0,
2658 "dap.SecurityParameters", HFILL }},
2659 { &hf_dop_unsignedEstablishOperationalBindingArgument,
2660 { "unsignedEstablishOperationalBindingArgument", "dop.unsignedEstablishOperationalBindingArgument",
2661 FT_NONE, BASE_NONE, NULL, 0,
2662 "dop.EstablishOperationalBindingArgumentData", HFILL }},
2663 { &hf_dop_signedEstablishOperationalBindingArgument,
2664 { "signedEstablishOperationalBindingArgument", "dop.signedEstablishOperationalBindingArgument",
2665 FT_NONE, BASE_NONE, NULL, 0,
2666 "dop.T_signedEstablishOperationalBindingArgument", HFILL }},
2667 { &hf_dop_establishOperationalBindingArgument,
2668 { "establishOperationalBindingArgument", "dop.establishOperationalBindingArgument",
2669 FT_NONE, BASE_NONE, NULL, 0,
2670 "dop.EstablishOperationalBindingArgumentData", HFILL }},
2671 { &hf_dop_algorithmIdentifier,
2672 { "algorithmIdentifier", "dop.algorithmIdentifier",
2673 FT_NONE, BASE_NONE, NULL, 0,
2674 "x509af.AlgorithmIdentifier", HFILL }},
2675 { &hf_dop_encrypted,
2676 { "encrypted", "dop.encrypted",
2677 FT_BYTES, BASE_HEX, NULL, 0,
2678 "dop.BIT_STRING", HFILL }},
2679 { &hf_dop_identifier,
2680 { "identifier", "dop.identifier",
2681 FT_INT32, BASE_DEC, NULL, 0,
2682 "dop.INTEGER", HFILL }},
2684 { "version", "dop.version",
2685 FT_INT32, BASE_DEC, NULL, 0,
2686 "dop.INTEGER", HFILL }},
2687 { &hf_dop_validFrom,
2688 { "validFrom", "dop.validFrom",
2689 FT_UINT32, BASE_DEC, VALS(dop_T_validFrom_vals), 0,
2690 "dop.T_validFrom", HFILL }},
2693 FT_NONE, BASE_NONE, NULL, 0,
2694 "dop.NULL", HFILL }},
2696 { "time", "dop.time",
2697 FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0,
2698 "dop.Time", HFILL }},
2699 { &hf_dop_validUntil,
2700 { "validUntil", "dop.validUntil",
2701 FT_UINT32, BASE_DEC, VALS(dop_T_validUntil_vals), 0,
2702 "dop.T_validUntil", HFILL }},
2703 { &hf_dop_explicitTermination,
2704 { "explicitTermination", "dop.explicitTermination",
2705 FT_NONE, BASE_NONE, NULL, 0,
2706 "dop.NULL", HFILL }},
2708 { "utcTime", "dop.utcTime",
2709 FT_STRING, BASE_NONE, NULL, 0,
2710 "dop.UTCTime", HFILL }},
2711 { &hf_dop_generalizedTime,
2712 { "generalizedTime", "dop.generalizedTime",
2713 FT_STRING, BASE_NONE, NULL, 0,
2714 "dop.GeneralizedTime", HFILL }},
2715 { &hf_dop_initiator,
2716 { "initiator", "dop.initiator",
2717 FT_UINT32, BASE_DEC, VALS(dop_T_initiator_vals), 0,
2718 "dop.T_initiator", HFILL }},
2719 { &hf_dop_symmetric,
2720 { "symmetric", "dop.symmetric",
2721 FT_NONE, BASE_NONE, NULL, 0,
2722 "dop.T_symmetric", HFILL }},
2723 { &hf_dop_roleA_replies,
2724 { "roleA-replies", "dop.roleA_replies",
2725 FT_NONE, BASE_NONE, NULL, 0,
2726 "dop.T_roleA_replies", HFILL }},
2727 { &hf_dop_roleB_replies,
2728 { "roleB-replies", "dop.roleB_replies",
2729 FT_NONE, BASE_NONE, NULL, 0,
2730 "dop.T_roleB_replies", HFILL }},
2731 { &hf_dop_performer,
2732 { "performer", "dop.performer",
2733 FT_UINT32, BASE_DEC, NULL, 0,
2734 "x509if.DistinguishedName", HFILL }},
2735 { &hf_dop_aliasDereferenced,
2736 { "aliasDereferenced", "dop.aliasDereferenced",
2737 FT_BOOLEAN, 8, NULL, 0,
2738 "dop.BOOLEAN", HFILL }},
2739 { &hf_dop_notification,
2740 { "notification", "dop.notification",
2741 FT_UINT32, BASE_DEC, NULL, 0,
2742 "dop.SEQUENCE_SIZE_1_MAX_OF_Attribute", HFILL }},
2743 { &hf_dop_notification_item,
2744 { "Item", "dop.notification_item",
2745 FT_NONE, BASE_NONE, NULL, 0,
2746 "x509if.Attribute", HFILL }},
2747 { &hf_dop_modifyInitiator,
2748 { "initiator", "dop.initiator",
2749 FT_UINT32, BASE_DEC, VALS(dop_ModifyArgumentInitiator_vals), 0,
2750 "dop.ModifyArgumentInitiator", HFILL }},
2751 { &hf_dop_modifySymmetric,
2752 { "symmetric", "dop.symmetric",
2753 FT_NONE, BASE_NONE, NULL, 0,
2754 "dop.ModifySymmetric", HFILL }},
2755 { &hf_dop_modifyRoleAInitiates,
2756 { "roleA-initiates", "dop.roleA_initiates",
2757 FT_NONE, BASE_NONE, NULL, 0,
2758 "dop.ModifyRoleAInitiates", HFILL }},
2759 { &hf_dop_modifyRoleBInitiates,
2760 { "roleB-initiates", "dop.roleB_initiates",
2761 FT_NONE, BASE_NONE, NULL, 0,
2762 "dop.ModifyRoleBInitiates", HFILL }},
2763 { &hf_dop_newBindingID,
2764 { "newBindingID", "dop.newBindingID",
2765 FT_NONE, BASE_NONE, NULL, 0,
2766 "dop.OperationalBindingID", HFILL }},
2767 { &hf_dop_argumentNewAgreement,
2768 { "newAgreement", "dop.newAgreement",
2769 FT_NONE, BASE_NONE, NULL, 0,
2770 "dop.ArgumentNewAgreement", HFILL }},
2771 { &hf_dop_unsignedModifyOperationalBindingArgument,
2772 { "unsignedModifyOperationalBindingArgument", "dop.unsignedModifyOperationalBindingArgument",
2773 FT_NONE, BASE_NONE, NULL, 0,
2774 "dop.ModifyOperationalBindingArgumentData", HFILL }},
2775 { &hf_dop_signedModifyOperationalBindingArgument,
2776 { "signedModifyOperationalBindingArgument", "dop.signedModifyOperationalBindingArgument",
2777 FT_NONE, BASE_NONE, NULL, 0,
2778 "dop.T_signedModifyOperationalBindingArgument", HFILL }},
2779 { &hf_dop_modifyOperationalBindingArgument,
2780 { "modifyOperationalBindingArgument", "dop.modifyOperationalBindingArgument",
2781 FT_NONE, BASE_NONE, NULL, 0,
2782 "dop.ModifyOperationalBindingArgumentData", HFILL }},
2784 { "null", "dop.null",
2785 FT_NONE, BASE_NONE, NULL, 0,
2786 "dop.NULL", HFILL }},
2787 { &hf_dop_protectedModifyResult,
2788 { "protected", "dop.protected",
2789 FT_NONE, BASE_NONE, NULL, 0,
2790 "dop.ProtectedModifyResult", HFILL }},
2791 { &hf_dop_modifyOperationalBindingResultData,
2792 { "modifyOperationalBindingResultData", "dop.modifyOperationalBindingResultData",
2793 FT_NONE, BASE_NONE, NULL, 0,
2794 "dop.ModifyOperationalBindingResultData", HFILL }},
2795 { &hf_dop_resultNewAgreement,
2796 { "newAgreement", "dop.newAgreement",
2797 FT_NONE, BASE_NONE, NULL, 0,
2798 "dop.ResultNewAgreement", HFILL }},
2799 { &hf_dop_terminateInitiator,
2800 { "initiator", "dop.initiator",
2801 FT_UINT32, BASE_DEC, VALS(dop_TerminateArgumentInitiator_vals), 0,
2802 "dop.TerminateArgumentInitiator", HFILL }},
2803 { &hf_dop_terminateSymmetric,
2804 { "symmetric", "dop.symmetric",
2805 FT_NONE, BASE_NONE, NULL, 0,
2806 "dop.TerminateSymmetric", HFILL }},
2807 { &hf_dop_terminateRoleAInitiates,
2808 { "roleA-initiates", "dop.roleA_initiates",
2809 FT_NONE, BASE_NONE, NULL, 0,
2810 "dop.TerminateRoleAInitiates", HFILL }},
2811 { &hf_dop_terminateRoleBInitiates,
2812 { "roleB-initiates", "dop.roleB_initiates",
2813 FT_NONE, BASE_NONE, NULL, 0,
2814 "dop.TerminateRoleBInitiates", HFILL }},
2815 { &hf_dop_terminateAtTime,
2816 { "terminateAt", "dop.terminateAt",
2817 FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0,
2818 "dop.Time", HFILL }},
2819 { &hf_dop_unsignedTerminateOperationalBindingArgument,
2820 { "unsignedTerminateOperationalBindingArgument", "dop.unsignedTerminateOperationalBindingArgument",
2821 FT_NONE, BASE_NONE, NULL, 0,
2822 "dop.TerminateOperationalBindingArgumentData", HFILL }},
2823 { &hf_dop_signedTerminateOperationalBindingArgument,
2824 { "signedTerminateOperationalBindingArgument", "dop.signedTerminateOperationalBindingArgument",
2825 FT_NONE, BASE_NONE, NULL, 0,
2826 "dop.T_signedTerminateOperationalBindingArgument", HFILL }},
2827 { &hf_dop_terminateOperationalBindingArgument,
2828 { "terminateOperationalBindingArgument", "dop.terminateOperationalBindingArgument",
2829 FT_NONE, BASE_NONE, NULL, 0,
2830 "dop.TerminateOperationalBindingArgumentData", HFILL }},
2831 { &hf_dop_protectedTerminateResult,
2832 { "protected", "dop.protected",
2833 FT_NONE, BASE_NONE, NULL, 0,
2834 "dop.ProtectedTerminateResult", HFILL }},
2835 { &hf_dop_terminateOperationalBindingResultData,
2836 { "terminateOperationalBindingResultData", "dop.terminateOperationalBindingResultData",
2837 FT_NONE, BASE_NONE, NULL, 0,
2838 "dop.TerminateOperationalBindingResultData", HFILL }},
2839 { &hf_dop_terminateAtGeneralizedTime,
2840 { "terminateAt", "dop.terminateAt",
2841 FT_STRING, BASE_NONE, NULL, 0,
2842 "dop.GeneralizedTime", HFILL }},
2844 { "problem", "dop.problem",
2845 FT_UINT32, BASE_DEC, VALS(dop_T_problem_vals), 0,
2846 "dop.T_problem", HFILL }},
2847 { &hf_dop_agreementProposal,
2848 { "agreementProposal", "dop.agreementProposal",
2849 FT_NONE, BASE_NONE, NULL, 0,
2850 "dop.T_agreementProposal", HFILL }},
2852 { "retryAt", "dop.retryAt",
2853 FT_UINT32, BASE_DEC, VALS(x509af_Time_vals), 0,
2854 "dop.Time", HFILL }},
2857 FT_UINT32, BASE_DEC, NULL, 0,
2858 "x509if.RelativeDistinguishedName", HFILL }},
2859 { &hf_dop_immediateSuperior,
2860 { "immediateSuperior", "dop.immediateSuperior",
2861 FT_UINT32, BASE_DEC, NULL, 0,
2862 "x509if.DistinguishedName", HFILL }},
2863 { &hf_dop_contextPrefixInfo,
2864 { "contextPrefixInfo", "dop.contextPrefixInfo",
2865 FT_UINT32, BASE_DEC, NULL, 0,
2866 "dop.DITcontext", HFILL }},
2867 { &hf_dop_entryInfo,
2868 { "entryInfo", "dop.entryInfo",
2869 FT_UINT32, BASE_DEC, NULL, 0,
2870 "dop.SET_OF_Attribute", HFILL }},
2871 { &hf_dop_entryInfo_item,
2872 { "Item", "dop.entryInfo_item",
2873 FT_NONE, BASE_NONE, NULL, 0,
2874 "x509if.Attribute", HFILL }},
2875 { &hf_dop_immediateSuperiorInfo,
2876 { "immediateSuperiorInfo", "dop.immediateSuperiorInfo",
2877 FT_UINT32, BASE_DEC, NULL, 0,
2878 "dop.SET_OF_Attribute", HFILL }},
2879 { &hf_dop_immediateSuperiorInfo_item,
2880 { "Item", "dop.immediateSuperiorInfo_item",
2881 FT_NONE, BASE_NONE, NULL, 0,
2882 "x509if.Attribute", HFILL }},
2883 { &hf_dop_DITcontext_item,
2884 { "Item", "dop.DITcontext_item",
2885 FT_NONE, BASE_NONE, NULL, 0,
2886 "dop.Vertex", HFILL }},
2887 { &hf_dop_admPointInfo,
2888 { "admPointInfo", "dop.admPointInfo",
2889 FT_UINT32, BASE_DEC, NULL, 0,
2890 "dop.SET_OF_Attribute", HFILL }},
2891 { &hf_dop_admPointInfo_item,
2892 { "Item", "dop.admPointInfo_item",
2893 FT_NONE, BASE_NONE, NULL, 0,
2894 "x509if.Attribute", HFILL }},
2895 { &hf_dop_subentries,
2896 { "subentries", "dop.subentries",
2897 FT_UINT32, BASE_DEC, NULL, 0,
2898 "dop.SET_OF_SubentryInfo", HFILL }},
2899 { &hf_dop_subentries_item,
2900 { "Item", "dop.subentries_item",
2901 FT_NONE, BASE_NONE, NULL, 0,
2902 "dop.SubentryInfo", HFILL }},
2903 { &hf_dop_accessPoints,
2904 { "accessPoints", "dop.accessPoints",
2905 FT_UINT32, BASE_DEC, NULL, 0,
2906 "dsp.MasterAndShadowAccessPoints", HFILL }},
2908 { "info", "dop.info",
2909 FT_UINT32, BASE_DEC, NULL, 0,
2910 "dop.SET_OF_Attribute", HFILL }},
2911 { &hf_dop_info_item,
2912 { "Item", "dop.info_item",
2913 FT_NONE, BASE_NONE, NULL, 0,
2914 "x509if.Attribute", HFILL }},
2916 { "alias", "dop.alias",
2917 FT_BOOLEAN, 8, NULL, 0,
2918 "dop.BOOLEAN", HFILL }},
2919 { &hf_dop_identificationTag,
2920 { "identificationTag", "dop.identificationTag",
2921 FT_UINT32, BASE_DEC, VALS(x509sat_DirectoryString_vals), 0,
2922 "x509sat.DirectoryString", HFILL }},
2923 { &hf_dop_precedence,
2924 { "precedence", "dop.precedence",
2925 FT_INT32, BASE_DEC, NULL, 0,
2926 "dop.Precedence", HFILL }},
2927 { &hf_dop_authenticationLevel,
2928 { "authenticationLevel", "dop.authenticationLevel",
2929 FT_UINT32, BASE_DEC, VALS(dop_AuthenticationLevel_vals), 0,
2930 "dop.AuthenticationLevel", HFILL }},
2931 { &hf_dop_itemOrUserFirst,
2932 { "itemOrUserFirst", "dop.itemOrUserFirst",
2933 FT_UINT32, BASE_DEC, VALS(dop_T_itemOrUserFirst_vals), 0,
2934 "dop.T_itemOrUserFirst", HFILL }},
2935 { &hf_dop_itemFirst,
2936 { "itemFirst", "dop.itemFirst",
2937 FT_NONE, BASE_NONE, NULL, 0,
2938 "dop.T_itemFirst", HFILL }},
2939 { &hf_dop_protectedItems,
2940 { "protectedItems", "dop.protectedItems",
2941 FT_NONE, BASE_NONE, NULL, 0,
2942 "dop.ProtectedItems", HFILL }},
2943 { &hf_dop_itemPermissions,
2944 { "itemPermissions", "dop.itemPermissions",
2945 FT_UINT32, BASE_DEC, NULL, 0,
2946 "dop.SET_OF_ItemPermission", HFILL }},
2947 { &hf_dop_itemPermissions_item,
2948 { "Item", "dop.itemPermissions_item",
2949 FT_NONE, BASE_NONE, NULL, 0,
2950 "dop.ItemPermission", HFILL }},
2951 { &hf_dop_userFirst,
2952 { "userFirst", "dop.userFirst",
2953 FT_NONE, BASE_NONE, NULL, 0,
2954 "dop.T_userFirst", HFILL }},
2955 { &hf_dop_userClasses,
2956 { "userClasses", "dop.userClasses",
2957 FT_NONE, BASE_NONE, NULL, 0,
2958 "dop.UserClasses", HFILL }},
2959 { &hf_dop_userPermissions,
2960 { "userPermissions", "dop.userPermissions",
2961 FT_UINT32, BASE_DEC, NULL, 0,
2962 "dop.SET_OF_UserPermission", HFILL }},
2963 { &hf_dop_userPermissions_item,
2964 { "Item", "dop.userPermissions_item",
2965 FT_NONE, BASE_NONE, NULL, 0,
2966 "dop.UserPermission", HFILL }},
2968 { "entry", "dop.entry",
2969 FT_NONE, BASE_NONE, NULL, 0,
2970 "dop.NULL", HFILL }},
2971 { &hf_dop_allUserAttributeTypes,
2972 { "allUserAttributeTypes", "dop.allUserAttributeTypes",
2973 FT_NONE, BASE_NONE, NULL, 0,
2974 "dop.NULL", HFILL }},
2975 { &hf_dop_attributeType,
2976 { "attributeType", "dop.attributeType",
2977 FT_UINT32, BASE_DEC, NULL, 0,
2978 "dop.SET_OF_AttributeType", HFILL }},
2979 { &hf_dop_attributeType_item,
2980 { "Item", "dop.attributeType_item",
2981 FT_OID, BASE_NONE, NULL, 0,
2982 "x509if.AttributeType", HFILL }},
2983 { &hf_dop_allAttributeValues,
2984 { "allAttributeValues", "dop.allAttributeValues",
2985 FT_UINT32, BASE_DEC, NULL, 0,
2986 "dop.SET_OF_AttributeType", HFILL }},
2987 { &hf_dop_allAttributeValues_item,
2988 { "Item", "dop.allAttributeValues_item",
2989 FT_OID, BASE_NONE, NULL, 0,
2990 "x509if.AttributeType", HFILL }},
2991 { &hf_dop_allUserAttributeTypesAndValues,
2992 { "allUserAttributeTypesAndValues", "dop.allUserAttributeTypesAndValues",
2993 FT_NONE, BASE_NONE, NULL, 0,
2994 "dop.NULL", HFILL }},
2995 { &hf_dop_attributeValue,
2996 { "attributeValue", "dop.attributeValue",
2997 FT_UINT32, BASE_DEC, NULL, 0,
2998 "dop.SET_OF_AttributeTypeAndValue", HFILL }},
2999 { &hf_dop_attributeValue_item,
3000 { "Item", "dop.attributeValue_item",
3001 FT_NONE, BASE_NONE, NULL, 0,
3002 "crmf.AttributeTypeAndValue", HFILL }},
3003 { &hf_dop_selfValue,
3004 { "selfValue", "dop.selfValue",
3005 FT_UINT32, BASE_DEC, NULL, 0,
3006 "dop.SET_OF_AttributeType", HFILL }},
3007 { &hf_dop_selfValue_item,
3008 { "Item", "dop.selfValue_item",
3009 FT_OID, BASE_NONE, NULL, 0,
3010 "x509if.AttributeType", HFILL }},
3011 { &hf_dop_rangeOfValues,
3012 { "rangeOfValues", "dop.rangeOfValues",
3013 FT_UINT32, BASE_DEC, VALS(dap_Filter_vals), 0,
3014 "dap.Filter", HFILL }},
3015 { &hf_dop_maxValueCount,
3016 { "maxValueCount", "dop.maxValueCount",
3017 FT_UINT32, BASE_DEC, NULL, 0,
3018 "dop.SET_OF_MaxValueCount", HFILL }},
3019 { &hf_dop_maxValueCount_item,
3020 { "Item", "dop.maxValueCount_item",
3021 FT_NONE, BASE_NONE, NULL, 0,
3022 "dop.MaxValueCount", HFILL }},
3023 { &hf_dop_maxImmSub,
3024 { "maxImmSub", "dop.maxImmSub",
3025 FT_INT32, BASE_DEC, NULL, 0,
3026 "dop.INTEGER", HFILL }},
3027 { &hf_dop_restrictedBy,
3028 { "restrictedBy", "dop.restrictedBy",
3029 FT_UINT32, BASE_DEC, NULL, 0,
3030 "dop.SET_OF_RestrictedValue", HFILL }},
3031 { &hf_dop_restrictedBy_item,
3032 { "Item", "dop.restrictedBy_item",
3033 FT_NONE, BASE_NONE, NULL, 0,
3034 "dop.RestrictedValue", HFILL }},
3036 { "contexts", "dop.contexts",
3037 FT_UINT32, BASE_DEC, NULL, 0,
3038 "dop.SET_OF_ContextAssertion", HFILL }},
3039 { &hf_dop_contexts_item,
3040 { "Item", "dop.contexts_item",
3041 FT_NONE, BASE_NONE, NULL, 0,
3042 "x509if.ContextAssertion", HFILL }},
3044 { "classes", "dop.classes",
3045 FT_UINT32, BASE_DEC, VALS(x509if_Refinement_vals), 0,
3046 "x509if.Refinement", HFILL }},
3048 { "type", "dop.type",
3049 FT_OID, BASE_NONE, NULL, 0,
3050 "x509if.AttributeType", HFILL }},
3052 { "maxCount", "dop.maxCount",
3053 FT_INT32, BASE_DEC, NULL, 0,
3054 "dop.INTEGER", HFILL }},
3056 { "valuesIn", "dop.valuesIn",
3057 FT_OID, BASE_NONE, NULL, 0,
3058 "x509if.AttributeType", HFILL }},
3060 { "allUsers", "dop.allUsers",
3061 FT_NONE, BASE_NONE, NULL, 0,
3062 "dop.NULL", HFILL }},
3063 { &hf_dop_thisEntry,
3064 { "thisEntry", "dop.thisEntry",
3065 FT_NONE, BASE_NONE, NULL, 0,
3066 "dop.NULL", HFILL }},
3068 { "name", "dop.name",
3069 FT_UINT32, BASE_DEC, NULL, 0,
3070 "dop.SET_OF_NameAndOptionalUID", HFILL }},
3071 { &hf_dop_name_item,
3072 { "Item", "dop.name_item",
3073 FT_NONE, BASE_NONE, NULL, 0,
3074 "x509sat.NameAndOptionalUID", HFILL }},
3075 { &hf_dop_userGroup,
3076 { "userGroup", "dop.userGroup",
3077 FT_UINT32, BASE_DEC, NULL, 0,
3078 "dop.SET_OF_NameAndOptionalUID", HFILL }},
3079 { &hf_dop_userGroup_item,
3080 { "Item", "dop.userGroup_item",
3081 FT_NONE, BASE_NONE, NULL, 0,
3082 "x509sat.NameAndOptionalUID", HFILL }},
3084 { "subtree", "dop.subtree",
3085 FT_UINT32, BASE_DEC, NULL, 0,
3086 "dop.SET_OF_SubtreeSpecification", HFILL }},
3087 { &hf_dop_subtree_item,
3088 { "Item", "dop.subtree_item",
3089 FT_NONE, BASE_NONE, NULL, 0,
3090 "x509if.SubtreeSpecification", HFILL }},
3091 { &hf_dop_grantsAndDenials,
3092 { "grantsAndDenials", "dop.grantsAndDenials",
3093 FT_BYTES, BASE_HEX, NULL, 0,
3094 "dop.GrantsAndDenials", HFILL }},
3095 { &hf_dop_basicLevels,
3096 { "basicLevels", "dop.basicLevels",
3097 FT_NONE, BASE_NONE, NULL, 0,
3098 "dop.T_basicLevels", HFILL }},
3100 { "level", "dop.level",
3101 FT_UINT32, BASE_DEC, VALS(dop_T_level_vals), 0,
3102 "dop.T_level", HFILL }},
3103 { &hf_dop_localQualifier,
3104 { "localQualifier", "dop.localQualifier",
3105 FT_INT32, BASE_DEC, NULL, 0,
3106 "dop.INTEGER", HFILL }},
3108 { "signed", "dop.signed",
3109 FT_BOOLEAN, 8, NULL, 0,
3110 "dop.BOOLEAN", HFILL }},
3112 { "other", "dop.other",
3113 FT_NONE, BASE_NONE, NULL, 0,
3114 "acse.EXTERNAL", HFILL }},
3115 { &hf_dop_DSEType_root,
3116 { "root", "dop.root",
3117 FT_BOOLEAN, 8, NULL, 0x80,
3119 { &hf_dop_DSEType_glue,
3120 { "glue", "dop.glue",
3121 FT_BOOLEAN, 8, NULL, 0x40,
3123 { &hf_dop_DSEType_cp,
3125 FT_BOOLEAN, 8, NULL, 0x20,
3127 { &hf_dop_DSEType_entry,
3128 { "entry", "dop.entry",
3129 FT_BOOLEAN, 8, NULL, 0x10,
3131 { &hf_dop_DSEType_alias,
3132 { "alias", "dop.alias",
3133 FT_BOOLEAN, 8, NULL, 0x08,
3135 { &hf_dop_DSEType_subr,
3136 { "subr", "dop.subr",
3137 FT_BOOLEAN, 8, NULL, 0x04,
3139 { &hf_dop_DSEType_nssr,
3140 { "nssr", "dop.nssr",
3141 FT_BOOLEAN, 8, NULL, 0x02,
3143 { &hf_dop_DSEType_supr,
3144 { "supr", "dop.supr",
3145 FT_BOOLEAN, 8, NULL, 0x01,
3147 { &hf_dop_DSEType_xr,
3149 FT_BOOLEAN, 8, NULL, 0x80,
3151 { &hf_dop_DSEType_admPoint,
3152 { "admPoint", "dop.admPoint",
3153 FT_BOOLEAN, 8, NULL, 0x40,
3155 { &hf_dop_DSEType_subentry,
3156 { "subentry", "dop.subentry",
3157 FT_BOOLEAN, 8, NULL, 0x20,
3159 { &hf_dop_DSEType_shadow,
3160 { "shadow", "dop.shadow",
3161 FT_BOOLEAN, 8, NULL, 0x10,
3163 { &hf_dop_DSEType_immSupr,
3164 { "immSupr", "dop.immSupr",
3165 FT_BOOLEAN, 8, NULL, 0x04,
3167 { &hf_dop_DSEType_rhob,
3168 { "rhob", "dop.rhob",
3169 FT_BOOLEAN, 8, NULL, 0x02,
3171 { &hf_dop_DSEType_sa,
3173 FT_BOOLEAN, 8, NULL, 0x01,
3175 { &hf_dop_DSEType_dsSubentry,
3176 { "dsSubentry", "dop.dsSubentry",
3177 FT_BOOLEAN, 8, NULL, 0x80,
3179 { &hf_dop_DSEType_familyMember,
3180 { "familyMember", "dop.familyMember",
3181 FT_BOOLEAN, 8, NULL, 0x40,
3183 { &hf_dop_GrantsAndDenials_grantAdd,
3184 { "grantAdd", "dop.grantAdd",
3185 FT_BOOLEAN, 8, NULL, 0x80,
3187 { &hf_dop_GrantsAndDenials_denyAdd,
3188 { "denyAdd", "dop.denyAdd",
3189 FT_BOOLEAN, 8, NULL, 0x40,
3191 { &hf_dop_GrantsAndDenials_grantDiscloseOnError,
3192 { "grantDiscloseOnError", "dop.grantDiscloseOnError",
3193 FT_BOOLEAN, 8, NULL, 0x20,
3195 { &hf_dop_GrantsAndDenials_denyDiscloseOnError,
3196 { "denyDiscloseOnError", "dop.denyDiscloseOnError",
3197 FT_BOOLEAN, 8, NULL, 0x10,
3199 { &hf_dop_GrantsAndDenials_grantRead,
3200 { "grantRead", "dop.grantRead",
3201 FT_BOOLEAN, 8, NULL, 0x08,
3203 { &hf_dop_GrantsAndDenials_denyRead,
3204 { "denyRead", "dop.denyRead",
3205 FT_BOOLEAN, 8, NULL, 0x04,
3207 { &hf_dop_GrantsAndDenials_grantRemove,
3208 { "grantRemove", "dop.grantRemove",
3209 FT_BOOLEAN, 8, NULL, 0x02,
3211 { &hf_dop_GrantsAndDenials_denyRemove,
3212 { "denyRemove", "dop.denyRemove",
3213 FT_BOOLEAN, 8, NULL, 0x01,
3215 { &hf_dop_GrantsAndDenials_grantBrowse,
3216 { "grantBrowse", "dop.grantBrowse",
3217 FT_BOOLEAN, 8, NULL, 0x80,
3219 { &hf_dop_GrantsAndDenials_denyBrowse,
3220 { "denyBrowse", "dop.denyBrowse",
3221 FT_BOOLEAN, 8, NULL, 0x40,
3223 { &hf_dop_GrantsAndDenials_grantExport,
3224 { "grantExport", "dop.grantExport",
3225 FT_BOOLEAN, 8, NULL, 0x20,
3227 { &hf_dop_GrantsAndDenials_denyExport,
3228 { "denyExport", "dop.denyExport",
3229 FT_BOOLEAN, 8, NULL, 0x10,
3231 { &hf_dop_GrantsAndDenials_grantImport,
3232 { "grantImport", "dop.grantImport",
3233 FT_BOOLEAN, 8, NULL, 0x08,
3235 { &hf_dop_GrantsAndDenials_denyImport,
3236 { "denyImport", "dop.denyImport",
3237 FT_BOOLEAN, 8, NULL, 0x04,
3239 { &hf_dop_GrantsAndDenials_grantModify,
3240 { "grantModify", "dop.grantModify",
3241 FT_BOOLEAN, 8, NULL, 0x02,
3243 { &hf_dop_GrantsAndDenials_denyModify,
3244 { "denyModify", "dop.denyModify",
3245 FT_BOOLEAN, 8, NULL, 0x01,
3247 { &hf_dop_GrantsAndDenials_grantRename,
3248 { "grantRename", "dop.grantRename",
3249 FT_BOOLEAN, 8, NULL, 0x80,
3251 { &hf_dop_GrantsAndDenials_denyRename,
3252 { "denyRename", "dop.denyRename",
3253 FT_BOOLEAN, 8, NULL, 0x40,
3255 { &hf_dop_GrantsAndDenials_grantReturnDN,
3256 { "grantReturnDN", "dop.grantReturnDN",
3257 FT_BOOLEAN, 8, NULL, 0x20,
3259 { &hf_dop_GrantsAndDenials_denyReturnDN,
3260 { "denyReturnDN", "dop.denyReturnDN",
3261 FT_BOOLEAN, 8, NULL, 0x10,
3263 { &hf_dop_GrantsAndDenials_grantCompare,
3264 { "grantCompare", "dop.grantCompare",
3265 FT_BOOLEAN, 8, NULL, 0x08,
3267 { &hf_dop_GrantsAndDenials_denyCompare,
3268 { "denyCompare", "dop.denyCompare",
3269 FT_BOOLEAN, 8, NULL, 0x04,
3271 { &hf_dop_GrantsAndDenials_grantFilterMatch,
3272 { "grantFilterMatch", "dop.grantFilterMatch",
3273 FT_BOOLEAN, 8, NULL, 0x02,
3275 { &hf_dop_GrantsAndDenials_denyFilterMatch,
3276 { "denyFilterMatch", "dop.denyFilterMatch",
3277 FT_BOOLEAN, 8, NULL, 0x01,
3279 { &hf_dop_GrantsAndDenials_grantInvoke,
3280 { "grantInvoke", "dop.grantInvoke",
3281 FT_BOOLEAN, 8, NULL, 0x80,
3283 { &hf_dop_GrantsAndDenials_denyInvoke,
3284 { "denyInvoke", "dop.denyInvoke",
3285 FT_BOOLEAN, 8, NULL, 0x40,
3288 /*--- End of included file: packet-dop-hfarr.c ---*/
3289 #line 220 "packet-dop-template.c"
3292 /* List of subtrees */
3293 static gint *ett[] = {
3296 /*--- Included file: packet-dop-ettarr.c ---*/
3297 #line 1 "packet-dop-ettarr.c"
3299 &ett_dop_SupplierOrConsumer,
3300 &ett_dop_SET_OF_ProtocolInformation,
3301 &ett_dop_SupplierInformation,
3302 &ett_dop_SupplierAndConsumers,
3303 &ett_dop_SET_OF_AccessPoint,
3304 &ett_dop_EstablishOperationalBindingArgumentData,
3305 &ett_dop_EstablishArgumentInitiator,
3306 &ett_dop_EstablishOperationalBindingArgument,
3307 &ett_dop_T_signedEstablishOperationalBindingArgument,
3308 &ett_dop_OperationalBindingID,
3310 &ett_dop_T_validFrom,
3311 &ett_dop_T_validUntil,
3313 &ett_dop_EstablishOperationalBindingResult,
3314 &ett_dop_T_initiator,
3315 &ett_dop_SEQUENCE_SIZE_1_MAX_OF_Attribute,
3316 &ett_dop_ModifyOperationalBindingArgumentData,
3317 &ett_dop_ModifyArgumentInitiator,
3318 &ett_dop_ModifyOperationalBindingArgument,
3319 &ett_dop_T_signedModifyOperationalBindingArgument,
3320 &ett_dop_ModifyOperationalBindingResult,
3321 &ett_dop_ProtectedModifyResult,
3322 &ett_dop_ModifyOperationalBindingResultData,
3323 &ett_dop_TerminateOperationalBindingArgumentData,
3324 &ett_dop_TerminateArgumentInitiator,
3325 &ett_dop_TerminateOperationalBindingArgument,
3326 &ett_dop_T_signedTerminateOperationalBindingArgument,
3327 &ett_dop_TerminateOperationalBindingResult,
3328 &ett_dop_ProtectedTerminateResult,
3329 &ett_dop_TerminateOperationalBindingResultData,
3330 &ett_dop_OpBindingErrorParam,
3331 &ett_dop_HierarchicalAgreement,
3332 &ett_dop_SuperiorToSubordinate,
3333 &ett_dop_SET_OF_Attribute,
3334 &ett_dop_DITcontext,
3336 &ett_dop_SET_OF_SubentryInfo,
3337 &ett_dop_SubentryInfo,
3338 &ett_dop_SubordinateToSuperior,
3339 &ett_dop_SuperiorToSubordinateModification,
3340 &ett_dop_NonSpecificHierarchicalAgreement,
3341 &ett_dop_NHOBSuperiorToSubordinate,
3342 &ett_dop_NHOBSubordinateToSuperior,
3344 &ett_dop_T_itemOrUserFirst,
3345 &ett_dop_T_itemFirst,
3346 &ett_dop_SET_OF_ItemPermission,
3347 &ett_dop_T_userFirst,
3348 &ett_dop_SET_OF_UserPermission,
3349 &ett_dop_ProtectedItems,
3350 &ett_dop_SET_OF_AttributeType,
3351 &ett_dop_SET_OF_AttributeTypeAndValue,
3352 &ett_dop_SET_OF_MaxValueCount,
3353 &ett_dop_SET_OF_RestrictedValue,
3354 &ett_dop_SET_OF_ContextAssertion,
3355 &ett_dop_MaxValueCount,
3356 &ett_dop_RestrictedValue,
3357 &ett_dop_UserClasses,
3358 &ett_dop_SET_OF_NameAndOptionalUID,
3359 &ett_dop_SET_OF_SubtreeSpecification,
3360 &ett_dop_ItemPermission,
3361 &ett_dop_UserPermission,
3362 &ett_dop_AuthenticationLevel,
3363 &ett_dop_T_basicLevels,
3364 &ett_dop_GrantsAndDenials,
3366 /*--- End of included file: packet-dop-ettarr.c ---*/
3367 #line 226 "packet-dop-template.c"
3370 module_t *dop_module;
3372 /* Register protocol */
3373 proto_dop = proto_register_protocol(PNAME, PSNAME, PFNAME);
3375 register_dissector("dop", dissect_dop, proto_dop);
3377 /* Register fields and subtrees */
3378 proto_register_field_array(proto_dop, hf, array_length(hf));
3379 proto_register_subtree_array(ett, array_length(ett));
3381 /* Register our configuration options for DOP, particularly our port */
3383 #ifdef PREFERENCE_GROUPING
3384 dop_module = prefs_register_protocol_subtree("OSI/X.500", proto_dop, prefs_register_dop);
3386 dop_module = prefs_register_protocol(proto_dop, prefs_register_dop);
3389 prefs_register_uint_preference(dop_module, "tcp.port", "DOP TCP Port",
3390 "Set the port for DOP operations (if other"
3391 " than the default of 102)",
3392 10, &global_dop_tcp_port);
3398 /*--- proto_reg_handoff_dop --- */
3399 void proto_reg_handoff_dop(void) {
3400 dissector_handle_t handle = NULL;
3403 /*--- Included file: packet-dop-dis-tab.c ---*/
3404 #line 1 "packet-dop-dis-tab.c"
3405 register_ber_oid_dissector("2.5.12.0", dissect_DSEType_PDU, proto_dop, "id-doa-dseType");
3406 register_ber_oid_dissector("2.5.12.5", dissect_SupplierInformation_PDU, proto_dop, "id-doa-supplierKnowledge");
3407 register_ber_oid_dissector("2.5.12.6", dissect_ConsumerInformation_PDU, proto_dop, "id-doa-consumerKnowledge");
3408 register_ber_oid_dissector("2.5.12.7", dissect_SupplierAndConsumers_PDU, proto_dop, "id-doa-secondaryShadows");
3409 register_ber_oid_dissector("dop.agreement.2.5.19.2", dissect_HierarchicalAgreement_PDU, proto_dop, "hierarchical-agreement");
3410 register_ber_oid_dissector("dop.establish.rolea.2.5.19.2", dissect_SuperiorToSubordinate_PDU, proto_dop, "hierarchical-establish-rolea");
3411 register_ber_oid_dissector("dop.modify.rolea.2.5.19.2", dissect_SuperiorToSubordinateModification_PDU, proto_dop, "hierarchical-modify-rolea");
3412 register_ber_oid_dissector("dop.establish.roleb.2.5.19.2", dissect_SubordinateToSuperior_PDU, proto_dop, "hierarchical-establish-roleb");
3413 register_ber_oid_dissector("dop.modify.roleb.2.5.19.2", dissect_SubordinateToSuperior_PDU, proto_dop, "hierarchical-modify-roleb");
3414 register_ber_oid_dissector("dop.agreement.2.5.19.3", dissect_NonSpecificHierarchicalAgreement_PDU, proto_dop, "non-specific-hierarchical-agreement");
3415 register_ber_oid_dissector("dop.establish.rolea.2.5.19.3", dissect_NHOBSuperiorToSubordinate_PDU, proto_dop, "non-specific-hierarchical-establish-rolea");
3416 register_ber_oid_dissector("dop.modify.rolea.2.5.19.3", dissect_NHOBSuperiorToSubordinate_PDU, proto_dop, "non-specific-hierarchical-modify-rolea");
3417 register_ber_oid_dissector("dop.establish.roleb.2.5.19.3", dissect_NHOBSubordinateToSuperior_PDU, proto_dop, "non-specific-hierarchical-establish-roleb");
3418 register_ber_oid_dissector("dop.modify.roleb.2.5.19.3", dissect_NHOBSubordinateToSuperior_PDU, proto_dop, "non-specific-hierarchical-modify-roleb");
3419 register_ber_oid_dissector("2.5.24.4", dissect_ACIItem_PDU, proto_dop, "id-aca-prescriptiveACI");
3420 register_ber_oid_dissector("2.5.24.5", dissect_ACIItem_PDU, proto_dop, "id-aca-entryACI");
3421 register_ber_oid_dissector("2.5.24.6", dissect_ACIItem_PDU, proto_dop, "id-aca-subentryACI");
3424 /*--- End of included file: packet-dop-dis-tab.c ---*/
3425 #line 261 "packet-dop-template.c"
3426 /* APPLICATION CONTEXT */
3428 add_oid_str_name("2.5.3.3", "id-ac-directory-operational-binding-management");
3430 /* ABSTRACT SYNTAXES */
3432 /* Register DOP with ROS (with no use of RTSE) */
3433 if((handle = find_dissector("dop"))) {
3434 register_ros_oid_dissector_handle("2.5.9.4", handle, 0, "id-as-directory-operational-binding-management", FALSE);
3439 add_oid_str_name("2.5.19.1", "shadow-agreement");
3440 add_oid_str_name("2.5.19.2", "hierarchical-agreement");
3441 add_oid_str_name("2.5.19.3", "non-specific-hierarchical-agreement");
3443 /* ACCESS CONTROL SCHEMES */
3444 add_oid_str_name("2.5.28.1", "basic-ACS");
3445 add_oid_str_name("2.5.28.2", "simplified-ACS");
3446 add_oid_str_name("2.5.28.3", "ruleBased-ACS");
3447 add_oid_str_name("2.5.28.4", "ruleAndBasic-ACS");
3448 add_oid_str_name("2.5.28.5", "ruleAndSimple-ACS");
3450 /* ADMINISTRATIVE ROLES */
3451 add_oid_str_name("2.5.23.1", "id-ar-autonomousArea");
3452 add_oid_str_name("2.5.23.2", "id-ar-accessControlSpecificArea");
3453 add_oid_str_name("2.5.23.3", "id-ar-accessControlInnerArea");
3454 add_oid_str_name("2.5.23.4", "id-ar-subschemaAdminSpecificArea");
3455 add_oid_str_name("2.5.23.5", "id-ar-collectiveAttributeSpecificArea");
3456 add_oid_str_name("2.5.23.6", "id-ar-collectiveAttributeInnerArea");
3457 add_oid_str_name("2.5.23.7", "id-ar-contextDefaultSpecificArea");
3458 add_oid_str_name("2.5.23.8", "id-ar-serviceSpecificArea");
3460 /* remember the tpkt handler for change in preferences */
3461 tpkt_handle = find_dissector("tpkt");
3465 void prefs_register_dop(void) {
3467 /* de-register the old port */
3468 /* port 102 is registered by TPKT - don't undo this! */
3469 if((tcp_port != 102) && tpkt_handle)
3470 dissector_delete("tcp.port", tcp_port, tpkt_handle);
3472 /* Set our port number for future use */
3473 tcp_port = global_dop_tcp_port;
3475 if((tcp_port > 0) && (tcp_port != 102) && tpkt_handle)
3476 dissector_add("tcp.port", global_dop_tcp_port, tpkt_handle);