summaryrefslogtreecommitdiff
path: root/libcli/smb
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2013-01-15 17:22:57 +0100
committerJeremy Allison <jra@samba.org>2013-01-16 23:15:06 +0100
commit14bd6c8b0954ad58ac4e3e157835594c26bfa97a (patch)
tree77c02b03dc0460cab603b71a1ba339560369f681 /libcli/smb
parent958b21c28dacad38cd64e79ca7d77cd8acc20dd0 (diff)
downloadsamba-14bd6c8b0954ad58ac4e3e157835594c26bfa97a.tar.gz
samba-14bd6c8b0954ad58ac4e3e157835594c26bfa97a.tar.bz2
samba-14bd6c8b0954ad58ac4e3e157835594c26bfa97a.zip
smb2_ioctl: split ioctl handler code on device type
Add per device type ioctl handler source files for FSCTL_DFS, FSCTL_FILESYSTEM, FSCTL_NAMED_PIPE and FSCTL_NETWORK_FILESYSTEM. Reviewed by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/smb')
-rw-r--r--libcli/smb/smb_constants.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h
index 8cb3b6e421..f1ecbe99e4 100644
--- a/libcli/smb/smb_constants.h
+++ b/libcli/smb/smb_constants.h
@@ -367,6 +367,8 @@ enum csc_policy {
#define FSCTL_ACCESS_READ 0x00004000
#define FSCTL_ACCESS_WRITE 0x00008000
+#define IOCTL_DEV_TYPE_MASK 0xFFFF0000
+
#define FSCTL_DFS 0x00060000
#define FSCTL_DFS_GET_REFERRALS (FSCTL_DFS | FSCTL_ACCESS_ANY | 0x0194 | FSCTL_METHOD_BUFFERED)
#define FSCTL_DFS_GET_REFERRALS_EX (FSCTL_DFS | FSCTL_ACCESS_ANY | 0x01B0 | FSCTL_METHOD_BUFFERED)