aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-drsuapi.h
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-03-12 09:02:01 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-03-12 09:02:01 +0000
commitd8f7e51b8173d3b81bdc33d531616ab9da100117 (patch)
tree87da1672ae016927d3ec52af910842dcbd393b06 /epan/dissectors/packet-dcerpc-drsuapi.h
parent6075b473e0499d91d4427a4066e7579a1bbe33ea (diff)
initial DRSUAPI dissector
now that we can decrypt DCERPC the dissection is not complete since idl2eth can not yet handle all the weird extensions in the idl file yet. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13729 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcerpc-drsuapi.h')
-rw-r--r--epan/dissectors/packet-dcerpc-drsuapi.h170
1 files changed, 140 insertions, 30 deletions
diff --git a/epan/dissectors/packet-dcerpc-drsuapi.h b/epan/dissectors/packet-dcerpc-drsuapi.h
index eeb4a6c7a0..9e9cd1cd7f 100644
--- a/epan/dissectors/packet-dcerpc-drsuapi.h
+++ b/epan/dissectors/packet-dcerpc-drsuapi.h
@@ -1,6 +1,9 @@
+/* DO NOT EDIT
+ * This dissector is autogenerated
+ * ronnie sahlberg 2005
+ */
/* packet-dcerpc-drsuapi.h
- * Routines for the drsuapi (Directory Replication Service) MSRPC interface
- * Copyright 2003 Jean-Baptiste Marchand <jbm@hsc.fr>
+ * Routines for DRSUAPI packet disassembly
*
* $Id$
*
@@ -26,35 +29,142 @@
#ifndef __PACKET_DCERPC_DRSUAPI_H
#define __PACKET_DCERPC_DRSUAPI_H
-/* MSRPC functions available in the drsuapi interface */
-
-#define DRSUAPI_BIND 0x00
-#define DRSUAPI_UNBIND 0x01
-#define DRSUAPI_REPLICA_SYNC 0x02
-#define DRSUAPI_GET_NC_CHANGES 0x03
-#define DRSUAPI_UPDATE_REFS 0x04
-#define DRSUAPI_REPLICA_ADD 0x05
-#define DRSUAPI_REPLICA_DEL 0x06
-#define DRSUAPI_REPLICA_MODIFY 0x07
-#define DRSUAPI_VERIFY_NAMES 0x08
-#define DRSUAPI_GET_MEMBERSHIPS 0x09
-#define DRSUAPI_INTER_DOMAIN_MOVE 0x0a
-#define DRSUAPI_GET_NT4_CHANGELOG 0x0b
-#define DRSUAPI_CRACKNAMES 0x0c
-#define DRSUAPI_WRITE_SPN 0x0d
-#define DRSUAPI_REMOVE_DS_SERVER 0x0e
-#define DRSUAPI_REMOVE_DS_DOMAIN 0x0f
-#define DRSUAPI_DOMAIN_CONTROLLER_INFO 0x10
-#define DRSUAPI_ADD_ENTRY 0x11
-#define DRSUAPI_EXECUTE_KCC 0x12
-#define DRSUAPI_GET_REPL_INFO 0x13
-#define DRSUAPI_ADD_SID_HISTORY 0x14
-#define DRSUAPI_GET_MEMBERSHIPS2 0x15
-#define DRSUAPI_REPLICA_VERIFY_OBJECTS 0x16
-#define DRSUAPI_GET_OBJECT_EXISTENCE 0x17
-#define DRSUAPI_QUERY_SITES_BY_COST 0x18
-#endif /* packet-dcerpc-drsuapi.h */
+/* INCLUDED FILE : ETH_HDR */
+int drsuapi_dissect_SupportedExtensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsBindInfo24(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsBindInfo28(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaSyncOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsGetNCChangesUsnTriple(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaUpdateRefsOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaAddOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaDeleteOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaModifyOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+
+#define DRSUAPI_DS_NAME_STATUS_OK 0
+#define DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR 1
+#define DRSUAPI_DS_NAME_STATUS_NOT_FOUND 2
+#define DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE 3
+#define DRSUAPI_DS_NAME_STATUS_NO_MAPPING 4
+#define DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY 5
+#define DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING 6
+#define DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL 7
+
+extern const value_string drsuapi_DsNameStatus_vals[];
+int drsuapi_dissect_DsNameStatus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+
+#define DRSUAPI_DS_NAME_FLAG_NO_FLAGS 0
+#define DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY 0
+#define DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC 0
+#define DRSUAPI_DS_NAME_FLAG_GCVERIFY 0
+#define DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL 0
+
+extern const value_string drsuapi_DsNameFlags_vals[];
+int drsuapi_dissect_DsNameFlags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+
+#define DRSUAPI_DS_NAME_FORMAT_UKNOWN 0
+#define DRSUAPI_DS_NAME_FORMAT_FQDN_1779 1
+#define DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT 2
+#define DRSUAPI_DS_NAME_FORMAT_DISPLAY 3
+#define DRSUAPI_DS_NAME_FORMAT_GUID 6
+#define DRSUAPI_DS_NAME_FORMAT_CANONICAL 7
+#define DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL 8
+#define DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX 9
+#define DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL 10
+#define DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY 11
+#define DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN 12
+
+extern const value_string drsuapi_DsNameFormat_vals[];
+int drsuapi_dissect_DsNameFormat(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsNameString(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsNameRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsNameInfo1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsNameCtr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+
+#define DRSUAPI_DS_SPN_OPERATION_ADD 0
+#define DRSUAPI_DS_SPN_OPERATION_REPLACE 1
+#define DRSUAPI_DS_SPN_OPERATION_DELETE 2
+
+extern const value_string drsuapi_DsSpnOperation_vals[];
+int drsuapi_dissect_DsSpnOperation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsWriteAccountSpnRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsWriteAccountSpnResult1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsGetDCInfoRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsGetDCInfo1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsGetDCInfoCtr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsGetDCInfo2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsGetDCInfoCtr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsGetDCInfo01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsGetDCInfoCtr01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+#define DRSUAPI_DC_INFO_CTR_1 1
+#define DRSUAPI_DC_INFO_CTR_2 2
+#define DRSUAPI_DC_INFO_CTR_01 -1
+extern const value_string drsuapi_DsGetDCInfoCtrLevels_vals[];
+int drsuapi_dissect_DsGetDCInfoCtrLevels(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+
+#define DRSUAPI_DS_REPLICA_GET_INFO 1
+#define DRSUAPI_DS_REPLICA_GET_INFO2 2
+
+extern const value_string drsuapi_DsReplicaGetInfoLevel_vals[];
+int drsuapi_dissect_DsReplicaGetInfoLevel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+
+#define DRSUAPI_DS_REPLICA_INFO_NEIGHBORS 0
+#define DRSUAPI_DS_REPLICA_INFO_CURSORS 1
+#define DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA 2
+#define DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES 3
+#define DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES 4
+#define DRSUAPI_DS_REPLICA_INFO_PENDING_OPS 5
+#define DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA 6
+#define DRSUAPI_DS_REPLICA_INFO_CURSORS2 7
+#define DRSUAPI_DS_REPLICA_INFO_CURSORS3 8
+#define DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2 9
+#define DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2 10
+#define DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02 -2
+#define DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04 -4
+#define DRSUAPI_DS_REPLICA_INFO_CURSURS05 -5
+#define DRSUAPI_DS_REPLICA_INFO_06 -6
+
+extern const value_string drsuapi_DsReplicaInfoType_vals[];
+int drsuapi_dissect_DsReplicaInfoType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaGetInfoRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaGetInfoRequest2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaNeighbour(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaNeighbourCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaCoursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaCoursorCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaObjMetaData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaObjMetaDataCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaKccDsaFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+
+#define DRSUAPI_DS_REPLICA_OP_TYPE_SYNC 0
+#define DRSUAPI_DS_REPLICA_OP_TYPE_ADD 1
+#define DRSUAPI_DS_REPLICA_OP_TYPE_DELETE 2
+#define DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY 3
+#define DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS 4
+
+extern const value_string drsuapi_DsReplicaOpType_vals[];
+int drsuapi_dissect_DsReplicaOpType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaOp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaOpCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaAttrValMetaData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaAttrValMetaDataCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaCoursor2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaCoursor2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaCoursor3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaCoursor3Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaObjMetaData2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaObjMetaData2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaAttrValMetaData2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaAttrValMetaData2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplicaCoursor05Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplica06(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+int drsuapi_dissect_DsReplica06Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param);
+/* END OF INCLUDED FILE : ETH_HDR */
+
+
+
+#endif /* packet-dcerpc-drsuapi.h */