Ethereal-dev: [Ethereal-dev] [packet-dcerpc-srvsvc.c] DFS-related operations names

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jean-Baptiste Marchand <jbm@xxxxxx>
Date: Sat, 27 Sep 2003 14:41:45 +0200
Hello,

the attached patches add the names of DFS-related operation in the srvsvc
(server service) MSRPC interface to the packet-dcerpc-srvsvc.c
dissector. 

Jean-Baptiste Marchand
-- 
Jean-Baptiste.Marchand@xxxxxx
HSC - http://www.hsc.fr/
Index: packet-dcerpc-srvsvc.c
===================================================================
RCS file: /cvsroot/ethereal/packet-dcerpc-srvsvc.c,v
retrieving revision 1.59
diff -u -r1.59 packet-dcerpc-srvsvc.c
--- packet-dcerpc-srvsvc.c	4 Aug 2003 02:49:00 -0000	1.59
+++ packet-dcerpc-srvsvc.c	27 Sep 2003 11:04:00 -0000
@@ -6604,7 +6604,7 @@
 
 
 /*
- * IDL long NetrServerSetServiceBits2(
+ * IDL long NetrServerSetServiceBitsEx(
  * IDL      [in] [string] [unique] wchar_t *ServerName,
  * IDL      [in] [string] [unique] wchar_t *EmulatedServerName,
  * IDL      [in] [string] [unique] wchar_t *Transport,
@@ -6614,7 +6614,7 @@
  * IDL );
  */
 static int
-srvsvc_dissect_netrserversetservicebits2_rqst(tvbuff_t *tvb, int offset,
+srvsvc_dissect_netrserversetservicebitsex_rqst(tvbuff_t *tvb, int offset,
 				     packet_info *pinfo, proto_tree *tree,
 				     char *drep)
 {
@@ -6640,7 +6640,7 @@
 	return offset;
 }
 static int
-srvsvc_dissect_netrserversetservicebits2_reply(tvbuff_t *tvb, int offset,
+srvsvc_dissect_netrserversetservicebitsex_reply(tvbuff_t *tvb, int offset,
 				     packet_info *pinfo, proto_tree *tree,
 				     char *drep)
 {
@@ -6747,7 +6747,7 @@
 	{SRV_NETRSERVERSETSERVICEBITS,	"NetrServerSetServiceBits",
 		srvsvc_dissect_netrsetserverservicebits_rqst,
 		srvsvc_dissect_netrsetserverservicebits_reply},
-	{SRV_NETRPRPATHTYPE,		"NetrPathType",
+	{SRV_NETRPRPATHTYPE,		"NetrpPathType",
 		srvsvc_dissect_netrpathtype_rqst,
 		srvsvc_dissect_netrpathtype_reply},
 	{SRV_NETRPRPATHCANONICALIZE,	"NetrpPathCanonicalize",
@@ -6783,9 +6783,31 @@
 	{SRV_NETRSERVERTRANSPORTADDEX,	"NetrServerTransportAddEx",
 		srvsvc_dissect_netrservertransportaddex_rqst,
 		srvsvc_dissect_netrservertransportaddex_reply},
-	{SRV_NETRSERVERSETSERVICEBITS2,	"NetrServerSetServiceBits2",
-		srvsvc_dissect_netrserversetservicebits2_rqst,
-		srvsvc_dissect_netrserversetservicebits2_reply},
+	{SRV_NETRSERVERSETSERVICEBITSEX,"NetrServerSetServiceBitsEx",
+		srvsvc_dissect_netrserversetservicebitsex_rqst,
+		srvsvc_dissect_netrserversetservicebitsex_reply},
+	{ SRV_NETRDFSGETVERSION, "NetrDfsGetVersion", 
+		NULL, NULL },
+	{ SRV_NETRDFSCREATELOCALPARTITION, "NetrDfsCreateLocalPartition", 
+		NULL, NULL },
+	{ SRV_NETRDFSDELETELOCALPARTITION, "NetrDfsDeleteLocalPartition", 
+		NULL, NULL },
+	{ SRV_NETRDFSSETLOCALVOLUMESTATE, "NetrDfsSetLocalVolumeState", 
+		NULL, NULL },
+	{ SRV_NETRDFSSETSERVERINFO, "NetrDfsSetServerInfo", 
+		NULL, NULL },
+	{ SRV_NETRDFSCREATEEXITPOINT, "NetrDfsCreateExitPoint", 
+		NULL, NULL },
+	{ SRV_NETRDFSDELETEEXITPOINT, "NetrDfsDeleteExitPoint", 
+		NULL, NULL },
+	{ SRV_NETRDFSMODIFYPREFIX, "NetrDfsModifyPrefix", 
+		NULL, NULL },
+	{ SRV_NETRDFSFIXLOCALVOLUME, "NetrDfsFixLocalVolume", 
+		NULL, NULL },
+	{ SRV_NETRDFSMANAGERREPORTSITEINFO, "NetrDfsManagerReportSiteInfo", 
+		NULL, NULL },
+	{ SRV_NETRSERVERTRANSPORTDELEX, "NetrServerTransportDelEx",
+		NULL, NULL },
 	{0, NULL, NULL, NULL}
 };
 
Index: packet-dcerpc-srvsvc.h
===================================================================
RCS file: /cvsroot/ethereal/packet-dcerpc-srvsvc.h,v
retrieving revision 1.6
diff -u -r1.6 packet-dcerpc-srvsvc.h
--- packet-dcerpc-srvsvc.h	28 Aug 2002 21:00:11 -0000	1.6
+++ packet-dcerpc-srvsvc.h	27 Sep 2003 11:04:08 -0000
@@ -73,6 +73,17 @@
 #define SRV_NETRPGETFILESECURITY	0x27
 #define SRV_NETRPSETFILESECURITY	0x28
 #define SRV_NETRSERVERTRANSPORTADDEX	0x29
-#define SRV_NETRSERVERSETSERVICEBITS2	0x2a
+#define SRV_NETRSERVERSETSERVICEBITSEX	0x2a
+#define SRV_NETRDFSGETVERSION 		0x2b
+#define SRV_NETRDFSCREATELOCALPARTITION 0x2c
+#define SRV_NETRDFSDELETELOCALPARTITION 0x2d
+#define SRV_NETRDFSSETLOCALVOLUMESTATE  0x2e
+#define SRV_NETRDFSSETSERVERINFO	0x2f
+#define SRV_NETRDFSCREATEEXITPOINT	0x30
+#define SRV_NETRDFSDELETEEXITPOINT	0x31
+#define SRV_NETRDFSMODIFYPREFIX		0x32
+#define SRV_NETRDFSFIXLOCALVOLUME	0x33
+#define SRV_NETRDFSMANAGERREPORTSITEINFO 0x34
+#define SRV_NETRSERVERTRANSPORTDELEX	0x35
 
 #endif