2013-04-11 18:14:53 +00:00
/* Do not modify this file. Changes will be overwritten. */
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
2007-10-22 17:20:04 +00:00
/* packet-disp.c */
2016-03-09 03:17:51 +00:00
/* asn2wrs.py -b -p disp -c ./disp.cnf -s ./packet-disp-template -D . -O ../.. disp.asn */
2005-11-16 23:17:21 +00:00
/* Input file: packet-disp-template.c */
2016-03-09 03:17:51 +00:00
# line 1 ". / asn1 / disp / packet-disp-template.c"
2005-11-16 23:17:21 +00:00
/* packet-disp.c
* Routines for X .525 ( X .500 Directory Shadow Asbtract Service ) and X .519 DISP packet dissection
* Graeme Lunt 2005
*
2006-05-21 04:49:01 +00:00
* Wireshark - Network traffic analyzer
* By Gerald Combs < gerald @ wireshark . org >
2005-11-16 23:17:21 +00:00
* Copyright 1998 Gerald Combs
*
* This program is free software ; you can redistribute it and / or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation ; either version 2
* of the License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License
* along with this program ; if not , write to the Free Software
2012-06-28 22:56:06 +00:00
* Foundation , Inc . , 51 Franklin Street , Fifth Floor , Boston , MA 02110 - 1301 USA .
2005-11-16 23:17:21 +00:00
*/
2012-09-20 02:03:38 +00:00
# include "config.h"
2005-11-16 23:17:21 +00:00
# include <epan/packet.h>
2014-08-08 13:19:29 +00:00
# include <epan/expert.h>
2005-11-16 23:17:21 +00:00
# include <epan/prefs.h>
2007-08-25 01:14:24 +00:00
# include <epan/oids.h>
2007-05-13 20:58:29 +00:00
# include <epan/asn1.h>
2005-11-16 23:17:21 +00:00
# include "packet-ber.h"
# include "packet-acse.h"
# include "packet-ros.h"
# include "packet-rtse.h"
# include "packet-x509if.h"
# include "packet-x509af.h"
# include "packet-x509sat.h"
# include "packet-crmf.h"
2005-12-08 06:43:01 +00:00
# include "packet-dop.h"
2005-11-16 23:17:21 +00:00
# include "packet-dap.h"
# include "packet-dsp.h"
# include "packet-disp.h"
2010-12-06 22:08:48 +00:00
/* we don't have a separate dissector for X519 -
2005-11-16 23:17:21 +00:00
and most of DISP is defined in X525 */
# define PNAME "X.519 Directory Information Shadowing Protocol"
# define PSNAME "DISP"
# define PFNAME "disp"
2013-12-08 22:11:18 +00:00
void proto_register_disp ( void ) ;
void proto_reg_handoff_disp ( void ) ;
2005-11-16 23:17:21 +00:00
/* Initialize the protocol and registered fields */
2009-10-11 16:24:29 +00:00
static int proto_disp = - 1 ;
2005-11-16 23:17:21 +00:00
/*--- Included file: packet-disp-hf.c ---*/
2016-03-09 03:17:51 +00:00
# line 1 ". / asn1 / disp / packet-disp-hf.c"
2005-12-08 06:43:01 +00:00
static int hf_disp_EstablishParameter_PDU = - 1 ; /* EstablishParameter */
static int hf_disp_ModificationParameter_PDU = - 1 ; /* ModificationParameter */
static int hf_disp_ShadowingAgreementInfo_PDU = - 1 ; /* ShadowingAgreementInfo */
2005-11-16 23:17:21 +00:00
static int hf_disp_modifiedSecondaryShadows = - 1 ; /* SET_OF_SupplierAndConsumers */
2006-06-28 14:19:08 +00:00
static int hf_disp_modifiedSecondaryShadows_item = - 1 ; /* SupplierAndConsumers */
2005-11-16 23:17:21 +00:00
static int hf_disp_shadowSubject = - 1 ; /* UnitOfReplication */
static int hf_disp_updateMode = - 1 ; /* UpdateMode */
static int hf_disp_master = - 1 ; /* AccessPoint */
static int hf_disp_secondaryShadows = - 1 ; /* BOOLEAN */
static int hf_disp_area = - 1 ; /* AreaSpecification */
static int hf_disp_replication_attributes = - 1 ; /* AttributeSelection */
static int hf_disp_knowledge = - 1 ; /* Knowledge */
static int hf_disp_subordinates = - 1 ; /* BOOLEAN */
static int hf_disp_contextSelection = - 1 ; /* ContextSelection */
static int hf_disp_supplyContexts = - 1 ; /* T_supplyContexts */
static int hf_disp_allContexts = - 1 ; /* NULL */
static int hf_disp_selectedContexts = - 1 ; /* T_selectedContexts */
static int hf_disp_selectedContexts_item = - 1 ; /* OBJECT_IDENTIFIER */
static int hf_disp_contextPrefix = - 1 ; /* DistinguishedName */
static int hf_disp_replicationArea = - 1 ; /* SubtreeSpecification */
static int hf_disp_knowledgeType = - 1 ; /* T_knowledgeType */
static int hf_disp_extendedKnowledge = - 1 ; /* BOOLEAN */
static int hf_disp_AttributeSelection_item = - 1 ; /* ClassAttributeSelection */
static int hf_disp_class = - 1 ; /* OBJECT_IDENTIFIER */
static int hf_disp_classAttributes = - 1 ; /* ClassAttributes */
static int hf_disp_allAttributes = - 1 ; /* NULL */
static int hf_disp_include = - 1 ; /* AttributeTypes */
static int hf_disp_exclude = - 1 ; /* AttributeTypes */
static int hf_disp_AttributeTypes_item = - 1 ; /* AttributeType */
static int hf_disp_supplierInitiated = - 1 ; /* SupplierUpdateMode */
static int hf_disp_consumerInitiated = - 1 ; /* ConsumerUpdateMode */
static int hf_disp_onChange = - 1 ; /* BOOLEAN */
static int hf_disp_scheduled = - 1 ; /* SchedulingParameters */
static int hf_disp_periodic = - 1 ; /* PeriodicStrategy */
static int hf_disp_othertimes = - 1 ; /* BOOLEAN */
static int hf_disp_beginTime = - 1 ; /* Time */
static int hf_disp_windowSize = - 1 ; /* INTEGER */
static int hf_disp_updateInterval = - 1 ; /* INTEGER */
static int hf_disp_agreementID = - 1 ; /* AgreementID */
static int hf_disp_lastUpdate = - 1 ; /* Time */
static int hf_disp_updateStrategy = - 1 ; /* T_updateStrategy */
static int hf_disp_standardUpdate = - 1 ; /* StandardUpdate */
2007-11-06 20:21:09 +00:00
static int hf_disp_other = - 1 ; /* EXTERNAL */
2005-11-16 23:17:21 +00:00
static int hf_disp_securityParameters = - 1 ; /* SecurityParameters */
static int hf_disp_unsignedCoordinateShadowUpdateArgument = - 1 ; /* CoordinateShadowUpdateArgumentData */
static int hf_disp_signedCoordinateShadowUpdateArgument = - 1 ; /* T_signedCoordinateShadowUpdateArgument */
static int hf_disp_coordinateShadowUpdateArgument = - 1 ; /* CoordinateShadowUpdateArgumentData */
static int hf_disp_algorithmIdentifier = - 1 ; /* AlgorithmIdentifier */
static int hf_disp_encrypted = - 1 ; /* BIT_STRING */
static int hf_disp_null = - 1 ; /* NULL */
static int hf_disp_information = - 1 ; /* Information */
static int hf_disp_performer = - 1 ; /* DistinguishedName */
static int hf_disp_aliasDereferenced = - 1 ; /* BOOLEAN */
static int hf_disp_notification = - 1 ; /* SEQUENCE_OF_Attribute */
static int hf_disp_notification_item = - 1 ; /* Attribute */
static int hf_disp_unsignedInformation = - 1 ; /* InformationData */
static int hf_disp_signedInformation = - 1 ; /* T_signedInformation */
static int hf_disp_information_data = - 1 ; /* InformationData */
static int hf_disp_requestedStrategy = - 1 ; /* T_requestedStrategy */
static int hf_disp_standard = - 1 ; /* T_standard */
static int hf_disp_unsignedRequestShadowUpdateArgument = - 1 ; /* RequestShadowUpdateArgumentData */
static int hf_disp_signedRequestShadowUpdateArgument = - 1 ; /* T_signedRequestShadowUpdateArgument */
static int hf_disp_requestShadowUpdateArgument = - 1 ; /* RequestShadowUpdateArgumentData */
static int hf_disp_updateTime = - 1 ; /* Time */
static int hf_disp_updateWindow = - 1 ; /* UpdateWindow */
static int hf_disp_updatedInfo = - 1 ; /* RefreshInformation */
static int hf_disp_unsignedUpdateShadowArgument = - 1 ; /* UpdateShadowArgumentData */
static int hf_disp_signedUpdateShadowArgument = - 1 ; /* T_signedUpdateShadowArgument */
static int hf_disp_updateShadowArgument = - 1 ; /* UpdateShadowArgumentData */
static int hf_disp_start = - 1 ; /* Time */
static int hf_disp_stop = - 1 ; /* Time */
static int hf_disp_noRefresh = - 1 ; /* NULL */
static int hf_disp_total = - 1 ; /* TotalRefresh */
static int hf_disp_incremental = - 1 ; /* IncrementalRefresh */
2007-11-06 20:21:09 +00:00
static int hf_disp_otherStrategy = - 1 ; /* EXTERNAL */
2005-11-16 23:17:21 +00:00
static int hf_disp_sDSE = - 1 ; /* SDSEContent */
static int hf_disp_subtree = - 1 ; /* SET_OF_Subtree */
static int hf_disp_subtree_item = - 1 ; /* Subtree */
static int hf_disp_sDSEType = - 1 ; /* SDSEType */
static int hf_disp_subComplete = - 1 ; /* BOOLEAN */
static int hf_disp_attComplete = - 1 ; /* BOOLEAN */
static int hf_disp_attributes = - 1 ; /* SET_OF_Attribute */
static int hf_disp_attributes_item = - 1 ; /* Attribute */
static int hf_disp_attValIncomplete = - 1 ; /* SET_OF_AttributeType */
static int hf_disp_attValIncomplete_item = - 1 ; /* AttributeType */
static int hf_disp_rdn = - 1 ; /* RelativeDistinguishedName */
static int hf_disp_IncrementalRefresh_item = - 1 ; /* IncrementalStepRefresh */
static int hf_disp_sDSEChanges = - 1 ; /* T_sDSEChanges */
static int hf_disp_add = - 1 ; /* SDSEContent */
static int hf_disp_remove = - 1 ; /* NULL */
static int hf_disp_modify = - 1 ; /* ContentChange */
static int hf_disp_subordinateUpdates = - 1 ; /* SEQUENCE_OF_SubordinateChanges */
static int hf_disp_subordinateUpdates_item = - 1 ; /* SubordinateChanges */
static int hf_disp_rename = - 1 ; /* T_rename */
static int hf_disp_newRDN = - 1 ; /* RelativeDistinguishedName */
static int hf_disp_newDN = - 1 ; /* DistinguishedName */
static int hf_disp_attributeChanges = - 1 ; /* T_attributeChanges */
static int hf_disp_replace = - 1 ; /* SET_OF_Attribute */
static int hf_disp_replace_item = - 1 ; /* Attribute */
static int hf_disp_changes = - 1 ; /* SEQUENCE_OF_EntryModification */
static int hf_disp_changes_item = - 1 ; /* EntryModification */
static int hf_disp_subordinate = - 1 ; /* RelativeDistinguishedName */
static int hf_disp_subordinate_changes = - 1 ; /* IncrementalStepRefresh */
static int hf_disp_problem = - 1 ; /* ShadowProblem */
static int hf_disp_unsignedShadowError = - 1 ; /* ShadowErrorData */
static int hf_disp_signedShadowError = - 1 ; /* T_signedShadowError */
static int hf_disp_shadowError = - 1 ; /* ShadowErrorData */
/*--- End of included file: packet-disp-hf.c ---*/
2016-09-04 02:22:50 +00:00
# line 61 ". / asn1 / disp / packet-disp-template.c"
2005-11-16 23:17:21 +00:00
/* Initialize the subtree pointers */
static gint ett_disp = - 1 ;
/*--- Included file: packet-disp-ett.c ---*/
2016-03-09 03:17:51 +00:00
# line 1 ". / asn1 / disp / packet-disp-ett.c"
2005-11-16 23:17:21 +00:00
static gint ett_disp_ModificationParameter = - 1 ;
static gint ett_disp_SET_OF_SupplierAndConsumers = - 1 ;
static gint ett_disp_ShadowingAgreementInfo = - 1 ;
static gint ett_disp_UnitOfReplication = - 1 ;
static gint ett_disp_T_supplyContexts = - 1 ;
static gint ett_disp_T_selectedContexts = - 1 ;
static gint ett_disp_AreaSpecification = - 1 ;
static gint ett_disp_Knowledge = - 1 ;
static gint ett_disp_AttributeSelection = - 1 ;
static gint ett_disp_ClassAttributeSelection = - 1 ;
static gint ett_disp_ClassAttributes = - 1 ;
static gint ett_disp_AttributeTypes = - 1 ;
static gint ett_disp_UpdateMode = - 1 ;
static gint ett_disp_SupplierUpdateMode = - 1 ;
static gint ett_disp_SchedulingParameters = - 1 ;
static gint ett_disp_PeriodicStrategy = - 1 ;
static gint ett_disp_CoordinateShadowUpdateArgumentData = - 1 ;
static gint ett_disp_T_updateStrategy = - 1 ;
static gint ett_disp_CoordinateShadowUpdateArgument = - 1 ;
static gint ett_disp_T_signedCoordinateShadowUpdateArgument = - 1 ;
static gint ett_disp_CoordinateShadowUpdateResult = - 1 ;
static gint ett_disp_InformationData = - 1 ;
static gint ett_disp_SEQUENCE_OF_Attribute = - 1 ;
static gint ett_disp_Information = - 1 ;
static gint ett_disp_T_signedInformation = - 1 ;
static gint ett_disp_RequestShadowUpdateArgumentData = - 1 ;
static gint ett_disp_T_requestedStrategy = - 1 ;
static gint ett_disp_RequestShadowUpdateArgument = - 1 ;
static gint ett_disp_T_signedRequestShadowUpdateArgument = - 1 ;
static gint ett_disp_RequestShadowUpdateResult = - 1 ;
static gint ett_disp_UpdateShadowArgumentData = - 1 ;
static gint ett_disp_UpdateShadowArgument = - 1 ;
static gint ett_disp_T_signedUpdateShadowArgument = - 1 ;
static gint ett_disp_UpdateShadowResult = - 1 ;
static gint ett_disp_UpdateWindow = - 1 ;
static gint ett_disp_RefreshInformation = - 1 ;
static gint ett_disp_TotalRefresh = - 1 ;
static gint ett_disp_SET_OF_Subtree = - 1 ;
static gint ett_disp_SDSEContent = - 1 ;
static gint ett_disp_SET_OF_Attribute = - 1 ;
static gint ett_disp_SET_OF_AttributeType = - 1 ;
static gint ett_disp_Subtree = - 1 ;
static gint ett_disp_IncrementalRefresh = - 1 ;
static gint ett_disp_IncrementalStepRefresh = - 1 ;
static gint ett_disp_T_sDSEChanges = - 1 ;
static gint ett_disp_SEQUENCE_OF_SubordinateChanges = - 1 ;
static gint ett_disp_ContentChange = - 1 ;
static gint ett_disp_T_rename = - 1 ;
static gint ett_disp_T_attributeChanges = - 1 ;
static gint ett_disp_SEQUENCE_OF_EntryModification = - 1 ;
static gint ett_disp_SubordinateChanges = - 1 ;
static gint ett_disp_ShadowErrorData = - 1 ;
static gint ett_disp_ShadowError = - 1 ;
static gint ett_disp_T_signedShadowError = - 1 ;
/*--- End of included file: packet-disp-ett.c ---*/
2016-09-04 02:22:50 +00:00
# line 65 ". / asn1 / disp / packet-disp-template.c"
2014-08-08 13:19:29 +00:00
static expert_field ei_disp_unsupported_opcode = EI_INIT ;
static expert_field ei_disp_unsupported_errcode = EI_INIT ;
static expert_field ei_disp_unsupported_pdu = EI_INIT ;
static expert_field ei_disp_zero_pdu = EI_INIT ;
2005-11-16 23:17:21 +00:00
2016-07-01 00:41:45 +00:00
static dissector_handle_t disp_handle = NULL ;
2005-11-16 23:17:21 +00:00
/*--- Included file: packet-disp-fn.c ---*/
2016-03-09 03:17:51 +00:00
# line 1 ". / asn1 / disp / packet-disp-fn.c"
2005-11-16 23:17:21 +00:00
/*--- Cyclic dependencies ---*/
/* Subtree -> Subtree/subtree -> Subtree */
2007-05-13 20:58:29 +00:00
static int dissect_disp_Subtree ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) ;
2005-11-16 23:17:21 +00:00
/* IncrementalStepRefresh -> IncrementalStepRefresh/subordinateUpdates -> SubordinateChanges -> IncrementalStepRefresh */
2007-05-13 20:58:29 +00:00
static int dissect_disp_IncrementalStepRefresh ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) ;
2005-11-16 23:17:21 +00:00
static int
2007-05-13 20:58:29 +00:00
dissect_disp_DSAShadowBindArgument ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
offset = dissect_dap_DirectoryBindArgument ( implicit_tag , tvb , offset , actx , tree , hf_index ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_DSAShadowBindResult ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
offset = dissect_dap_DirectoryBindArgument ( implicit_tag , tvb , offset , actx , tree , hf_index ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_DSAShadowBindError ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
offset = dissect_dap_DirectoryBindError ( implicit_tag , tvb , offset , actx , tree , hf_index ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2005-12-08 06:43:01 +00:00
static int
2007-05-13 20:58:29 +00:00
dissect_disp_EstablishParameter ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-05-15 05:49:43 +00:00
offset = dissect_ber_null ( implicit_tag , actx , tree , tvb , offset , hf_index ) ;
2005-12-08 06:43:01 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SET_OF_SupplierAndConsumers_set_of [ 1 ] = {
{ & hf_disp_modifiedSecondaryShadows_item , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_NOOWNTAG , dissect_dop_SupplierAndConsumers } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SET_OF_SupplierAndConsumers ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_set_of ( implicit_tag , actx , tree , tvb , offset ,
SET_OF_SupplierAndConsumers_set_of , hf_index , ett_disp_SET_OF_SupplierAndConsumers ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t ModificationParameter_sequence [ ] = {
{ & hf_disp_modifiedSecondaryShadows , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_NOOWNTAG , dissect_disp_SET_OF_SupplierAndConsumers } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_ModificationParameter ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
ModificationParameter_sequence , hf_index , ett_disp_ModificationParameter ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2005-12-16 06:47:22 +00:00
int
2007-05-13 20:58:29 +00:00
dissect_disp_AgreementID ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
offset = dissect_dop_OperationalBindingID ( implicit_tag , tvb , offset , actx , tree , hf_index ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t AreaSpecification_sequence [ ] = {
{ & hf_disp_contextPrefix , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509if_DistinguishedName } ,
{ & hf_disp_replicationArea , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509if_SubtreeSpecification } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_AreaSpecification ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
AreaSpecification_sequence , hf_index , ett_disp_AreaSpecification ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_OBJECT_IDENTIFIER ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-05-15 05:49:43 +00:00
offset = dissect_ber_object_identifier ( implicit_tag , actx , tree , tvb , offset , hf_index , NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_NULL ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-05-15 05:49:43 +00:00
offset = dissect_ber_null ( implicit_tag , actx , tree , tvb , offset , hf_index ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t AttributeTypes_set_of [ 1 ] = {
{ & hf_disp_AttributeTypes_item , BER_CLASS_UNI , BER_UNI_TAG_OID , BER_FLAGS_NOOWNTAG , dissect_x509if_AttributeType } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_AttributeTypes ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_set_of ( implicit_tag , actx , tree , tvb , offset ,
AttributeTypes_set_of , hf_index , ett_disp_AttributeTypes ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_ClassAttributes_vals [ ] = {
{ 0 , " allAttributes " } ,
{ 1 , " include " } ,
{ 2 , " exclude " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t ClassAttributes_choice [ ] = {
{ 0 , & hf_disp_allAttributes , BER_CLASS_UNI , BER_UNI_TAG_NULL , BER_FLAGS_NOOWNTAG , dissect_disp_NULL } ,
{ 1 , & hf_disp_include , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_AttributeTypes } ,
{ 2 , & hf_disp_exclude , BER_CLASS_CON , 1 , BER_FLAGS_IMPLTAG , dissect_disp_AttributeTypes } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_ClassAttributes ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
ClassAttributes_choice , hf_index , ett_disp_ClassAttributes ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t ClassAttributeSelection_sequence [ ] = {
{ & hf_disp_class , BER_CLASS_UNI , BER_UNI_TAG_OID , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_OBJECT_IDENTIFIER } ,
{ & hf_disp_classAttributes , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG | BER_FLAGS_NOTCHKTAG , dissect_disp_ClassAttributes } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_ClassAttributeSelection ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
ClassAttributeSelection_sequence , hf_index , ett_disp_ClassAttributeSelection ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t AttributeSelection_set_of [ 1 ] = {
{ & hf_disp_AttributeSelection_item , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_ClassAttributeSelection } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_AttributeSelection ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_set_of ( implicit_tag , actx , tree , tvb , offset ,
AttributeSelection_set_of , hf_index , ett_disp_AttributeSelection ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_T_knowledgeType_vals [ ] = {
{ 0 , " master " } ,
{ 1 , " shadow " } ,
{ 2 , " both " } ,
{ 0 , NULL }
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_knowledgeType ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-05-15 05:49:43 +00:00
offset = dissect_ber_integer ( implicit_tag , actx , tree , tvb , offset , hf_index ,
2005-11-16 23:17:21 +00:00
NULL ) ;
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_BOOLEAN ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2008-01-04 16:21:07 +00:00
offset = dissect_ber_boolean ( implicit_tag , actx , tree , tvb , offset , hf_index , NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t Knowledge_sequence [ ] = {
{ & hf_disp_knowledgeType , BER_CLASS_UNI , BER_UNI_TAG_ENUMERATED , BER_FLAGS_NOOWNTAG , dissect_disp_T_knowledgeType } ,
{ & hf_disp_extendedKnowledge , BER_CLASS_UNI , BER_UNI_TAG_BOOLEAN , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_BOOLEAN } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_Knowledge ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
Knowledge_sequence , hf_index , ett_disp_Knowledge ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t T_selectedContexts_set_of [ 1 ] = {
{ & hf_disp_selectedContexts_item , BER_CLASS_UNI , BER_UNI_TAG_OID , BER_FLAGS_NOOWNTAG , dissect_disp_OBJECT_IDENTIFIER } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_selectedContexts ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_set_of ( implicit_tag , actx , tree , tvb , offset ,
T_selectedContexts_set_of , hf_index , ett_disp_T_selectedContexts ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_T_supplyContexts_vals [ ] = {
{ 0 , " allContexts " } ,
{ 1 , " selectedContexts " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t T_supplyContexts_choice [ ] = {
{ 0 , & hf_disp_allContexts , BER_CLASS_UNI , BER_UNI_TAG_NULL , BER_FLAGS_NOOWNTAG , dissect_disp_NULL } ,
{ 1 , & hf_disp_selectedContexts , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_NOOWNTAG , dissect_disp_T_selectedContexts } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_supplyContexts ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
T_supplyContexts_choice , hf_index , ett_disp_T_supplyContexts ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t UnitOfReplication_sequence [ ] = {
{ & hf_disp_area , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_AreaSpecification } ,
{ & hf_disp_replication_attributes , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_NOOWNTAG , dissect_disp_AttributeSelection } ,
{ & hf_disp_knowledge , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_Knowledge } ,
{ & hf_disp_subordinates , BER_CLASS_UNI , BER_UNI_TAG_BOOLEAN , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_BOOLEAN } ,
2007-11-06 20:21:09 +00:00
{ & hf_disp_contextSelection , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_dap_ContextSelection } ,
2007-10-22 17:20:04 +00:00
{ & hf_disp_supplyContexts , BER_CLASS_CON , 0 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_T_supplyContexts } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_UnitOfReplication ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
UnitOfReplication_sequence , hf_index , ett_disp_UnitOfReplication ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_Time ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-05-15 05:49:43 +00:00
offset = dissect_ber_GeneralizedTime ( implicit_tag , actx , tree , tvb , offset , hf_index ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_INTEGER ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-05-15 05:49:43 +00:00
offset = dissect_ber_integer ( implicit_tag , actx , tree , tvb , offset , hf_index ,
2008-04-13 16:18:40 +00:00
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t PeriodicStrategy_sequence [ ] = {
{ & hf_disp_beginTime , BER_CLASS_UNI , BER_UNI_TAG_GeneralizedTime , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_Time } ,
{ & hf_disp_windowSize , BER_CLASS_UNI , BER_UNI_TAG_INTEGER , BER_FLAGS_NOOWNTAG , dissect_disp_INTEGER } ,
{ & hf_disp_updateInterval , BER_CLASS_UNI , BER_UNI_TAG_INTEGER , BER_FLAGS_NOOWNTAG , dissect_disp_INTEGER } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_PeriodicStrategy ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
PeriodicStrategy_sequence , hf_index , ett_disp_PeriodicStrategy ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SchedulingParameters_sequence [ ] = {
{ & hf_disp_periodic , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_PeriodicStrategy } ,
{ & hf_disp_othertimes , BER_CLASS_UNI , BER_UNI_TAG_BOOLEAN , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_BOOLEAN } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SchedulingParameters ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
SchedulingParameters_sequence , hf_index , ett_disp_SchedulingParameters ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_SupplierUpdateMode_vals [ ] = {
{ 0 , " onChange " } ,
{ 1 , " scheduled " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t SupplierUpdateMode_choice [ ] = {
{ 0 , & hf_disp_onChange , BER_CLASS_UNI , BER_UNI_TAG_BOOLEAN , BER_FLAGS_NOOWNTAG , dissect_disp_BOOLEAN } ,
{ 1 , & hf_disp_scheduled , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_SchedulingParameters } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SupplierUpdateMode ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
SupplierUpdateMode_choice , hf_index , ett_disp_SupplierUpdateMode ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_ConsumerUpdateMode ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
offset = dissect_disp_SchedulingParameters ( implicit_tag , tvb , offset , actx , tree , hf_index ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_UpdateMode_vals [ ] = {
{ 0 , " supplierInitiated " } ,
{ 1 , " consumerInitiated " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t UpdateMode_choice [ ] = {
{ 0 , & hf_disp_supplierInitiated , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_SupplierUpdateMode } ,
{ 1 , & hf_disp_consumerInitiated , BER_CLASS_CON , 1 , BER_FLAGS_IMPLTAG , dissect_disp_ConsumerUpdateMode } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_UpdateMode ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
UpdateMode_choice , hf_index , ett_disp_UpdateMode ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t ShadowingAgreementInfo_sequence [ ] = {
{ & hf_disp_shadowSubject , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_UnitOfReplication } ,
2010-01-11 13:32:55 +00:00
{ & hf_disp_updateMode , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG | BER_FLAGS_NOTCHKTAG , dissect_disp_UpdateMode } ,
2007-10-22 17:20:04 +00:00
{ & hf_disp_master , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_dsp_AccessPoint } ,
{ & hf_disp_secondaryShadows , BER_CLASS_CON , 2 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_BOOLEAN } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_ShadowingAgreementInfo ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
ShadowingAgreementInfo_sequence , hf_index , ett_disp_ShadowingAgreementInfo ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_StandardUpdate_vals [ ] = {
{ 0 , " noChanges " } ,
{ 1 , " incremental " } ,
{ 2 , " total " } ,
{ 0 , NULL }
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_StandardUpdate ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2016-03-09 03:17:51 +00:00
# line 63 ". / asn1 / disp / disp.cnf"
2005-11-16 23:17:21 +00:00
guint32 update ;
2007-05-15 05:49:43 +00:00
offset = dissect_ber_integer ( implicit_tag , actx , tree , tvb , offset , hf_index ,
2005-11-16 23:17:21 +00:00
& update ) ;
2010-01-17 12:19:02 +00:00
col_append_fstr ( actx - > pinfo - > cinfo , COL_INFO , " %s " , val_to_str ( update , disp_StandardUpdate_vals , " unknown(%d) " ) ) ;
2005-11-16 23:17:21 +00:00
2005-12-08 06:43:01 +00:00
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-11-06 20:21:09 +00:00
static int
dissect_disp_EXTERNAL ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
offset = dissect_ber_external_type ( implicit_tag , tree , tvb , offset , actx , hf_index , NULL ) ;
return offset ;
}
2005-11-16 23:17:21 +00:00
static const value_string disp_T_updateStrategy_vals [ ] = {
{ 0 , " standard " } ,
{ 1 , " other " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t T_updateStrategy_choice [ ] = {
{ 0 , & hf_disp_standardUpdate , BER_CLASS_UNI , BER_UNI_TAG_ENUMERATED , BER_FLAGS_NOOWNTAG , dissect_disp_StandardUpdate } ,
2007-11-06 20:21:09 +00:00
{ 1 , & hf_disp_other , BER_CLASS_UNI , BER_UNI_TAG_EXTERNAL , BER_FLAGS_NOOWNTAG , dissect_disp_EXTERNAL } ,
2007-10-22 17:20:04 +00:00
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_updateStrategy ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
T_updateStrategy_choice , hf_index , ett_disp_T_updateStrategy ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t CoordinateShadowUpdateArgumentData_sequence [ ] = {
{ & hf_disp_agreementID , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_AgreementID } ,
{ & hf_disp_lastUpdate , BER_CLASS_UNI , BER_UNI_TAG_GeneralizedTime , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_Time } ,
{ & hf_disp_updateStrategy , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_NOOWNTAG | BER_FLAGS_NOTCHKTAG , dissect_disp_T_updateStrategy } ,
2007-11-06 20:21:09 +00:00
{ & hf_disp_securityParameters , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_dap_SecurityParameters } ,
2007-10-22 17:20:04 +00:00
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_CoordinateShadowUpdateArgumentData ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
CoordinateShadowUpdateArgumentData_sequence , hf_index , ett_disp_CoordinateShadowUpdateArgumentData ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_BIT_STRING ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-05-15 05:49:43 +00:00
offset = dissect_ber_bitstring ( implicit_tag , actx , tree , tvb , offset ,
2005-11-16 23:17:21 +00:00
NULL , hf_index , - 1 ,
NULL ) ;
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t T_signedCoordinateShadowUpdateArgument_sequence [ ] = {
{ & hf_disp_coordinateShadowUpdateArgument , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_CoordinateShadowUpdateArgumentData } ,
{ & hf_disp_algorithmIdentifier , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509af_AlgorithmIdentifier } ,
{ & hf_disp_encrypted , BER_CLASS_UNI , BER_UNI_TAG_BITSTRING , BER_FLAGS_NOOWNTAG , dissect_disp_BIT_STRING } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_signedCoordinateShadowUpdateArgument ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
T_signedCoordinateShadowUpdateArgument_sequence , hf_index , ett_disp_T_signedCoordinateShadowUpdateArgument ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_choice_t CoordinateShadowUpdateArgument_choice [ ] = {
{ 0 , & hf_disp_unsignedCoordinateShadowUpdateArgument , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_CoordinateShadowUpdateArgumentData } ,
{ 1 , & hf_disp_signedCoordinateShadowUpdateArgument , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_T_signedCoordinateShadowUpdateArgument } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_CoordinateShadowUpdateArgument ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
CoordinateShadowUpdateArgument_choice , hf_index , ett_disp_CoordinateShadowUpdateArgument ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SEQUENCE_OF_Attribute_sequence_of [ 1 ] = {
{ & hf_disp_notification_item , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509if_Attribute } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SEQUENCE_OF_Attribute ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence_of ( implicit_tag , actx , tree , tvb , offset ,
SEQUENCE_OF_Attribute_sequence_of , hf_index , ett_disp_SEQUENCE_OF_Attribute ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t InformationData_sequence [ ] = {
{ & hf_disp_agreementID , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_AgreementID } ,
{ & hf_disp_lastUpdate , BER_CLASS_UNI , BER_UNI_TAG_GeneralizedTime , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_Time } ,
{ & hf_disp_securityParameters , BER_CLASS_CON , 30 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_dap_SecurityParameters } ,
{ & hf_disp_performer , BER_CLASS_CON , 29 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_x509if_DistinguishedName } ,
{ & hf_disp_aliasDereferenced , BER_CLASS_CON , 28 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_BOOLEAN } ,
{ & hf_disp_notification , BER_CLASS_CON , 27 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_SEQUENCE_OF_Attribute } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_InformationData ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
InformationData_sequence , hf_index , ett_disp_InformationData ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t T_signedInformation_sequence [ ] = {
{ & hf_disp_information_data , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_InformationData } ,
{ & hf_disp_algorithmIdentifier , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509af_AlgorithmIdentifier } ,
{ & hf_disp_encrypted , BER_CLASS_UNI , BER_UNI_TAG_BITSTRING , BER_FLAGS_NOOWNTAG , dissect_disp_BIT_STRING } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_signedInformation ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
T_signedInformation_sequence , hf_index , ett_disp_T_signedInformation ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_Information_vals [ ] = {
{ 0 , " unsignedInformation " } ,
{ 1 , " signedInformation " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t Information_choice [ ] = {
{ 0 , & hf_disp_unsignedInformation , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_InformationData } ,
{ 1 , & hf_disp_signedInformation , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_T_signedInformation } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_Information ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
Information_choice , hf_index , ett_disp_Information ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_CoordinateShadowUpdateResult_vals [ ] = {
{ 0 , " null " } ,
{ 1 , " information " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t CoordinateShadowUpdateResult_choice [ ] = {
{ 0 , & hf_disp_null , BER_CLASS_UNI , BER_UNI_TAG_NULL , BER_FLAGS_NOOWNTAG , dissect_disp_NULL } ,
{ 1 , & hf_disp_information , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_NOOWNTAG , dissect_disp_Information } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_CoordinateShadowUpdateResult ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2016-03-09 03:17:51 +00:00
# line 73 ". / asn1 / disp / disp.cnf"
2005-11-16 23:17:21 +00:00
guint32 update ;
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
CoordinateShadowUpdateResult_choice , hf_index , ett_disp_CoordinateShadowUpdateResult ,
& update ) ;
2005-11-16 23:17:21 +00:00
2010-01-17 12:19:02 +00:00
col_append_fstr ( actx - > pinfo - > cinfo , COL_INFO , " %s " , val_to_str ( update , disp_CoordinateShadowUpdateResult_vals , " unknown(%d) " ) ) ;
2005-11-16 23:17:21 +00:00
2005-12-08 06:43:01 +00:00
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_T_standard_vals [ ] = {
{ 1 , " incremental " } ,
{ 2 , " total " } ,
{ 0 , NULL }
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_standard ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2016-03-09 03:17:51 +00:00
# line 43 ". / asn1 / disp / disp.cnf"
2005-11-16 23:17:21 +00:00
guint32 update ;
2007-05-15 05:49:43 +00:00
offset = dissect_ber_integer ( implicit_tag , actx , tree , tvb , offset , hf_index ,
2005-11-16 23:17:21 +00:00
& update ) ;
2010-01-17 12:19:02 +00:00
col_append_fstr ( actx - > pinfo - > cinfo , COL_INFO , " %s " , val_to_str ( update , disp_T_standard_vals , " standard(%d " ) ) ;
2005-11-16 23:17:21 +00:00
2005-12-08 06:43:01 +00:00
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_T_requestedStrategy_vals [ ] = {
{ 0 , " standard " } ,
{ 1 , " other " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t T_requestedStrategy_choice [ ] = {
{ 0 , & hf_disp_standard , BER_CLASS_UNI , BER_UNI_TAG_ENUMERATED , BER_FLAGS_NOOWNTAG , dissect_disp_T_standard } ,
2007-11-06 20:21:09 +00:00
{ 1 , & hf_disp_other , BER_CLASS_UNI , BER_UNI_TAG_EXTERNAL , BER_FLAGS_NOOWNTAG , dissect_disp_EXTERNAL } ,
2007-10-22 17:20:04 +00:00
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_requestedStrategy ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
T_requestedStrategy_choice , hf_index , ett_disp_T_requestedStrategy ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t RequestShadowUpdateArgumentData_sequence [ ] = {
{ & hf_disp_agreementID , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_AgreementID } ,
{ & hf_disp_lastUpdate , BER_CLASS_UNI , BER_UNI_TAG_GeneralizedTime , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_Time } ,
{ & hf_disp_requestedStrategy , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_NOOWNTAG | BER_FLAGS_NOTCHKTAG , dissect_disp_T_requestedStrategy } ,
2007-11-06 20:21:09 +00:00
{ & hf_disp_securityParameters , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_dap_SecurityParameters } ,
2007-10-22 17:20:04 +00:00
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_RequestShadowUpdateArgumentData ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
RequestShadowUpdateArgumentData_sequence , hf_index , ett_disp_RequestShadowUpdateArgumentData ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t T_signedRequestShadowUpdateArgument_sequence [ ] = {
{ & hf_disp_requestShadowUpdateArgument , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_RequestShadowUpdateArgumentData } ,
{ & hf_disp_algorithmIdentifier , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509af_AlgorithmIdentifier } ,
{ & hf_disp_encrypted , BER_CLASS_UNI , BER_UNI_TAG_BITSTRING , BER_FLAGS_NOOWNTAG , dissect_disp_BIT_STRING } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_signedRequestShadowUpdateArgument ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
T_signedRequestShadowUpdateArgument_sequence , hf_index , ett_disp_T_signedRequestShadowUpdateArgument ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_choice_t RequestShadowUpdateArgument_choice [ ] = {
{ 0 , & hf_disp_unsignedRequestShadowUpdateArgument , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_RequestShadowUpdateArgumentData } ,
{ 1 , & hf_disp_signedRequestShadowUpdateArgument , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_T_signedRequestShadowUpdateArgument } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_RequestShadowUpdateArgument ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
RequestShadowUpdateArgument_choice , hf_index , ett_disp_RequestShadowUpdateArgument ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_RequestShadowUpdateResult_vals [ ] = {
{ 0 , " null " } ,
{ 1 , " information " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t RequestShadowUpdateResult_choice [ ] = {
{ 0 , & hf_disp_null , BER_CLASS_UNI , BER_UNI_TAG_NULL , BER_FLAGS_NOOWNTAG , dissect_disp_NULL } ,
{ 1 , & hf_disp_information , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_NOOWNTAG , dissect_disp_Information } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_RequestShadowUpdateResult ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2016-03-09 03:17:51 +00:00
# line 83 ". / asn1 / disp / disp.cnf"
2005-11-16 23:17:21 +00:00
guint32 update ;
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
RequestShadowUpdateResult_choice , hf_index , ett_disp_RequestShadowUpdateResult ,
& update ) ;
2005-11-16 23:17:21 +00:00
2010-01-17 12:19:02 +00:00
col_append_fstr ( actx - > pinfo - > cinfo , COL_INFO , " %s " , val_to_str ( update , disp_RequestShadowUpdateResult_vals , " unknown(%d) " ) ) ;
2005-11-16 23:17:21 +00:00
2005-12-08 06:43:01 +00:00
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t UpdateWindow_sequence [ ] = {
{ & hf_disp_start , BER_CLASS_UNI , BER_UNI_TAG_GeneralizedTime , BER_FLAGS_NOOWNTAG , dissect_disp_Time } ,
{ & hf_disp_stop , BER_CLASS_UNI , BER_UNI_TAG_GeneralizedTime , BER_FLAGS_NOOWNTAG , dissect_disp_Time } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_UpdateWindow ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
UpdateWindow_sequence , hf_index , ett_disp_UpdateWindow ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SDSEType ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
offset = dissect_dop_DSEType ( implicit_tag , tvb , offset , actx , tree , hf_index ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SET_OF_Attribute_set_of [ 1 ] = {
{ & hf_disp_attributes_item , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509if_Attribute } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SET_OF_Attribute ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_set_of ( implicit_tag , actx , tree , tvb , offset ,
SET_OF_Attribute_set_of , hf_index , ett_disp_SET_OF_Attribute ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SET_OF_AttributeType_set_of [ 1 ] = {
{ & hf_disp_attValIncomplete_item , BER_CLASS_UNI , BER_UNI_TAG_OID , BER_FLAGS_NOOWNTAG , dissect_x509if_AttributeType } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SET_OF_AttributeType ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_set_of ( implicit_tag , actx , tree , tvb , offset ,
SET_OF_AttributeType_set_of , hf_index , ett_disp_SET_OF_AttributeType ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SDSEContent_sequence [ ] = {
{ & hf_disp_sDSEType , BER_CLASS_UNI , BER_UNI_TAG_BITSTRING , BER_FLAGS_NOOWNTAG , dissect_disp_SDSEType } ,
{ & hf_disp_subComplete , BER_CLASS_CON , 0 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_BOOLEAN } ,
{ & hf_disp_attComplete , BER_CLASS_CON , 1 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_BOOLEAN } ,
{ & hf_disp_attributes , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_NOOWNTAG , dissect_disp_SET_OF_Attribute } ,
{ & hf_disp_attValIncomplete , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_SET_OF_AttributeType } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SDSEContent ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
SDSEContent_sequence , hf_index , ett_disp_SDSEContent ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SET_OF_Subtree_set_of [ 1 ] = {
{ & hf_disp_subtree_item , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_Subtree } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SET_OF_Subtree ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_set_of ( implicit_tag , actx , tree , tvb , offset ,
SET_OF_Subtree_set_of , hf_index , ett_disp_SET_OF_Subtree ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t Subtree_sequence [ ] = {
{ & hf_disp_rdn , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_NOOWNTAG , dissect_x509if_RelativeDistinguishedName } ,
{ & hf_disp_sDSE , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_SDSEContent } ,
{ & hf_disp_subtree , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_SET_OF_Subtree } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_Subtree ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
Subtree_sequence , hf_index , ett_disp_Subtree ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t TotalRefresh_sequence [ ] = {
{ & hf_disp_sDSE , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_SDSEContent } ,
{ & hf_disp_subtree , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_SET_OF_Subtree } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_TotalRefresh ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
TotalRefresh_sequence , hf_index , ett_disp_TotalRefresh ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_T_rename_vals [ ] = {
{ 0 , " newRDN " } ,
{ 1 , " newDN " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t T_rename_choice [ ] = {
{ 0 , & hf_disp_newRDN , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_NOOWNTAG , dissect_x509if_RelativeDistinguishedName } ,
{ 1 , & hf_disp_newDN , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509if_DistinguishedName } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_rename ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
T_rename_choice , hf_index , ett_disp_T_rename ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SEQUENCE_OF_EntryModification_sequence_of [ 1 ] = {
2007-11-06 20:21:09 +00:00
{ & hf_disp_changes_item , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_NOOWNTAG , dissect_dap_EntryModification } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SEQUENCE_OF_EntryModification ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence_of ( implicit_tag , actx , tree , tvb , offset ,
SEQUENCE_OF_EntryModification_sequence_of , hf_index , ett_disp_SEQUENCE_OF_EntryModification ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_T_attributeChanges_vals [ ] = {
{ 0 , " replace " } ,
{ 1 , " changes " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t T_attributeChanges_choice [ ] = {
{ 0 , & hf_disp_replace , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_SET_OF_Attribute } ,
{ 1 , & hf_disp_changes , BER_CLASS_CON , 1 , BER_FLAGS_IMPLTAG , dissect_disp_SEQUENCE_OF_EntryModification } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_attributeChanges ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
T_attributeChanges_choice , hf_index , ett_disp_T_attributeChanges ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t ContentChange_sequence [ ] = {
{ & hf_disp_rename , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG | BER_FLAGS_NOTCHKTAG , dissect_disp_T_rename } ,
{ & hf_disp_attributeChanges , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG | BER_FLAGS_NOTCHKTAG , dissect_disp_T_attributeChanges } ,
{ & hf_disp_sDSEType , BER_CLASS_UNI , BER_UNI_TAG_BITSTRING , BER_FLAGS_NOOWNTAG , dissect_disp_SDSEType } ,
{ & hf_disp_subComplete , BER_CLASS_CON , 2 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_BOOLEAN } ,
{ & hf_disp_attComplete , BER_CLASS_CON , 3 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_BOOLEAN } ,
{ & hf_disp_attValIncomplete , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_SET_OF_AttributeType } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_ContentChange ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
ContentChange_sequence , hf_index , ett_disp_ContentChange ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_T_sDSEChanges_vals [ ] = {
{ 0 , " add " } ,
{ 1 , " remove " } ,
{ 2 , " modify " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t T_sDSEChanges_choice [ ] = {
{ 0 , & hf_disp_add , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_SDSEContent } ,
{ 1 , & hf_disp_remove , BER_CLASS_UNI , BER_UNI_TAG_NULL , BER_FLAGS_NOOWNTAG , dissect_disp_NULL } ,
{ 2 , & hf_disp_modify , BER_CLASS_CON , 1 , BER_FLAGS_IMPLTAG , dissect_disp_ContentChange } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_sDSEChanges ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
T_sDSEChanges_choice , hf_index , ett_disp_T_sDSEChanges ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SubordinateChanges_sequence [ ] = {
{ & hf_disp_subordinate , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_NOOWNTAG , dissect_x509if_RelativeDistinguishedName } ,
{ & hf_disp_subordinate_changes , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_IncrementalStepRefresh } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SubordinateChanges ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
SubordinateChanges_sequence , hf_index , ett_disp_SubordinateChanges ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t SEQUENCE_OF_SubordinateChanges_sequence_of [ 1 ] = {
{ & hf_disp_subordinateUpdates_item , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_SubordinateChanges } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_SEQUENCE_OF_SubordinateChanges ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence_of ( implicit_tag , actx , tree , tvb , offset ,
SEQUENCE_OF_SubordinateChanges_sequence_of , hf_index , ett_disp_SEQUENCE_OF_SubordinateChanges ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t IncrementalStepRefresh_sequence [ ] = {
{ & hf_disp_sDSEChanges , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG | BER_FLAGS_NOTCHKTAG , dissect_disp_T_sDSEChanges } ,
{ & hf_disp_subordinateUpdates , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_SEQUENCE_OF_SubordinateChanges } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_IncrementalStepRefresh ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
IncrementalStepRefresh_sequence , hf_index , ett_disp_IncrementalStepRefresh ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t IncrementalRefresh_sequence_of [ 1 ] = {
{ & hf_disp_IncrementalRefresh_item , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_IncrementalStepRefresh } ,
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_IncrementalRefresh ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence_of ( implicit_tag , actx , tree , tvb , offset ,
IncrementalRefresh_sequence_of , hf_index , ett_disp_IncrementalRefresh ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_RefreshInformation_vals [ ] = {
{ 0 , " noRefresh " } ,
{ 1 , " total " } ,
{ 2 , " incremental " } ,
{ 3 , " otherStrategy " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t RefreshInformation_choice [ ] = {
{ 0 , & hf_disp_noRefresh , BER_CLASS_UNI , BER_UNI_TAG_NULL , BER_FLAGS_NOOWNTAG , dissect_disp_NULL } ,
{ 1 , & hf_disp_total , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_TotalRefresh } ,
{ 2 , & hf_disp_incremental , BER_CLASS_CON , 1 , BER_FLAGS_IMPLTAG , dissect_disp_IncrementalRefresh } ,
2007-11-06 20:21:09 +00:00
{ 3 , & hf_disp_otherStrategy , BER_CLASS_UNI , BER_UNI_TAG_EXTERNAL , BER_FLAGS_NOOWNTAG , dissect_disp_EXTERNAL } ,
2007-10-22 17:20:04 +00:00
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_RefreshInformation ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2016-03-09 03:17:51 +00:00
# line 53 ". / asn1 / disp / disp.cnf"
2005-11-16 23:17:21 +00:00
guint32 update ;
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
RefreshInformation_choice , hf_index , ett_disp_RefreshInformation ,
& update ) ;
2005-11-16 23:17:21 +00:00
2010-01-17 12:19:02 +00:00
col_append_fstr ( actx - > pinfo - > cinfo , COL_INFO , " %s " , val_to_str ( update , disp_RefreshInformation_vals , " unknown(%d) " ) ) ;
2005-11-16 23:17:21 +00:00
2005-12-08 06:43:01 +00:00
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t UpdateShadowArgumentData_sequence [ ] = {
{ & hf_disp_agreementID , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_AgreementID } ,
{ & hf_disp_updateTime , BER_CLASS_UNI , BER_UNI_TAG_GeneralizedTime , BER_FLAGS_NOOWNTAG , dissect_disp_Time } ,
{ & hf_disp_updateWindow , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_UpdateWindow } ,
{ & hf_disp_updatedInfo , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_NOOWNTAG | BER_FLAGS_NOTCHKTAG , dissect_disp_RefreshInformation } ,
2007-11-06 20:21:09 +00:00
{ & hf_disp_securityParameters , BER_CLASS_UNI , BER_UNI_TAG_SET , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_dap_SecurityParameters } ,
2007-10-22 17:20:04 +00:00
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_UpdateShadowArgumentData ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
UpdateShadowArgumentData_sequence , hf_index , ett_disp_UpdateShadowArgumentData ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t T_signedUpdateShadowArgument_sequence [ ] = {
{ & hf_disp_updateShadowArgument , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_UpdateShadowArgumentData } ,
{ & hf_disp_algorithmIdentifier , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509af_AlgorithmIdentifier } ,
{ & hf_disp_encrypted , BER_CLASS_UNI , BER_UNI_TAG_BITSTRING , BER_FLAGS_NOOWNTAG , dissect_disp_BIT_STRING } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_signedUpdateShadowArgument ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
T_signedUpdateShadowArgument_sequence , hf_index , ett_disp_T_signedUpdateShadowArgument ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_choice_t UpdateShadowArgument_choice [ ] = {
{ 0 , & hf_disp_unsignedUpdateShadowArgument , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_UpdateShadowArgumentData } ,
{ 1 , & hf_disp_signedUpdateShadowArgument , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_T_signedUpdateShadowArgument } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_UpdateShadowArgument ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
UpdateShadowArgument_choice , hf_index , ett_disp_UpdateShadowArgument ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_UpdateShadowResult_vals [ ] = {
{ 0 , " null " } ,
{ 1 , " information " } ,
{ 0 , NULL }
} ;
2007-10-22 17:20:04 +00:00
static const ber_choice_t UpdateShadowResult_choice [ ] = {
{ 0 , & hf_disp_null , BER_CLASS_UNI , BER_UNI_TAG_NULL , BER_FLAGS_NOOWNTAG , dissect_disp_NULL } ,
{ 1 , & hf_disp_information , BER_CLASS_ANY /*choice*/ , - 1 /*choice*/ , BER_FLAGS_NOOWNTAG , dissect_disp_Information } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_UpdateShadowResult ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2016-03-09 03:17:51 +00:00
# line 93 ". / asn1 / disp / disp.cnf"
2005-11-16 23:17:21 +00:00
guint32 update ;
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
UpdateShadowResult_choice , hf_index , ett_disp_UpdateShadowResult ,
& update ) ;
2005-11-16 23:17:21 +00:00
2010-01-17 12:19:02 +00:00
col_append_fstr ( actx - > pinfo - > cinfo , COL_INFO , " %s " , val_to_str ( update , disp_UpdateShadowResult_vals , " unknown(%d) " ) ) ;
2005-11-16 23:17:21 +00:00
2005-12-08 06:43:01 +00:00
2005-11-16 23:17:21 +00:00
return offset ;
}
static const value_string disp_ShadowProblem_vals [ ] = {
{ 1 , " invalidAgreementID " } ,
{ 2 , " inactiveAgreement " } ,
{ 3 , " invalidInformationReceived " } ,
{ 4 , " unsupportedStrategy " } ,
{ 5 , " missedPrevious " } ,
{ 6 , " fullUpdateRequired " } ,
{ 7 , " unwillingToPerform " } ,
{ 8 , " unsuitableTiming " } ,
{ 9 , " updateAlreadyReceived " } ,
{ 10 , " invalidSequencing " } ,
{ 11 , " insufficientResources " } ,
{ 0 , NULL }
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_ShadowProblem ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2016-03-09 03:17:51 +00:00
# line 103 ". / asn1 / disp / disp.cnf"
2005-11-16 23:17:21 +00:00
guint32 problem ;
2007-05-15 05:49:43 +00:00
offset = dissect_ber_integer ( implicit_tag , actx , tree , tvb , offset , hf_index ,
2008-04-13 16:18:40 +00:00
& problem ) ;
2005-11-16 23:17:21 +00:00
2010-01-17 12:19:02 +00:00
col_append_fstr ( actx - > pinfo - > cinfo , COL_INFO , " %s " , val_to_str ( problem , disp_ShadowProblem_vals , " ShadowProblem(%d) " ) ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t ShadowErrorData_sequence [ ] = {
{ & hf_disp_problem , BER_CLASS_UNI , BER_UNI_TAG_INTEGER , BER_FLAGS_NOOWNTAG , dissect_disp_ShadowProblem } ,
{ & hf_disp_lastUpdate , BER_CLASS_UNI , BER_UNI_TAG_GeneralizedTime , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_Time } ,
{ & hf_disp_updateWindow , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_OPTIONAL | BER_FLAGS_NOOWNTAG , dissect_disp_UpdateWindow } ,
{ & hf_disp_securityParameters , BER_CLASS_CON , 30 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_dap_SecurityParameters } ,
{ & hf_disp_performer , BER_CLASS_CON , 29 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_x509if_DistinguishedName } ,
{ & hf_disp_aliasDereferenced , BER_CLASS_CON , 28 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_BOOLEAN } ,
{ & hf_disp_notification , BER_CLASS_CON , 27 , BER_FLAGS_OPTIONAL | BER_FLAGS_IMPLTAG , dissect_disp_SEQUENCE_OF_Attribute } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_ShadowErrorData ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
ShadowErrorData_sequence , hf_index , ett_disp_ShadowErrorData ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_sequence_t T_signedShadowError_sequence [ ] = {
{ & hf_disp_shadowError , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_ShadowErrorData } ,
{ & hf_disp_algorithmIdentifier , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_x509af_AlgorithmIdentifier } ,
{ & hf_disp_encrypted , BER_CLASS_UNI , BER_UNI_TAG_BITSTRING , BER_FLAGS_NOOWNTAG , dissect_disp_BIT_STRING } ,
{ NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_T_signedShadowError ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_sequence ( implicit_tag , actx , tree , tvb , offset ,
T_signedShadowError_sequence , hf_index , ett_disp_T_signedShadowError ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2007-10-22 17:20:04 +00:00
static const ber_choice_t ShadowError_choice [ ] = {
{ 0 , & hf_disp_unsignedShadowError , BER_CLASS_UNI , BER_UNI_TAG_SEQUENCE , BER_FLAGS_NOOWNTAG , dissect_disp_ShadowErrorData } ,
{ 1 , & hf_disp_signedShadowError , BER_CLASS_CON , 0 , BER_FLAGS_IMPLTAG , dissect_disp_T_signedShadowError } ,
{ 0 , NULL , 0 , 0 , 0 , NULL }
2005-11-16 23:17:21 +00:00
} ;
static int
2007-05-13 20:58:29 +00:00
dissect_disp_ShadowError ( gboolean implicit_tag _U_ , tvbuff_t * tvb _U_ , int offset _U_ , asn1_ctx_t * actx _U_ , proto_tree * tree _U_ , int hf_index _U_ ) {
2007-10-22 17:20:04 +00:00
offset = dissect_ber_choice ( actx , tree , tvb , offset ,
ShadowError_choice , hf_index , ett_disp_ShadowError ,
NULL ) ;
2005-11-16 23:17:21 +00:00
return offset ;
}
2005-12-08 06:43:01 +00:00
/*--- PDUs ---*/
2014-10-06 13:31:47 +00:00
static int dissect_EstablishParameter_PDU ( tvbuff_t * tvb _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , void * data _U_ ) {
int offset = 0 ;
2007-05-13 20:58:29 +00:00
asn1_ctx_t asn1_ctx ;
asn1_ctx_init ( & asn1_ctx , ASN1_ENC_BER , TRUE , pinfo ) ;
2014-10-06 13:31:47 +00:00
offset = dissect_disp_EstablishParameter ( FALSE , tvb , offset , & asn1_ctx , tree , hf_disp_EstablishParameter_PDU ) ;
return offset ;
2005-12-08 06:43:01 +00:00
}
2014-10-06 13:31:47 +00:00
static int dissect_ModificationParameter_PDU ( tvbuff_t * tvb _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , void * data _U_ ) {
int offset = 0 ;
2007-05-13 20:58:29 +00:00
asn1_ctx_t asn1_ctx ;
asn1_ctx_init ( & asn1_ctx , ASN1_ENC_BER , TRUE , pinfo ) ;
2014-10-06 13:31:47 +00:00
offset = dissect_disp_ModificationParameter ( FALSE , tvb , offset , & asn1_ctx , tree , hf_disp_ModificationParameter_PDU ) ;
return offset ;
2005-12-08 06:43:01 +00:00
}
2014-10-06 13:31:47 +00:00
static int dissect_ShadowingAgreementInfo_PDU ( tvbuff_t * tvb _U_ , packet_info * pinfo _U_ , proto_tree * tree _U_ , void * data _U_ ) {
int offset = 0 ;
2007-05-13 20:58:29 +00:00
asn1_ctx_t asn1_ctx ;
asn1_ctx_init ( & asn1_ctx , ASN1_ENC_BER , TRUE , pinfo ) ;
2014-10-06 13:31:47 +00:00
offset = dissect_disp_ShadowingAgreementInfo ( FALSE , tvb , offset , & asn1_ctx , tree , hf_disp_ShadowingAgreementInfo_PDU ) ;
return offset ;
2005-12-08 06:43:01 +00:00
}
2005-11-16 23:17:21 +00:00
2005-12-08 06:43:01 +00:00
/*--- End of included file: packet-disp-fn.c ---*/
2016-09-04 02:22:50 +00:00
# line 74 ". / asn1 / disp / packet-disp-template.c"
2005-11-16 23:17:21 +00:00
/*
* Dissect DISP PDUs inside a ROS PDUs
*/
2013-11-05 18:47:26 +00:00
static int
dissect_disp ( tvbuff_t * tvb , packet_info * pinfo , proto_tree * parent_tree , void * data )
2005-11-16 23:17:21 +00:00
{
int offset = 0 ;
int old_offset ;
2013-11-09 17:46:28 +00:00
proto_item * item ;
proto_tree * tree ;
struct SESSION_DATA_STRUCTURE * session ;
2007-05-13 20:58:29 +00:00
int ( * disp_dissector ) ( gboolean implicit_tag _U_ , tvbuff_t * tvb , int offset , asn1_ctx_t * actx , proto_tree * tree , int hf_index _U_ ) = NULL ;
2012-12-26 05:57:06 +00:00
const char * disp_op_name ;
2007-05-13 20:58:29 +00:00
asn1_ctx_t asn1_ctx ;
2013-12-09 22:23:44 +00:00
/* do we have operation information from the ROS dissector */
if ( data = = NULL )
2013-11-05 18:47:26 +00:00
return 0 ;
2013-12-09 22:23:44 +00:00
session = ( struct SESSION_DATA_STRUCTURE * ) data ;
2005-11-16 23:17:21 +00:00
2013-12-09 22:23:44 +00:00
asn1_ctx_init ( & asn1_ctx , ASN1_ENC_BER , TRUE , pinfo ) ;
2013-11-09 17:46:28 +00:00
asn1_ctx . private_data = session ;
item = proto_tree_add_item ( parent_tree , proto_disp , tvb , 0 , - 1 , ENC_NA ) ;
tree = proto_item_add_subtree ( item , ett_disp ) ;
2009-08-09 06:26:46 +00:00
col_set_str ( pinfo - > cinfo , COL_PROTOCOL , " DISP " ) ;
2009-08-09 07:36:13 +00:00
col_clear ( pinfo - > cinfo , COL_INFO ) ;
2005-11-16 23:17:21 +00:00
switch ( session - > ros_op & ROS_OP_MASK ) {
case ( ROS_OP_BIND | ROS_OP_ARGUMENT ) : /* BindInvoke */
disp_dissector = dissect_disp_DSAShadowBindArgument ;
disp_op_name = " Shadow-Bind-Argument " ;
break ;
case ( ROS_OP_BIND | ROS_OP_RESULT ) : /* BindResult */
disp_dissector = dissect_disp_DSAShadowBindResult ;
disp_op_name = " Shadow-Bind-Result " ;
break ;
case ( ROS_OP_BIND | ROS_OP_ERROR ) : /* BindError */
disp_dissector = dissect_disp_DSAShadowBindError ;
disp_op_name = " Shadow-Bind-Error " ;
break ;
case ( ROS_OP_INVOKE | ROS_OP_ARGUMENT ) : /* Invoke Argument */
switch ( session - > ros_op & ROS_OP_OPCODE_MASK ) {
case 1 : /* requestShadowUpdate */
disp_dissector = dissect_disp_RequestShadowUpdateArgument ;
disp_op_name = " Request-Shadow-Update-Argument " ;
break ;
case 2 : /* updateShadow*/
disp_dissector = dissect_disp_UpdateShadowArgument ;
disp_op_name = " Update-Shadow-Argument " ;
break ;
case 3 : /* coordinateShadowUpdate */
disp_dissector = dissect_disp_CoordinateShadowUpdateArgument ;
disp_op_name = " Coordinate-Shadow-Update-Argument " ;
break ;
default :
2014-08-08 13:19:29 +00:00
proto_tree_add_expert_format ( tree , pinfo , & ei_disp_unsupported_opcode , tvb , offset , - 1 ,
" Unsupported DISP opcode (%d) " , session - > ros_op & ROS_OP_OPCODE_MASK ) ;
2005-11-16 23:17:21 +00:00
break ;
}
break ;
case ( ROS_OP_INVOKE | ROS_OP_RESULT ) : /* Return Result */
switch ( session - > ros_op & ROS_OP_OPCODE_MASK ) {
case 1 : /* requestShadowUpdate */
disp_dissector = dissect_disp_RequestShadowUpdateResult ;
disp_op_name = " Request-Shadow-Result " ;
break ;
case 2 : /* updateShadow */
disp_dissector = dissect_disp_UpdateShadowResult ;
disp_op_name = " Update-Shadow-Result " ;
break ;
case 3 : /* coordinateShadowUpdate */
disp_dissector = dissect_disp_CoordinateShadowUpdateResult ;
disp_op_name = " Coordinate-Shadow-Update-Result " ;
break ;
default :
2014-08-08 13:19:29 +00:00
proto_tree_add_expert_format ( tree , pinfo , & ei_disp_unsupported_opcode , tvb , offset , - 1 ,
" Unsupported DISP opcode (%d) " , session - > ros_op & ROS_OP_OPCODE_MASK ) ;
2005-11-16 23:17:21 +00:00
break ;
}
break ;
case ( ROS_OP_INVOKE | ROS_OP_ERROR ) : /* Return Error */
switch ( session - > ros_op & ROS_OP_OPCODE_MASK ) {
case 1 : /* shadowError */
disp_dissector = dissect_disp_ShadowError ;
disp_op_name = " Shadow-Error " ;
break ;
default :
2014-08-08 13:19:29 +00:00
proto_tree_add_expert_format ( tree , pinfo , & ei_disp_unsupported_errcode , tvb , offset , - 1 ,
" Unsupported DISP errcode (%d) " , session - > ros_op & ROS_OP_OPCODE_MASK ) ;
2005-11-16 23:17:21 +00:00
break ;
}
break ;
default :
2014-08-08 13:19:29 +00:00
proto_tree_add_expert ( tree , pinfo , & ei_disp_unsupported_pdu , tvb , offset , - 1 ) ;
2014-06-19 19:55:27 +00:00
return tvb_captured_length ( tvb ) ;
2005-11-16 23:17:21 +00:00
}
if ( disp_dissector ) {
2010-01-17 12:19:02 +00:00
col_set_str ( pinfo - > cinfo , COL_INFO , disp_op_name ) ;
2005-11-16 23:17:21 +00:00
while ( tvb_reported_length_remaining ( tvb , offset ) > 0 ) {
old_offset = offset ;
2007-05-13 20:58:29 +00:00
offset = ( * disp_dissector ) ( FALSE , tvb , offset , & asn1_ctx , tree , - 1 ) ;
2005-11-16 23:17:21 +00:00
if ( offset = = old_offset ) {
2014-08-08 13:19:29 +00:00
proto_tree_add_expert ( tree , pinfo , & ei_disp_zero_pdu , tvb , offset , - 1 ) ;
2005-11-16 23:17:21 +00:00
break ;
}
}
}
2013-11-05 18:47:26 +00:00
2014-06-19 19:55:27 +00:00
return tvb_captured_length ( tvb ) ;
2005-11-16 23:17:21 +00:00
}
/*--- proto_register_disp -------------------------------------------*/
void proto_register_disp ( void ) {
/* List of fields */
static hf_register_info hf [ ] =
{
/*--- Included file: packet-disp-hfarr.c ---*/
2016-03-09 03:17:51 +00:00
# line 1 ". / asn1 / disp / packet-disp-hfarr.c"
2005-12-08 06:43:01 +00:00
{ & hf_disp_EstablishParameter_PDU ,
2013-05-27 20:26:49 +00:00
{ " EstablishParameter " , " disp.EstablishParameter_element " ,
2005-12-08 06:43:01 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-12-08 06:43:01 +00:00
{ & hf_disp_ModificationParameter_PDU ,
2013-05-27 20:26:49 +00:00
{ " ModificationParameter " , " disp.ModificationParameter_element " ,
2005-12-08 06:43:01 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-12-08 06:43:01 +00:00
{ & hf_disp_ShadowingAgreementInfo_PDU ,
2013-05-27 20:26:49 +00:00
{ " ShadowingAgreementInfo " , " disp.ShadowingAgreementInfo_element " ,
2005-12-08 06:43:01 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_modifiedSecondaryShadows ,
{ " secondaryShadows " , " disp.secondaryShadows " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SET_OF_SupplierAndConsumers " , HFILL } } ,
2006-06-28 14:19:08 +00:00
{ & hf_disp_modifiedSecondaryShadows_item ,
2013-05-27 20:26:49 +00:00
{ " SupplierAndConsumers " , " disp.SupplierAndConsumers_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_shadowSubject ,
2013-05-27 20:26:49 +00:00
{ " shadowSubject " , " disp.shadowSubject_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" UnitOfReplication " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_updateMode ,
{ " updateMode " , " disp.updateMode " ,
FT_UINT32 , BASE_DEC , VALS ( disp_UpdateMode_vals ) , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_master ,
2013-05-27 20:26:49 +00:00
{ " master " , " disp.master_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" AccessPoint " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_secondaryShadows ,
{ " secondaryShadows " , " disp.secondaryShadows " ,
2009-06-26 03:59:01 +00:00
FT_BOOLEAN , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" BOOLEAN " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_area ,
2013-05-27 20:26:49 +00:00
{ " area " , " disp.area_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" AreaSpecification " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_replication_attributes ,
{ " attributes " , " disp.attributes " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" AttributeSelection " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_knowledge ,
2013-05-27 20:26:49 +00:00
{ " knowledge " , " disp.knowledge_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_subordinates ,
{ " subordinates " , " disp.subordinates " ,
2009-06-26 03:59:01 +00:00
FT_BOOLEAN , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" BOOLEAN " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_contextSelection ,
{ " contextSelection " , " disp.contextSelection " ,
2007-11-06 20:21:09 +00:00
FT_UINT32 , BASE_DEC , VALS ( dap_ContextSelection_vals ) , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_supplyContexts ,
{ " supplyContexts " , " disp.supplyContexts " ,
FT_UINT32 , BASE_DEC , VALS ( disp_T_supplyContexts_vals ) , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_allContexts ,
2013-05-27 20:26:49 +00:00
{ " allContexts " , " disp.allContexts_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_selectedContexts ,
{ " selectedContexts " , " disp.selectedContexts " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_selectedContexts_item ,
2009-05-16 22:07:03 +00:00
{ " selectedContexts item " , " disp.selectedContexts_item " ,
2005-12-08 06:43:01 +00:00
FT_OID , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" OBJECT_IDENTIFIER " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_contextPrefix ,
{ " contextPrefix " , " disp.contextPrefix " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" DistinguishedName " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_replicationArea ,
2013-05-27 20:26:49 +00:00
{ " replicationArea " , " disp.replicationArea_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SubtreeSpecification " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_knowledgeType ,
{ " knowledgeType " , " disp.knowledgeType " ,
FT_UINT32 , BASE_DEC , VALS ( disp_T_knowledgeType_vals ) , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_extendedKnowledge ,
{ " extendedKnowledge " , " disp.extendedKnowledge " ,
2009-06-26 03:59:01 +00:00
FT_BOOLEAN , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" BOOLEAN " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_AttributeSelection_item ,
2013-05-27 20:26:49 +00:00
{ " ClassAttributeSelection " , " disp.ClassAttributeSelection_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_class ,
{ " class " , " disp.class " ,
2005-12-08 06:43:01 +00:00
FT_OID , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" OBJECT_IDENTIFIER " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_classAttributes ,
{ " classAttributes " , " disp.classAttributes " ,
FT_UINT32 , BASE_DEC , VALS ( disp_ClassAttributes_vals ) , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_allAttributes ,
2013-05-27 20:26:49 +00:00
{ " allAttributes " , " disp.allAttributes_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_include ,
{ " include " , " disp.include " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" AttributeTypes " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_exclude ,
{ " exclude " , " disp.exclude " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" AttributeTypes " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_AttributeTypes_item ,
2009-05-16 22:07:03 +00:00
{ " AttributeType " , " disp.AttributeType " ,
2005-12-16 06:47:22 +00:00
FT_OID , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_supplierInitiated ,
{ " supplierInitiated " , " disp.supplierInitiated " ,
FT_UINT32 , BASE_DEC , VALS ( disp_SupplierUpdateMode_vals ) , 0 ,
2010-05-11 02:13:26 +00:00
" SupplierUpdateMode " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_consumerInitiated ,
2013-05-27 20:26:49 +00:00
{ " consumerInitiated " , " disp.consumerInitiated_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" ConsumerUpdateMode " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_onChange ,
{ " onChange " , " disp.onChange " ,
2009-06-26 03:59:01 +00:00
FT_BOOLEAN , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" BOOLEAN " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_scheduled ,
2013-05-27 20:26:49 +00:00
{ " scheduled " , " disp.scheduled_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SchedulingParameters " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_periodic ,
2013-05-27 20:26:49 +00:00
{ " periodic " , " disp.periodic_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" PeriodicStrategy " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_othertimes ,
{ " othertimes " , " disp.othertimes " ,
2009-06-26 03:59:01 +00:00
FT_BOOLEAN , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" BOOLEAN " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_beginTime ,
{ " beginTime " , " disp.beginTime " ,
FT_STRING , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" Time " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_windowSize ,
{ " windowSize " , " disp.windowSize " ,
FT_INT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" INTEGER " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_updateInterval ,
{ " updateInterval " , " disp.updateInterval " ,
FT_INT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" INTEGER " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_agreementID ,
2013-05-27 20:26:49 +00:00
{ " agreementID " , " disp.agreementID_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_lastUpdate ,
{ " lastUpdate " , " disp.lastUpdate " ,
FT_STRING , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" Time " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_updateStrategy ,
{ " updateStrategy " , " disp.updateStrategy " ,
FT_UINT32 , BASE_DEC , VALS ( disp_T_updateStrategy_vals ) , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_standardUpdate ,
{ " standard " , " disp.standard " ,
FT_UINT32 , BASE_DEC , VALS ( disp_StandardUpdate_vals ) , 0 ,
2010-05-11 02:13:26 +00:00
" StandardUpdate " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_other ,
2013-05-27 20:26:49 +00:00
{ " other " , " disp.other_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" EXTERNAL " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_securityParameters ,
2013-05-27 20:26:49 +00:00
{ " securityParameters " , " disp.securityParameters_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_unsignedCoordinateShadowUpdateArgument ,
2013-05-27 20:26:49 +00:00
{ " unsignedCoordinateShadowUpdateArgument " , " disp.unsignedCoordinateShadowUpdateArgument_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" CoordinateShadowUpdateArgumentData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_signedCoordinateShadowUpdateArgument ,
2013-05-27 20:26:49 +00:00
{ " signedCoordinateShadowUpdateArgument " , " disp.signedCoordinateShadowUpdateArgument_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_coordinateShadowUpdateArgument ,
2013-05-27 20:26:49 +00:00
{ " coordinateShadowUpdateArgument " , " disp.coordinateShadowUpdateArgument_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" CoordinateShadowUpdateArgumentData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_algorithmIdentifier ,
2013-05-27 20:26:49 +00:00
{ " algorithmIdentifier " , " disp.algorithmIdentifier_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_encrypted ,
{ " encrypted " , " disp.encrypted " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" BIT_STRING " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_null ,
2013-05-27 20:26:49 +00:00
{ " null " , " disp.null_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_information ,
{ " information " , " disp.information " ,
FT_UINT32 , BASE_DEC , VALS ( disp_Information_vals ) , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_performer ,
{ " performer " , " disp.performer " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" DistinguishedName " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_aliasDereferenced ,
{ " aliasDereferenced " , " disp.aliasDereferenced " ,
2009-06-26 03:59:01 +00:00
FT_BOOLEAN , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" BOOLEAN " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_notification ,
{ " notification " , " disp.notification " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SEQUENCE_OF_Attribute " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_notification_item ,
2013-05-27 20:26:49 +00:00
{ " Attribute " , " disp.Attribute_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_unsignedInformation ,
2013-05-27 20:26:49 +00:00
{ " unsignedInformation " , " disp.unsignedInformation_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" InformationData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_signedInformation ,
2013-05-27 20:26:49 +00:00
{ " signedInformation " , " disp.signedInformation_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_information_data ,
2013-05-27 20:26:49 +00:00
{ " information " , " disp.information_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" InformationData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_requestedStrategy ,
{ " requestedStrategy " , " disp.requestedStrategy " ,
FT_UINT32 , BASE_DEC , VALS ( disp_T_requestedStrategy_vals ) , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_standard ,
{ " standard " , " disp.standard " ,
FT_UINT32 , BASE_DEC , VALS ( disp_T_standard_vals ) , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_unsignedRequestShadowUpdateArgument ,
2013-05-27 20:26:49 +00:00
{ " unsignedRequestShadowUpdateArgument " , " disp.unsignedRequestShadowUpdateArgument_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" RequestShadowUpdateArgumentData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_signedRequestShadowUpdateArgument ,
2013-05-27 20:26:49 +00:00
{ " signedRequestShadowUpdateArgument " , " disp.signedRequestShadowUpdateArgument_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_requestShadowUpdateArgument ,
2013-05-27 20:26:49 +00:00
{ " requestShadowUpdateArgument " , " disp.requestShadowUpdateArgument_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" RequestShadowUpdateArgumentData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_updateTime ,
{ " updateTime " , " disp.updateTime " ,
FT_STRING , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" Time " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_updateWindow ,
2013-05-27 20:26:49 +00:00
{ " updateWindow " , " disp.updateWindow_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_updatedInfo ,
{ " updatedInfo " , " disp.updatedInfo " ,
FT_UINT32 , BASE_DEC , VALS ( disp_RefreshInformation_vals ) , 0 ,
2010-05-11 02:13:26 +00:00
" RefreshInformation " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_unsignedUpdateShadowArgument ,
2013-05-27 20:26:49 +00:00
{ " unsignedUpdateShadowArgument " , " disp.unsignedUpdateShadowArgument_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" UpdateShadowArgumentData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_signedUpdateShadowArgument ,
2013-05-27 20:26:49 +00:00
{ " signedUpdateShadowArgument " , " disp.signedUpdateShadowArgument_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_updateShadowArgument ,
2013-05-27 20:26:49 +00:00
{ " updateShadowArgument " , " disp.updateShadowArgument_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" UpdateShadowArgumentData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_start ,
{ " start " , " disp.start " ,
FT_STRING , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" Time " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_stop ,
{ " stop " , " disp.stop " ,
FT_STRING , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" Time " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_noRefresh ,
2013-05-27 20:26:49 +00:00
{ " noRefresh " , " disp.noRefresh_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_total ,
2013-05-27 20:26:49 +00:00
{ " total " , " disp.total_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" TotalRefresh " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_incremental ,
{ " incremental " , " disp.incremental " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" IncrementalRefresh " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_otherStrategy ,
2013-05-27 20:26:49 +00:00
{ " otherStrategy " , " disp.otherStrategy_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" EXTERNAL " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_sDSE ,
2013-05-27 20:26:49 +00:00
{ " sDSE " , " disp.sDSE_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SDSEContent " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_subtree ,
{ " subtree " , " disp.subtree " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SET_OF_Subtree " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_subtree_item ,
2013-05-27 20:26:49 +00:00
{ " Subtree " , " disp.Subtree_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_sDSEType ,
{ " sDSEType " , " disp.sDSEType " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_subComplete ,
{ " subComplete " , " disp.subComplete " ,
2009-06-26 03:59:01 +00:00
FT_BOOLEAN , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" BOOLEAN " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_attComplete ,
{ " attComplete " , " disp.attComplete " ,
2009-06-26 03:59:01 +00:00
FT_BOOLEAN , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" BOOLEAN " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_attributes ,
{ " attributes " , " disp.attributes " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SET_OF_Attribute " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_attributes_item ,
2013-05-27 20:26:49 +00:00
{ " Attribute " , " disp.Attribute_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_attValIncomplete ,
{ " attValIncomplete " , " disp.attValIncomplete " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SET_OF_AttributeType " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_attValIncomplete_item ,
2009-05-16 22:07:03 +00:00
{ " AttributeType " , " disp.AttributeType " ,
2005-12-16 06:47:22 +00:00
FT_OID , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_rdn ,
{ " rdn " , " disp.rdn " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" RelativeDistinguishedName " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_IncrementalRefresh_item ,
2013-05-27 20:26:49 +00:00
{ " IncrementalStepRefresh " , " disp.IncrementalStepRefresh_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_sDSEChanges ,
{ " sDSEChanges " , " disp.sDSEChanges " ,
FT_UINT32 , BASE_DEC , VALS ( disp_T_sDSEChanges_vals ) , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_add ,
2013-05-27 20:26:49 +00:00
{ " add " , " disp.add_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SDSEContent " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_remove ,
2013-05-27 20:26:49 +00:00
{ " remove " , " disp.remove_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_modify ,
2013-05-27 20:26:49 +00:00
{ " modify " , " disp.modify_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" ContentChange " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_subordinateUpdates ,
{ " subordinateUpdates " , " disp.subordinateUpdates " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SEQUENCE_OF_SubordinateChanges " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_subordinateUpdates_item ,
2013-05-27 20:26:49 +00:00
{ " SubordinateChanges " , " disp.SubordinateChanges_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_rename ,
{ " rename " , " disp.rename " ,
FT_UINT32 , BASE_DEC , VALS ( disp_T_rename_vals ) , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_newRDN ,
{ " newRDN " , " disp.newRDN " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" RelativeDistinguishedName " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_newDN ,
{ " newDN " , " disp.newDN " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" DistinguishedName " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_attributeChanges ,
{ " attributeChanges " , " disp.attributeChanges " ,
FT_UINT32 , BASE_DEC , VALS ( disp_T_attributeChanges_vals ) , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_replace ,
{ " replace " , " disp.replace " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SET_OF_Attribute " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_replace_item ,
2013-05-27 20:26:49 +00:00
{ " Attribute " , " disp.Attribute_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_changes ,
{ " changes " , " disp.changes " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" SEQUENCE_OF_EntryModification " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_changes_item ,
2009-05-16 22:07:03 +00:00
{ " EntryModification " , " disp.EntryModification " ,
2007-11-06 20:21:09 +00:00
FT_UINT32 , BASE_DEC , VALS ( dap_EntryModification_vals ) , 0 ,
2010-05-11 02:13:26 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_subordinate ,
{ " subordinate " , " disp.subordinate " ,
FT_UINT32 , BASE_DEC , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" RelativeDistinguishedName " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_subordinate_changes ,
2013-05-27 20:26:49 +00:00
{ " changes " , " disp.changes_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" IncrementalStepRefresh " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_problem ,
{ " problem " , " disp.problem " ,
FT_INT32 , BASE_DEC , VALS ( disp_ShadowProblem_vals ) , 0 ,
2010-05-11 02:13:26 +00:00
" ShadowProblem " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_unsignedShadowError ,
2013-05-27 20:26:49 +00:00
{ " unsignedShadowError " , " disp.unsignedShadowError_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" ShadowErrorData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_signedShadowError ,
2013-05-27 20:26:49 +00:00
{ " signedShadowError " , " disp.signedShadowError_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 03:53:31 +00:00
NULL , HFILL } } ,
2005-11-16 23:17:21 +00:00
{ & hf_disp_shadowError ,
2013-05-27 20:26:49 +00:00
{ " shadowError " , " disp.shadowError_element " ,
2005-11-16 23:17:21 +00:00
FT_NONE , BASE_NONE , NULL , 0 ,
2010-05-11 02:13:26 +00:00
" ShadowErrorData " , HFILL } } ,
2005-11-16 23:17:21 +00:00
/*--- End of included file: packet-disp-hfarr.c ---*/
2016-09-04 02:22:50 +00:00
# line 199 ". / asn1 / disp / packet-disp-template.c"
2005-11-16 23:17:21 +00:00
} ;
/* List of subtrees */
static gint * ett [ ] = {
& ett_disp ,
/*--- Included file: packet-disp-ettarr.c ---*/
2016-03-09 03:17:51 +00:00
# line 1 ". / asn1 / disp / packet-disp-ettarr.c"
2005-11-16 23:17:21 +00:00
& ett_disp_ModificationParameter ,
& ett_disp_SET_OF_SupplierAndConsumers ,
& ett_disp_ShadowingAgreementInfo ,
& ett_disp_UnitOfReplication ,
& ett_disp_T_supplyContexts ,
& ett_disp_T_selectedContexts ,
& ett_disp_AreaSpecification ,
& ett_disp_Knowledge ,
& ett_disp_AttributeSelection ,
& ett_disp_ClassAttributeSelection ,
& ett_disp_ClassAttributes ,
& ett_disp_AttributeTypes ,
& ett_disp_UpdateMode ,
& ett_disp_SupplierUpdateMode ,
& ett_disp_SchedulingParameters ,
& ett_disp_PeriodicStrategy ,
& ett_disp_CoordinateShadowUpdateArgumentData ,
& ett_disp_T_updateStrategy ,
& ett_disp_CoordinateShadowUpdateArgument ,
& ett_disp_T_signedCoordinateShadowUpdateArgument ,
& ett_disp_CoordinateShadowUpdateResult ,
& ett_disp_InformationData ,
& ett_disp_SEQUENCE_OF_Attribute ,
& ett_disp_Information ,
& ett_disp_T_signedInformation ,
& ett_disp_RequestShadowUpdateArgumentData ,
& ett_disp_T_requestedStrategy ,
& ett_disp_RequestShadowUpdateArgument ,
& ett_disp_T_signedRequestShadowUpdateArgument ,
& ett_disp_RequestShadowUpdateResult ,
& ett_disp_UpdateShadowArgumentData ,
& ett_disp_UpdateShadowArgument ,
& ett_disp_T_signedUpdateShadowArgument ,
& ett_disp_UpdateShadowResult ,
& ett_disp_UpdateWindow ,
& ett_disp_RefreshInformation ,
& ett_disp_TotalRefresh ,
& ett_disp_SET_OF_Subtree ,
& ett_disp_SDSEContent ,
& ett_disp_SET_OF_Attribute ,
& ett_disp_SET_OF_AttributeType ,
& ett_disp_Subtree ,
& ett_disp_IncrementalRefresh ,
& ett_disp_IncrementalStepRefresh ,
& ett_disp_T_sDSEChanges ,
& ett_disp_SEQUENCE_OF_SubordinateChanges ,
& ett_disp_ContentChange ,
& ett_disp_T_rename ,
& ett_disp_T_attributeChanges ,
& ett_disp_SEQUENCE_OF_EntryModification ,
& ett_disp_SubordinateChanges ,
& ett_disp_ShadowErrorData ,
& ett_disp_ShadowError ,
& ett_disp_T_signedShadowError ,
/*--- End of included file: packet-disp-ettarr.c ---*/
2016-09-04 02:22:50 +00:00
# line 205 ". / asn1 / disp / packet-disp-template.c"
2005-11-16 23:17:21 +00:00
} ;
2014-08-08 13:19:29 +00:00
static ei_register_info ei [ ] = {
{ & ei_disp_unsupported_opcode , { " disp.unsupported_opcode " , PI_UNDECODED , PI_WARN , " Unsupported DISP opcode " , EXPFILL } } ,
{ & ei_disp_unsupported_errcode , { " disp.unsupported_errcode " , PI_UNDECODED , PI_WARN , " Unsupported DISP errcode " , EXPFILL } } ,
{ & ei_disp_unsupported_pdu , { " disp.unsupported_pdu " , PI_UNDECODED , PI_WARN , " Unsupported DISP PDU " , EXPFILL } } ,
{ & ei_disp_zero_pdu , { " disp.zero_pdu " , PI_PROTOCOL , PI_ERROR , " Internal error, zero-byte DISP PDU " , EXPFILL } } ,
} ;
2005-11-16 23:17:21 +00:00
module_t * disp_module ;
2014-08-08 13:19:29 +00:00
expert_module_t * expert_disp ;
2005-11-16 23:17:21 +00:00
/* Register protocol */
proto_disp = proto_register_protocol ( PNAME , PSNAME , PFNAME ) ;
2016-07-01 00:41:45 +00:00
disp_handle = register_dissector ( " disp " , dissect_disp , proto_disp ) ;
2005-11-16 23:17:21 +00:00
/* Register fields and subtrees */
proto_register_field_array ( proto_disp , hf , array_length ( hf ) ) ;
proto_register_subtree_array ( ett , array_length ( ett ) ) ;
2014-08-08 13:19:29 +00:00
expert_disp = expert_register_protocol ( proto_disp ) ;
expert_register_field_array ( expert_disp , ei , array_length ( ei ) ) ;
2005-11-16 23:17:21 +00:00
/* Register our configuration options for DISP, particularly our port */
2016-09-04 02:22:50 +00:00
disp_module = prefs_register_protocol_subtree ( " OSI/X.500 " , proto_disp , NULL ) ;
prefs_register_obsolete_preference ( disp_module , " tcp.port " ) ;
2005-11-16 23:17:21 +00:00
2016-09-04 02:22:50 +00:00
prefs_register_static_text_preference ( disp_module , " tcp_port_info " ,
" The TCP ports used by the DISP protocol should be added to the TPKT preference \" TPKT TCP ports \" , or by selecting \" TPKT \" as the \" Transport \" protocol in the \" Decode As \" dialog. " ,
" DISP TCP Port preference moved information " ) ;
2005-11-16 23:17:21 +00:00
}
/*--- proto_reg_handoff_disp --- */
void proto_reg_handoff_disp ( void ) {
2005-12-08 06:43:01 +00:00
/*--- Included file: packet-disp-dis-tab.c ---*/
2016-03-09 03:17:51 +00:00
# line 1 ". / asn1 / disp / packet-disp-dis-tab.c"
2015-12-10 02:50:10 +00:00
dissector_add_string ( " dop.oid " , " agreement.2.5.19.1 " , create_dissector_handle ( dissect_ShadowingAgreementInfo_PDU , proto_disp ) ) ;
dissector_add_string ( " dop.oid " , " establish.rolea.2.5.19.1 " , create_dissector_handle ( dissect_EstablishParameter_PDU , proto_disp ) ) ;
dissector_add_string ( " dop.oid " , " establish.roleb.2.5.19.1 " , create_dissector_handle ( dissect_EstablishParameter_PDU , proto_disp ) ) ;
dissector_add_string ( " dop.oid " , " modify.rolea.2.5.19.1 " , create_dissector_handle ( dissect_ModificationParameter_PDU , proto_disp ) ) ;
dissector_add_string ( " dop.oid " , " modify.roleb.2.5.19.1 " , create_dissector_handle ( dissect_ModificationParameter_PDU , proto_disp ) ) ;
2005-12-08 06:43:01 +00:00
/*--- End of included file: packet-disp-dis-tab.c ---*/
2016-09-04 02:22:50 +00:00
# line 243 ". / asn1 / disp / packet-disp-template.c"
2005-11-16 23:17:21 +00:00
/* APPLICATION CONTEXT */
2007-10-31 08:26:52 +00:00
oid_add_from_string ( " id-ac-shadow-consumer-initiated " , " 2.5.3.4 " ) ;
oid_add_from_string ( " id-ac-shadow-supplier-initiated " , " 2.5.3.5 " ) ;
oid_add_from_string ( " id-ac-reliable-shadow-consumer-initiated " , " 2.5.3.6 " ) ;
oid_add_from_string ( " id-ac-reliable-shadow-supplier-initiated " , " 2.5.3.7 " ) ;
2005-11-16 23:17:21 +00:00
/* ABSTRACT SYNTAXES */
2010-12-06 22:08:48 +00:00
register_ros_oid_dissector_handle ( " 2.5.9.3 " , disp_handle , 0 , " id-as-directory-shadow " , FALSE ) ;
register_rtse_oid_dissector_handle ( " 2.5.9.5 " , disp_handle , 0 , " id-as-directory-reliable-shadow " , FALSE ) ;
register_rtse_oid_dissector_handle ( " 2.5.9.6 " , disp_handle , 0 , " id-as-directory-reliable-binding " , FALSE ) ;
2005-11-16 23:17:21 +00:00
2005-12-08 06:43:01 +00:00
/* OPERATIONAL BINDING */
2007-10-31 08:26:52 +00:00
oid_add_from_string ( " id-op-binding-shadow " , " 2.5.1.0.5.1 " ) ;
2005-12-08 06:43:01 +00:00
2005-12-16 06:47:22 +00:00
/* DNs */
x509if_register_fmt ( hf_disp_contextPrefix , " cp= " ) ;
2005-11-16 23:17:21 +00:00
}