summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-02-24 00:06:08 +0000
committerJeremy Allison <jra@samba.org>2004-02-24 00:06:08 +0000
commitdfd7d1c2b7b577a084a94926abfce82c91f20b7e (patch)
tree8eca6c13aa6cf8ee8895f59c2591376279d3cb25 /source/include
parentb38b3a554221a234127c740e6432048e69b7f5a3 (diff)
downloadsamba-dfd7d1c2b7b577a084a94926abfce82c91f20b7e.tar.gz
samba-dfd7d1c2b7b577a084a94926abfce82c91f20b7e.tar.xz
samba-dfd7d1c2b7b577a084a94926abfce82c91f20b7e.zip
Added NTrename SMB (0xA5) - how did we miss this.... ?
Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/smb.h1
-rw-r--r--source/include/smbprofile.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 37a2833d975..c5284751d33 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -871,6 +871,7 @@ struct bitmap {
#define SMBnttranss 0xA1 /* NT transact secondary */
#define SMBntcreateX 0xA2 /* NT create and X */
#define SMBntcancel 0xA4 /* NT cancel */
+#define SMBntrename 0xA5 /* NT rename */
/* These are the trans subcommands */
#define TRANSACT_SETNAMEDPIPEHANDLESTATE 0x01
diff --git a/source/include/smbprofile.h b/source/include/smbprofile.h
index c29a630fe53..e494faf7da6 100644
--- a/source/include/smbprofile.h
+++ b/source/include/smbprofile.h
@@ -34,7 +34,7 @@ enum flush_reason_enum { SEEK_FLUSH, READ_FLUSH, WRITE_FLUSH, READRAW_FLUSH,
#define PROF_SHMEM_KEY ((key_t)0x07021999)
#define PROF_SHM_MAGIC 0x6349985
-#define PROF_SHM_VERSION 8
+#define PROF_SHM_VERSION 9
/* time values in the following structure are in microseconds */
@@ -259,6 +259,8 @@ struct profile_stats {
unsigned SMBntcreateX_time;
unsigned SMBntcancel_count; /* NT cancel */
unsigned SMBntcancel_time;
+ unsigned SMBntrename_count; /* NT rename file */
+ unsigned SMBntrename_time;
unsigned SMBsplopen_count; /* open print spool file */
unsigned SMBsplopen_time;
unsigned SMBsplwr_count; /* write to print spool file */