Ethereal-dev: [Ethereal-dev] [packet-dcerpc-dnsserver.c] 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 <Jean-Baptiste.Marchand@xxxxxx>
Date: Thu, 2 Oct 2003 13:32:41 +0200
Hello,

attached patches add names for operations in the dnsserver MSRPC
interface, including operations that have been added in Windows Server
2003 (opnum 5 to 9).

Jean-Baptiste Marchand
-- 
Jean-Baptiste.Marchand@xxxxxx
HSC - http://www.hsc.fr/
Index: packet-dcerpc-dnsserver.h
===================================================================
RCS file: /cvsroot/ethereal/packet-dcerpc-dnsserver.h,v
retrieving revision 1.1
diff -u -r1.1 packet-dcerpc-dnsserver.h
--- packet-dcerpc-dnsserver.h	11 Sep 2002 23:59:13 -0000	1.1
+++ packet-dcerpc-dnsserver.h	2 Oct 2003 10:00:57 -0000
@@ -28,9 +28,15 @@
 
 /* Functions available on the DNSSERVER pipe */
 
-#define UNKNOWN_00 0x00
-#define UNKNOWN_01 0x01
-#define UNKNOWN_02 0x02
-#define UNKNOWN_03 0x03
+#define DNSSERVER_DNSSRV_OPERATION 		0x00
+#define DNSSERVER_DNSSRV_QUERY 			0x01
+#define DNSSERVER_DNSSRV_COMPLEX_OPERATION	0x02
+#define DNSSERVER_DNSSRV_ENUM_RECORDS 		0x03
+#define DNSSERVER_DNSSRV_UPDATE_RECORD	 	0x04
+#define DNSSERVER_DNSSRV_OPERATION_2 		0x05
+#define DNSSERVER_DNSSRV_QUERY_2 		0x06
+#define DNSSERVER_DNSSRV_COMPLEX_OPERATION_2	0x07
+#define DNSSERVER_DNSSRV_ENUM_RECORDS_2 	0x08
+#define DNSSERVER_DNSSRV_UPDATE_RECORD_2 	0x09
 
 #endif /* packet-dcerpc-dnsserver.h */
Index: packet-dcerpc-dnsserver.c
===================================================================
RCS file: /cvsroot/ethereal/packet-dcerpc-dnsserver.c,v
retrieving revision 1.3
diff -u -r1.3 packet-dcerpc-dnsserver.c
--- packet-dcerpc-dnsserver.c	4 Aug 2003 02:49:03 -0000	1.3
+++ packet-dcerpc-dnsserver.c	2 Oct 2003 09:59:29 -0000
@@ -51,11 +51,26 @@
 static guint16 ver_dcerpc_dnsserver = 5;
 
 static dcerpc_sub_dissector dcerpc_dnsserver_dissectors[] = {
-	{ UNKNOWN_00, "Unknown 0x00", NULL, NULL },
-	{ UNKNOWN_01, "Unknown 0x01", NULL, NULL },
-	{ UNKNOWN_02, "Unknown 0x02", NULL, NULL },
-	{ UNKNOWN_03, "Unknown 0x02", NULL, NULL },
-
+	{ DNSSERVER_DNSSRV_OPERATION, "DnssrvOperation", 
+	  NULL, NULL },
+	{ DNSSERVER_DNSSRV_QUERY, "DnssrvQuery", 
+	  NULL, NULL },
+	{ DNSSERVER_DNSSRV_COMPLEX_OPERATION, "DnssrvComplexOperation", 
+	  NULL, NULL },
+	{ DNSSERVER_DNSSRV_ENUM_RECORDS, "DnssrvEnumRecords", 
+	  NULL, NULL }, 
+	{ DNSSERVER_DNSSRV_UPDATE_RECORD, "DnssrvUpdateRecord", 
+	  NULL, NULL },
+	{ DNSSERVER_DNSSRV_OPERATION_2, "DnssrvOperation2", 
+	  NULL, NULL },
+	{ DNSSERVER_DNSSRV_QUERY_2, "DnssrvQuery2", 
+	  NULL, NULL },
+	{ DNSSERVER_DNSSRV_COMPLEX_OPERATION_2, "DnssrvComplexOperation2", 
+	  NULL, NULL },
+	{ DNSSERVER_DNSSRV_ENUM_RECORDS_2, "DnssrvEnumRecords2", 
+	  NULL, NULL },
+	{ DNSSERVER_DNSSRV_UPDATE_RECORD_2, "DnssrvUpdateRecord2", 
+	  NULL, NULL },
         { 0, NULL, NULL,  NULL }
 };