1
2
3
4
5
6
7
8 #ifndef _LINUX_SMB_MOUNT_H
9 #define _LINUX_SMB_MOUNT_H
10
11 #include <linux/types.h>
12 #include <linux/in.h>
13
14 #define SMB_MOUNT_VERSION 4
15
16 struct smb_mount_data {
17 int version;
18 unsigned int fd;
19 uid_t mounted_uid;
20 struct sockaddr_in addr;
21
22 char server_name[17];
23 char client_name[17];
24 char service[64];
25 char root_path[64];
26
27 char username[64];
28 char password[64];
29
30 unsigned short max_xmit;
31
32 uid_t uid;
33 gid_t gid;
34 mode_t file_mode;
35 mode_t dir_mode;
36 };
37
38 #endif
39
40