diff options
author | Jeremy Allison <jra@samba.org> | 2004-02-24 00:05:49 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-02-24 00:05:49 +0000 |
commit | bf6eb83a3851278668b0f7883113ad3836a65c23 (patch) | |
tree | 8a91d2d2f1987e05f130607692c201cda2a838e8 /source3/include | |
parent | 61eedb268bad8cf0e605f25a8362f1bd1705dfe7 (diff) | |
download | samba-bf6eb83a3851278668b0f7883113ad3836a65c23.tar.gz samba-bf6eb83a3851278668b0f7883113ad3836a65c23.tar.bz2 samba-bf6eb83a3851278668b0f7883113ad3836a65c23.zip |
Added NTrename SMB (0xA5) - how did we miss this.... ?
Jeremy.
(This used to be commit d236372876918be2a886a89383cf843b82d4c8db)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 1 | ||||
-rw-r--r-- | source3/include/smbprofile.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 342c010124..1bf5db4768 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -873,6 +873,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/source3/include/smbprofile.h b/source3/include/smbprofile.h index c29a630fe5..e494faf7da 100644 --- a/source3/include/smbprofile.h +++ b/source3/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 */ |