Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
smb2pdu.h File Reference
#include <net/sock.h>

Go to the source code of this file.

Data Structures

struct  smb2_hdr
 
struct  smb2_pdu
 
struct  smb2_err_rsp
 
struct  smb2_negotiate_req
 
struct  smb2_negotiate_rsp
 
struct  smb2_sess_setup_req
 
struct  smb2_sess_setup_rsp
 
struct  smb2_logoff_req
 
struct  smb2_logoff_rsp
 
struct  smb2_tree_connect_req
 
struct  smb2_tree_connect_rsp
 
struct  smb2_tree_disconnect_req
 
struct  smb2_tree_disconnect_rsp
 
struct  smb2_create_req
 
struct  smb2_create_rsp
 
struct  create_context
 
struct  lease_context
 
struct  create_lease
 
struct  smb2_close_req
 
struct  smb2_close_rsp
 
struct  smb2_flush_req
 
struct  smb2_flush_rsp
 
struct  smb2_read_req
 
struct  smb2_read_rsp
 
struct  smb2_write_req
 
struct  smb2_write_rsp
 
struct  smb2_lock_element
 
struct  smb2_lock_req
 
struct  smb2_lock_rsp
 
struct  smb2_echo_req
 
struct  smb2_echo_rsp
 
struct  smb2_query_directory_req
 
struct  smb2_query_directory_rsp
 
struct  smb2_query_info_req
 
struct  smb2_query_info_rsp
 
struct  smb2_set_info_req
 
struct  smb2_set_info_rsp
 
struct  smb2_oplock_break
 
struct  smb2_lease_break
 
struct  smb2_lease_ack
 
struct  smb2_fs_full_size_info
 
struct  smb2_file_internal_info
 
struct  smb2_file_rename_info
 
struct  smb2_file_link_info
 
struct  smb2_file_all_info
 
struct  smb2_file_eof_info
 

Macros

#define SMB2_NEGOTIATE_HE   0x0000
 
#define SMB2_SESSION_SETUP_HE   0x0001
 
#define SMB2_LOGOFF_HE   0x0002 /* trivial request/resp */
 
#define SMB2_TREE_CONNECT_HE   0x0003
 
#define SMB2_TREE_DISCONNECT_HE   0x0004 /* trivial req/resp */
 
#define SMB2_CREATE_HE   0x0005
 
#define SMB2_CLOSE_HE   0x0006
 
#define SMB2_FLUSH_HE   0x0007 /* trivial resp */
 
#define SMB2_READ_HE   0x0008
 
#define SMB2_WRITE_HE   0x0009
 
#define SMB2_LOCK_HE   0x000A
 
#define SMB2_IOCTL_HE   0x000B
 
#define SMB2_CANCEL_HE   0x000C
 
#define SMB2_ECHO_HE   0x000D
 
#define SMB2_QUERY_DIRECTORY_HE   0x000E
 
#define SMB2_CHANGE_NOTIFY_HE   0x000F
 
#define SMB2_QUERY_INFO_HE   0x0010
 
#define SMB2_SET_INFO_HE   0x0011
 
#define SMB2_OPLOCK_BREAK_HE   0x0012
 
#define SMB2_NEGOTIATE   cpu_to_le16(SMB2_NEGOTIATE_HE)
 
#define SMB2_SESSION_SETUP   cpu_to_le16(SMB2_SESSION_SETUP_HE)
 
#define SMB2_LOGOFF   cpu_to_le16(SMB2_LOGOFF_HE)
 
#define SMB2_TREE_CONNECT   cpu_to_le16(SMB2_TREE_CONNECT_HE)
 
#define SMB2_TREE_DISCONNECT   cpu_to_le16(SMB2_TREE_DISCONNECT_HE)
 
#define SMB2_CREATE   cpu_to_le16(SMB2_CREATE_HE)
 
#define SMB2_CLOSE   cpu_to_le16(SMB2_CLOSE_HE)
 
#define SMB2_FLUSH   cpu_to_le16(SMB2_FLUSH_HE)
 
#define SMB2_READ   cpu_to_le16(SMB2_READ_HE)
 
#define SMB2_WRITE   cpu_to_le16(SMB2_WRITE_HE)
 
#define SMB2_LOCK   cpu_to_le16(SMB2_LOCK_HE)
 
#define SMB2_IOCTL   cpu_to_le16(SMB2_IOCTL_HE)
 
#define SMB2_CANCEL   cpu_to_le16(SMB2_CANCEL_HE)
 
#define SMB2_ECHO   cpu_to_le16(SMB2_ECHO_HE)
 
#define SMB2_QUERY_DIRECTORY   cpu_to_le16(SMB2_QUERY_DIRECTORY_HE)
 
#define SMB2_CHANGE_NOTIFY   cpu_to_le16(SMB2_CHANGE_NOTIFY_HE)
 
#define SMB2_QUERY_INFO   cpu_to_le16(SMB2_QUERY_INFO_HE)
 
#define SMB2_SET_INFO   cpu_to_le16(SMB2_SET_INFO_HE)
 
#define SMB2_OPLOCK_BREAK   cpu_to_le16(SMB2_OPLOCK_BREAK_HE)
 
#define NUMBER_OF_SMB2_COMMANDS   0x0013
 
#define MAX_SMB2_HDR_SIZE   0x78 /* 4 len + 64 hdr + (2*24 wct) + 2 bct + 2 pad */
 
#define SMB2_PROTO_NUMBER   __constant_cpu_to_le32(0x424d53fe)
 
#define SMB2_HEADER_STRUCTURE_SIZE   __constant_cpu_to_le16(64)
 
#define SMB2_FLAGS_SERVER_TO_REDIR   __constant_cpu_to_le32(0x00000001)
 
#define SMB2_FLAGS_ASYNC_COMMAND   __constant_cpu_to_le32(0x00000002)
 
#define SMB2_FLAGS_RELATED_OPERATIONS   __constant_cpu_to_le32(0x00000004)
 
#define SMB2_FLAGS_SIGNED   __constant_cpu_to_le32(0x00000008)
 
#define SMB2_FLAGS_DFS_OPERATIONS   __constant_cpu_to_le32(0x10000000)
 
#define SMB2_ERROR_STRUCTURE_SIZE2   __constant_cpu_to_le16(9)
 
#define SMB2_CLIENT_GUID_SIZE   16
 
#define SMB20_PROT_ID   0x0202
 
#define SMB21_PROT_ID   0x0210
 
#define SMB30_PROT_ID   0x0300
 
#define BAD_PROT_ID   0xFFFF
 
#define SMB2_NEGOTIATE_SIGNING_ENABLED   0x0001
 
#define SMB2_NEGOTIATE_SIGNING_REQUIRED   0x0002
 
#define SMB2_GLOBAL_CAP_DFS   0x00000001
 
#define SMB2_GLOBAL_CAP_LEASING   0x00000002 /* Resp only New to SMB2.1 */
 
#define SMB2_GLOBAL_CAP_LARGE_MTU   0X00000004 /* Resp only New to SMB2.1 */
 
#define SMB2_GLOBAL_CAP_MULTI_CHANNEL   0x00000008 /* New to SMB3 */
 
#define SMB2_GLOBAL_CAP_PERSISTENT_HANDLES   0x00000010 /* New to SMB3 */
 
#define SMB2_GLOBAL_CAP_DIRECTORY_LEASING   0x00000020 /* New to SMB3 */
 
#define SMB2_GLOBAL_CAP_ENCRYPTION   0x00000040 /* New to SMB3 */
 
#define SMB2_NT_FIND   0x00100000
 
#define SMB2_LARGE_FILES   0x00200000
 
#define SMB2_SESSION_FLAG_IS_GUEST   0x0001
 
#define SMB2_SESSION_FLAG_IS_NULL   0x0002
 
#define SMB2_SHARE_TYPE_DISK   0x01
 
#define SMB2_SHARE_TYPE_PIPE   0x02
 
#define SMB2_SHARE_TYPE_PRINT   0x03
 
#define SMB2_SHAREFLAG_MANUAL_CACHING   0x00000000
 
#define SMB2_SHAREFLAG_AUTO_CACHING   0x00000010
 
#define SMB2_SHAREFLAG_VDO_CACHING   0x00000020
 
#define SMB2_SHAREFLAG_NO_CACHING   0x00000030
 
#define SHI1005_FLAGS_DFS   0x00000001
 
#define SHI1005_FLAGS_DFS_ROOT   0x00000002
 
#define SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS   0x00000100
 
#define SHI1005_FLAGS_FORCE_SHARED_DELETE   0x00000200
 
#define SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING   0x00000400
 
#define SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM   0x00000800
 
#define SHI1005_FLAGS_FORCE_LEVELII_OPLOCK   0x00001000
 
#define SHI1005_FLAGS_ENABLE_HASH   0x00002000
 
#define SMB2_SHARE_CAP_DFS   cpu_to_le32(0x00000008)
 
#define FILE_ATTRIBUTE_READONLY   0x00000001
 
#define FILE_ATTRIBUTE_HIDDEN   0x00000002
 
#define FILE_ATTRIBUTE_SYSTEM   0x00000004
 
#define FILE_ATTRIBUTE_DIRECTORY   0x00000010
 
#define FILE_ATTRIBUTE_ARCHIVE   0x00000020
 
#define FILE_ATTRIBUTE_NORMAL   0x00000080
 
#define FILE_ATTRIBUTE_TEMPORARY   0x00000100
 
#define FILE_ATTRIBUTE_SPARSE_FILE   0x00000200
 
#define FILE_ATTRIBUTE_REPARSE_POINT   0x00000400
 
#define FILE_ATTRIBUTE_COMPRESSED   0x00000800
 
#define FILE_ATTRIBUTE_OFFLINE   0x00001000
 
#define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED   0x00002000
 
#define FILE_ATTRIBUTE_ENCRYPTED   0x00004000
 
#define SMB2_OPLOCK_LEVEL_NONE   0x00
 
#define SMB2_OPLOCK_LEVEL_II   0x01
 
#define SMB2_OPLOCK_LEVEL_EXCLUSIVE   0x08
 
#define SMB2_OPLOCK_LEVEL_BATCH   0x09
 
#define SMB2_OPLOCK_LEVEL_LEASE   0xFF
 
#define SMB2_OPLOCK_LEVEL_NOCHANGE   0x99
 
#define FILE_READ_DATA_LE   cpu_to_le32(0x00000001)
 
#define FILE_WRITE_DATA_LE   cpu_to_le32(0x00000002)
 
#define FILE_APPEND_DATA_LE   cpu_to_le32(0x00000004)
 
#define FILE_READ_EA_LE   cpu_to_le32(0x00000008)
 
#define FILE_WRITE_EA_LE   cpu_to_le32(0x00000010)
 
#define FILE_EXECUTE_LE   cpu_to_le32(0x00000020)
 
#define FILE_READ_ATTRIBUTES_LE   cpu_to_le32(0x00000080)
 
#define FILE_WRITE_ATTRIBUTES_LE   cpu_to_le32(0x00000100)
 
#define FILE_DELETE_LE   cpu_to_le32(0x00010000)
 
#define FILE_READ_CONTROL_LE   cpu_to_le32(0x00020000)
 
#define FILE_WRITE_DAC_LE   cpu_to_le32(0x00040000)
 
#define FILE_WRITE_OWNER_LE   cpu_to_le32(0x00080000)
 
#define FILE_SYNCHRONIZE_LE   cpu_to_le32(0x00100000)
 
#define FILE_ACCESS_SYSTEM_SECURITY_LE   cpu_to_le32(0x01000000)
 
#define FILE_MAXIMAL_ACCESS_LE   cpu_to_le32(0x02000000)
 
#define FILE_GENERIC_ALL_LE   cpu_to_le32(0x10000000)
 
#define FILE_GENERIC_EXECUTE_LE   cpu_to_le32(0x20000000)
 
#define FILE_GENERIC_WRITE_LE   cpu_to_le32(0x40000000)
 
#define FILE_GENERIC_READ_LE   cpu_to_le32(0x80000000)
 
#define FILE_SHARE_READ_LE   cpu_to_le32(0x00000001)
 
#define FILE_SHARE_WRITE_LE   cpu_to_le32(0x00000002)
 
#define FILE_SHARE_DELETE_LE   cpu_to_le32(0x00000004)
 
#define FILE_SHARE_ALL_LE   cpu_to_le32(0x00000007)
 
#define FILE_SUPERSEDE_LE   cpu_to_le32(0x00000000)
 
#define FILE_OPEN_LE   cpu_to_le32(0x00000001)
 
#define FILE_CREATE_LE   cpu_to_le32(0x00000002)
 
#define FILE_OPEN_IF_LE   cpu_to_le32(0x00000003)
 
#define FILE_OVERWRITE_LE   cpu_to_le32(0x00000004)
 
#define FILE_OVERWRITE_IF_LE   cpu_to_le32(0x00000005)
 
#define FILE_DIRECTORY_FILE_LE   cpu_to_le32(0x00000001)
 
#define FILE_WRITE_THROUGH_LE   cpu_to_le32(0x00000002)
 
#define FILE_SEQUENTIAL_ONLY_LE   cpu_to_le32(0x00000004)
 
#define FILE_NO_INTERMEDIATE_BUFFERRING_LE   cpu_to_le32(0x00000008)
 
#define FILE_SYNCHRONOUS_IO_ALERT_LE   cpu_to_le32(0x00000010)
 
#define FILE_SYNCHRONOUS_IO_NON_ALERT_LE   cpu_to_le32(0x00000020)
 
#define FILE_NON_DIRECTORY_FILE_LE   cpu_to_le32(0x00000040)
 
#define FILE_COMPLETE_IF_OPLOCKED_LE   cpu_to_le32(0x00000100)
 
#define FILE_NO_EA_KNOWLEDGE_LE   cpu_to_le32(0x00000200)
 
#define FILE_RANDOM_ACCESS_LE   cpu_to_le32(0x00000800)
 
#define FILE_DELETE_ON_CLOSE_LE   cpu_to_le32(0x00001000)
 
#define FILE_OPEN_BY_FILE_ID_LE   cpu_to_le32(0x00002000)
 
#define FILE_OPEN_FOR_BACKUP_INTENT_LE   cpu_to_le32(0x00004000)
 
#define FILE_NO_COMPRESSION_LE   cpu_to_le32(0x00008000)
 
#define FILE_RESERVE_OPFILTER_LE   cpu_to_le32(0x00100000)
 
#define FILE_OPEN_REPARSE_POINT_LE   cpu_to_le32(0x00200000)
 
#define FILE_OPEN_NO_RECALL_LE   cpu_to_le32(0x00400000)
 
#define FILE_OPEN_FOR_FREE_SPACE_QUERY_LE   cpu_to_le32(0x00800000)
 
#define FILE_READ_RIGHTS_LE
 
#define FILE_WRITE_RIGHTS_LE
 
#define FILE_EXEC_RIGHTS_LE   (FILE_EXECUTE_LE)
 
#define IL_ANONYMOUS   cpu_to_le32(0x00000000)
 
#define IL_IDENTIFICATION   cpu_to_le32(0x00000001)
 
#define IL_IMPERSONATION   cpu_to_le32(0x00000002)
 
#define IL_DELEGATE   cpu_to_le32(0x00000003)
 
#define SMB2_CREATE_EA_BUFFER   "ExtA" /* extended attributes */
 
#define SMB2_CREATE_SD_BUFFER   "SecD" /* security descriptor */
 
#define SMB2_CREATE_DURABLE_HANDLE_REQUEST   "DHnQ"
 
#define SMB2_CREATE_DURABLE_HANDLE_RECONNECT   "DHnC"
 
#define SMB2_CREATE_ALLOCATION_SIZE   "AlSi"
 
#define SMB2_CREATE_QUERY_MAXIMAL_ACCESS_REQUEST   "MxAc"
 
#define SMB2_CREATE_TIMEWARP_REQUEST   "TWrp"
 
#define SMB2_CREATE_QUERY_ON_DISK_ID   "QFid"
 
#define SMB2_CREATE_REQUEST_LEASE   "RqLs"
 
#define SMB2_LEASE_NONE   __constant_cpu_to_le32(0x00)
 
#define SMB2_LEASE_READ_CACHING   __constant_cpu_to_le32(0x01)
 
#define SMB2_LEASE_HANDLE_CACHING   __constant_cpu_to_le32(0x02)
 
#define SMB2_LEASE_WRITE_CACHING   __constant_cpu_to_le32(0x04)
 
#define SMB2_LEASE_FLAG_BREAK_IN_PROGRESS   __constant_cpu_to_le32(0x02)
 
#define SMB2_LEASE_KEY_SIZE   16
 
#define SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB   cpu_to_le16(0x0001)
 
#define SMB2_WRITEFLAG_WRITE_THROUGH   0x00000001
 
#define SMB2_LOCKFLAG_SHARED_LOCK   0x0001
 
#define SMB2_LOCKFLAG_EXCLUSIVE_LOCK   0x0002
 
#define SMB2_LOCKFLAG_UNLOCK   0x0004
 
#define SMB2_LOCKFLAG_FAIL_IMMEDIATELY   0x0010
 
#define SMB2_RESTART_SCANS   0x01
 
#define SMB2_RETURN_SINGLE_ENTRY   0x02
 
#define SMB2_INDEX_SPECIFIED   0x04
 
#define SMB2_REOPEN   0x10
 
#define SMB2_O_INFO_FILE   0x01
 
#define SMB2_O_INFO_FILESYSTEM   0x02
 
#define SMB2_O_INFO_SECURITY   0x03
 
#define SMB2_O_INFO_QUOTA   0x04
 
#define SMB2_NOTIFY_BREAK_LEASE_FLAG_ACK_REQUIRED   cpu_to_le32(0x01)
 
#define FS_VOLUME_INFORMATION   1 /* Query */
 
#define FS_LABEL_INFORMATION   2 /* Set */
 
#define FS_SIZE_INFORMATION   3 /* Query */
 
#define FS_DEVICE_INFORMATION   4 /* Query */
 
#define FS_ATTRIBUTE_INFORMATION   5 /* Query */
 
#define FS_CONTROL_INFORMATION   6 /* Query, Set */
 
#define FS_FULL_SIZE_INFORMATION   7 /* Query */
 
#define FS_OBJECT_ID_INFORMATION   8 /* Query, Set */
 
#define FS_DRIVER_PATH_INFORMATION   9 /* Query */
 
#define FILE_DIRECTORY_INFORMATION   1
 
#define FILE_FULL_DIRECTORY_INFORMATION   2
 
#define FILE_BOTH_DIRECTORY_INFORMATION   3
 
#define FILE_BASIC_INFORMATION   4
 
#define FILE_STANDARD_INFORMATION   5
 
#define FILE_INTERNAL_INFORMATION   6
 
#define FILE_EA_INFORMATION   7
 
#define FILE_ACCESS_INFORMATION   8
 
#define FILE_NAME_INFORMATION   9
 
#define FILE_RENAME_INFORMATION   10
 
#define FILE_LINK_INFORMATION   11
 
#define FILE_NAMES_INFORMATION   12
 
#define FILE_DISPOSITION_INFORMATION   13
 
#define FILE_POSITION_INFORMATION   14
 
#define FILE_FULL_EA_INFORMATION   15
 
#define FILE_MODE_INFORMATION   16
 
#define FILE_ALIGNMENT_INFORMATION   17
 
#define FILE_ALL_INFORMATION   18
 
#define FILE_ALLOCATION_INFORMATION   19
 
#define FILE_END_OF_FILE_INFORMATION   20
 
#define FILE_ALTERNATE_NAME_INFORMATION   21
 
#define FILE_STREAM_INFORMATION   22
 
#define FILE_PIPE_INFORMATION   23
 
#define FILE_PIPE_LOCAL_INFORMATION   24
 
#define FILE_PIPE_REMOTE_INFORMATION   25
 
#define FILE_MAILSLOT_QUERY_INFORMATION   26
 
#define FILE_MAILSLOT_SET_INFORMATION   27
 
#define FILE_COMPRESSION_INFORMATION   28
 
#define FILE_OBJECT_ID_INFORMATION   29
 
#define FILE_MOVE_CLUSTER_INFORMATION   31
 
#define FILE_QUOTA_INFORMATION   32
 
#define FILE_REPARSE_POINT_INFORMATION   33
 
#define FILE_NETWORK_OPEN_INFORMATION   34
 
#define FILE_ATTRIBUTE_TAG_INFORMATION   35
 
#define FILE_TRACKING_INFORMATION   36
 
#define FILEID_BOTH_DIRECTORY_INFORMATION   37
 
#define FILEID_FULL_DIRECTORY_INFORMATION   38
 
#define FILE_VALID_DATA_LENGTH_INFORMATION   39
 
#define FILE_SHORT_NAME_INFORMATION   40
 
#define FILE_SFIO_RESERVE_INFORMATION   44
 
#define FILE_SFIO_VOLUME_INFORMATION   45
 
#define FILE_HARD_LINK_INFORMATION   46
 
#define FILE_NORMALIZED_NAME_INFORMATION   48
 
#define FILEID_GLOBAL_TX_DIRECTORY_INFORMATION   50
 
#define FILE_STANDARD_LINK_INFORMATION   54
 

Variables

struct smb2_hdr __packed
 
__u8 cifs_client_guid [SMB2_CLIENT_GUID_SIZE]
 

Macro Definition Documentation

#define BAD_PROT_ID   0xFFFF

Definition at line 173 of file smb2pdu.h.

#define FILE_ACCESS_INFORMATION   8

Definition at line 763 of file smb2pdu.h.

#define FILE_ACCESS_SYSTEM_SECURITY_LE   cpu_to_le32(0x01000000)

Definition at line 341 of file smb2pdu.h.

#define FILE_ALIGNMENT_INFORMATION   17

Definition at line 772 of file smb2pdu.h.

#define FILE_ALL_INFORMATION   18

Definition at line 773 of file smb2pdu.h.

#define FILE_ALLOCATION_INFORMATION   19

Definition at line 774 of file smb2pdu.h.

#define FILE_ALTERNATE_NAME_INFORMATION   21

Definition at line 776 of file smb2pdu.h.

#define FILE_APPEND_DATA_LE   cpu_to_le32(0x00000004)

Definition at line 330 of file smb2pdu.h.

#define FILE_ATTRIBUTE_ARCHIVE   0x00000020

Definition at line 308 of file smb2pdu.h.

#define FILE_ATTRIBUTE_COMPRESSED   0x00000800

Definition at line 313 of file smb2pdu.h.

#define FILE_ATTRIBUTE_DIRECTORY   0x00000010

Definition at line 307 of file smb2pdu.h.

#define FILE_ATTRIBUTE_ENCRYPTED   0x00004000

Definition at line 316 of file smb2pdu.h.

#define FILE_ATTRIBUTE_HIDDEN   0x00000002

Definition at line 305 of file smb2pdu.h.

#define FILE_ATTRIBUTE_NORMAL   0x00000080

Definition at line 309 of file smb2pdu.h.

#define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED   0x00002000

Definition at line 315 of file smb2pdu.h.

#define FILE_ATTRIBUTE_OFFLINE   0x00001000

Definition at line 314 of file smb2pdu.h.

#define FILE_ATTRIBUTE_READONLY   0x00000001

Definition at line 304 of file smb2pdu.h.

#define FILE_ATTRIBUTE_REPARSE_POINT   0x00000400

Definition at line 312 of file smb2pdu.h.

#define FILE_ATTRIBUTE_SPARSE_FILE   0x00000200

Definition at line 311 of file smb2pdu.h.

#define FILE_ATTRIBUTE_SYSTEM   0x00000004

Definition at line 306 of file smb2pdu.h.

#define FILE_ATTRIBUTE_TAG_INFORMATION   35

Definition at line 790 of file smb2pdu.h.

#define FILE_ATTRIBUTE_TEMPORARY   0x00000100

Definition at line 310 of file smb2pdu.h.

#define FILE_BASIC_INFORMATION   4

Definition at line 759 of file smb2pdu.h.

#define FILE_BOTH_DIRECTORY_INFORMATION   3

Definition at line 758 of file smb2pdu.h.

#define FILE_COMPLETE_IF_OPLOCKED_LE   cpu_to_le32(0x00000100)

Definition at line 371 of file smb2pdu.h.

#define FILE_COMPRESSION_INFORMATION   28

Definition at line 783 of file smb2pdu.h.

#define FILE_CREATE_LE   cpu_to_le32(0x00000002)

Definition at line 357 of file smb2pdu.h.

#define FILE_DELETE_LE   cpu_to_le32(0x00010000)

Definition at line 336 of file smb2pdu.h.

#define FILE_DELETE_ON_CLOSE_LE   cpu_to_le32(0x00001000)

Definition at line 374 of file smb2pdu.h.

#define FILE_DIRECTORY_FILE_LE   cpu_to_le32(0x00000001)

Definition at line 363 of file smb2pdu.h.

#define FILE_DIRECTORY_INFORMATION   1

Definition at line 756 of file smb2pdu.h.

#define FILE_DISPOSITION_INFORMATION   13

Definition at line 768 of file smb2pdu.h.

#define FILE_EA_INFORMATION   7

Definition at line 762 of file smb2pdu.h.

#define FILE_END_OF_FILE_INFORMATION   20

Definition at line 775 of file smb2pdu.h.

#define FILE_EXEC_RIGHTS_LE   (FILE_EXECUTE_LE)

Definition at line 387 of file smb2pdu.h.

#define FILE_EXECUTE_LE   cpu_to_le32(0x00000020)

Definition at line 333 of file smb2pdu.h.

#define FILE_FULL_DIRECTORY_INFORMATION   2

Definition at line 757 of file smb2pdu.h.

#define FILE_FULL_EA_INFORMATION   15

Definition at line 770 of file smb2pdu.h.

#define FILE_GENERIC_ALL_LE   cpu_to_le32(0x10000000)

Definition at line 343 of file smb2pdu.h.

#define FILE_GENERIC_EXECUTE_LE   cpu_to_le32(0x20000000)

Definition at line 344 of file smb2pdu.h.

#define FILE_GENERIC_READ_LE   cpu_to_le32(0x80000000)

Definition at line 346 of file smb2pdu.h.

#define FILE_GENERIC_WRITE_LE   cpu_to_le32(0x40000000)

Definition at line 345 of file smb2pdu.h.

#define FILE_HARD_LINK_INFORMATION   46

Definition at line 798 of file smb2pdu.h.

#define FILE_INTERNAL_INFORMATION   6

Definition at line 761 of file smb2pdu.h.

#define FILE_LINK_INFORMATION   11

Definition at line 766 of file smb2pdu.h.

#define FILE_MAILSLOT_QUERY_INFORMATION   26

Definition at line 781 of file smb2pdu.h.

#define FILE_MAILSLOT_SET_INFORMATION   27

Definition at line 782 of file smb2pdu.h.

#define FILE_MAXIMAL_ACCESS_LE   cpu_to_le32(0x02000000)

Definition at line 342 of file smb2pdu.h.

#define FILE_MODE_INFORMATION   16

Definition at line 771 of file smb2pdu.h.

#define FILE_MOVE_CLUSTER_INFORMATION   31

Definition at line 786 of file smb2pdu.h.

#define FILE_NAME_INFORMATION   9

Definition at line 764 of file smb2pdu.h.

#define FILE_NAMES_INFORMATION   12

Definition at line 767 of file smb2pdu.h.

#define FILE_NETWORK_OPEN_INFORMATION   34

Definition at line 789 of file smb2pdu.h.

#define FILE_NO_COMPRESSION_LE   cpu_to_le32(0x00008000)

Definition at line 377 of file smb2pdu.h.

#define FILE_NO_EA_KNOWLEDGE_LE   cpu_to_le32(0x00000200)

Definition at line 372 of file smb2pdu.h.

#define FILE_NO_INTERMEDIATE_BUFFERRING_LE   cpu_to_le32(0x00000008)

Definition at line 367 of file smb2pdu.h.

#define FILE_NON_DIRECTORY_FILE_LE   cpu_to_le32(0x00000040)

Definition at line 370 of file smb2pdu.h.

#define FILE_NORMALIZED_NAME_INFORMATION   48

Definition at line 799 of file smb2pdu.h.

#define FILE_OBJECT_ID_INFORMATION   29

Definition at line 784 of file smb2pdu.h.

#define FILE_OPEN_BY_FILE_ID_LE   cpu_to_le32(0x00002000)

Definition at line 375 of file smb2pdu.h.

#define FILE_OPEN_FOR_BACKUP_INTENT_LE   cpu_to_le32(0x00004000)

Definition at line 376 of file smb2pdu.h.

#define FILE_OPEN_FOR_FREE_SPACE_QUERY_LE   cpu_to_le32(0x00800000)

Definition at line 381 of file smb2pdu.h.

#define FILE_OPEN_IF_LE   cpu_to_le32(0x00000003)

Definition at line 358 of file smb2pdu.h.

#define FILE_OPEN_LE   cpu_to_le32(0x00000001)

Definition at line 356 of file smb2pdu.h.

#define FILE_OPEN_NO_RECALL_LE   cpu_to_le32(0x00400000)

Definition at line 380 of file smb2pdu.h.

#define FILE_OPEN_REPARSE_POINT_LE   cpu_to_le32(0x00200000)

Definition at line 379 of file smb2pdu.h.

#define FILE_OVERWRITE_IF_LE   cpu_to_le32(0x00000005)

Definition at line 360 of file smb2pdu.h.

#define FILE_OVERWRITE_LE   cpu_to_le32(0x00000004)

Definition at line 359 of file smb2pdu.h.

#define FILE_PIPE_INFORMATION   23

Definition at line 778 of file smb2pdu.h.

#define FILE_PIPE_LOCAL_INFORMATION   24

Definition at line 779 of file smb2pdu.h.

#define FILE_PIPE_REMOTE_INFORMATION   25

Definition at line 780 of file smb2pdu.h.

#define FILE_POSITION_INFORMATION   14

Definition at line 769 of file smb2pdu.h.

#define FILE_QUOTA_INFORMATION   32

Definition at line 787 of file smb2pdu.h.

#define FILE_RANDOM_ACCESS_LE   cpu_to_le32(0x00000800)

Definition at line 373 of file smb2pdu.h.

#define FILE_READ_ATTRIBUTES_LE   cpu_to_le32(0x00000080)

Definition at line 334 of file smb2pdu.h.

#define FILE_READ_CONTROL_LE   cpu_to_le32(0x00020000)

Definition at line 337 of file smb2pdu.h.

#define FILE_READ_DATA_LE   cpu_to_le32(0x00000001)

Definition at line 328 of file smb2pdu.h.

#define FILE_READ_EA_LE   cpu_to_le32(0x00000008)

Definition at line 331 of file smb2pdu.h.

#define FILE_READ_RIGHTS_LE
Value:

Definition at line 383 of file smb2pdu.h.

#define FILE_RENAME_INFORMATION   10

Definition at line 765 of file smb2pdu.h.

#define FILE_REPARSE_POINT_INFORMATION   33

Definition at line 788 of file smb2pdu.h.

#define FILE_RESERVE_OPFILTER_LE   cpu_to_le32(0x00100000)

Definition at line 378 of file smb2pdu.h.

#define FILE_SEQUENTIAL_ONLY_LE   cpu_to_le32(0x00000004)

Definition at line 366 of file smb2pdu.h.

#define FILE_SFIO_RESERVE_INFORMATION   44

Definition at line 796 of file smb2pdu.h.

#define FILE_SFIO_VOLUME_INFORMATION   45

Definition at line 797 of file smb2pdu.h.

#define FILE_SHARE_ALL_LE   cpu_to_le32(0x00000007)

Definition at line 352 of file smb2pdu.h.

#define FILE_SHARE_DELETE_LE   cpu_to_le32(0x00000004)

Definition at line 351 of file smb2pdu.h.

#define FILE_SHARE_READ_LE   cpu_to_le32(0x00000001)

Definition at line 349 of file smb2pdu.h.

#define FILE_SHARE_WRITE_LE   cpu_to_le32(0x00000002)

Definition at line 350 of file smb2pdu.h.

#define FILE_SHORT_NAME_INFORMATION   40

Definition at line 795 of file smb2pdu.h.

#define FILE_STANDARD_INFORMATION   5

Definition at line 760 of file smb2pdu.h.

#define FILE_STANDARD_LINK_INFORMATION   54

Definition at line 801 of file smb2pdu.h.

#define FILE_STREAM_INFORMATION   22

Definition at line 777 of file smb2pdu.h.

#define FILE_SUPERSEDE_LE   cpu_to_le32(0x00000000)

Definition at line 355 of file smb2pdu.h.

#define FILE_SYNCHRONIZE_LE   cpu_to_le32(0x00100000)

Definition at line 340 of file smb2pdu.h.

#define FILE_SYNCHRONOUS_IO_ALERT_LE   cpu_to_le32(0x00000010)

Definition at line 368 of file smb2pdu.h.

#define FILE_SYNCHRONOUS_IO_NON_ALERT_LE   cpu_to_le32(0x00000020)

Definition at line 369 of file smb2pdu.h.

#define FILE_TRACKING_INFORMATION   36

Definition at line 791 of file smb2pdu.h.

#define FILE_VALID_DATA_LENGTH_INFORMATION   39

Definition at line 794 of file smb2pdu.h.

#define FILE_WRITE_ATTRIBUTES_LE   cpu_to_le32(0x00000100)

Definition at line 335 of file smb2pdu.h.

#define FILE_WRITE_DAC_LE   cpu_to_le32(0x00040000)

Definition at line 338 of file smb2pdu.h.

#define FILE_WRITE_DATA_LE   cpu_to_le32(0x00000002)

Definition at line 329 of file smb2pdu.h.

#define FILE_WRITE_EA_LE   cpu_to_le32(0x00000010)

Definition at line 332 of file smb2pdu.h.

#define FILE_WRITE_OWNER_LE   cpu_to_le32(0x00080000)

Definition at line 339 of file smb2pdu.h.

#define FILE_WRITE_RIGHTS_LE
#define FILE_WRITE_THROUGH_LE   cpu_to_le32(0x00000002)

Definition at line 365 of file smb2pdu.h.

#define FILEID_BOTH_DIRECTORY_INFORMATION   37

Definition at line 792 of file smb2pdu.h.

#define FILEID_FULL_DIRECTORY_INFORMATION   38

Definition at line 793 of file smb2pdu.h.

#define FILEID_GLOBAL_TX_DIRECTORY_INFORMATION   50

Definition at line 800 of file smb2pdu.h.

#define FS_ATTRIBUTE_INFORMATION   5 /* Query */

Definition at line 741 of file smb2pdu.h.

#define FS_CONTROL_INFORMATION   6 /* Query, Set */

Definition at line 742 of file smb2pdu.h.

#define FS_DEVICE_INFORMATION   4 /* Query */

Definition at line 740 of file smb2pdu.h.

#define FS_DRIVER_PATH_INFORMATION   9 /* Query */

Definition at line 745 of file smb2pdu.h.

#define FS_FULL_SIZE_INFORMATION   7 /* Query */

Definition at line 743 of file smb2pdu.h.

#define FS_LABEL_INFORMATION   2 /* Set */

Definition at line 738 of file smb2pdu.h.

#define FS_OBJECT_ID_INFORMATION   8 /* Query, Set */

Definition at line 744 of file smb2pdu.h.

#define FS_SIZE_INFORMATION   3 /* Query */

Definition at line 739 of file smb2pdu.h.

#define FS_VOLUME_INFORMATION   1 /* Query */

Definition at line 737 of file smb2pdu.h.

#define IL_ANONYMOUS   cpu_to_le32(0x00000000)

Definition at line 390 of file smb2pdu.h.

#define IL_DELEGATE   cpu_to_le32(0x00000003)

Definition at line 393 of file smb2pdu.h.

#define IL_IDENTIFICATION   cpu_to_le32(0x00000001)

Definition at line 391 of file smb2pdu.h.

#define IL_IMPERSONATION   cpu_to_le32(0x00000002)

Definition at line 392 of file smb2pdu.h.

#define MAX_SMB2_HDR_SIZE   0x78 /* 4 len + 64 hdr + (2*24 wct) + 2 bct + 2 pad */

Definition at line 86 of file smb2pdu.h.

#define NUMBER_OF_SMB2_COMMANDS   0x0013

Definition at line 83 of file smb2pdu.h.

#define SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM   0x00000800

Definition at line 284 of file smb2pdu.h.

#define SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING   0x00000400

Definition at line 283 of file smb2pdu.h.

#define SHI1005_FLAGS_DFS   0x00000001

Definition at line 279 of file smb2pdu.h.

#define SHI1005_FLAGS_DFS_ROOT   0x00000002

Definition at line 280 of file smb2pdu.h.

#define SHI1005_FLAGS_ENABLE_HASH   0x00002000

Definition at line 286 of file smb2pdu.h.

#define SHI1005_FLAGS_FORCE_LEVELII_OPLOCK   0x00001000

Definition at line 285 of file smb2pdu.h.

#define SHI1005_FLAGS_FORCE_SHARED_DELETE   0x00000200

Definition at line 282 of file smb2pdu.h.

#define SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS   0x00000100

Definition at line 281 of file smb2pdu.h.

#define SMB20_PROT_ID   0x0202

Definition at line 170 of file smb2pdu.h.

#define SMB21_PROT_ID   0x0210

Definition at line 171 of file smb2pdu.h.

#define SMB2_CANCEL   cpu_to_le16(SMB2_CANCEL_HE)

Definition at line 75 of file smb2pdu.h.

#define SMB2_CANCEL_HE   0x000C

Definition at line 54 of file smb2pdu.h.

#define SMB2_CHANGE_NOTIFY   cpu_to_le16(SMB2_CHANGE_NOTIFY_HE)

Definition at line 78 of file smb2pdu.h.

#define SMB2_CHANGE_NOTIFY_HE   0x000F

Definition at line 57 of file smb2pdu.h.

#define SMB2_CLIENT_GUID_SIZE   16

Definition at line 153 of file smb2pdu.h.

#define SMB2_CLOSE   cpu_to_le16(SMB2_CLOSE_HE)

Definition at line 69 of file smb2pdu.h.

#define SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB   cpu_to_le16(0x0001)

Definition at line 481 of file smb2pdu.h.

#define SMB2_CLOSE_HE   0x0006

Definition at line 48 of file smb2pdu.h.

#define SMB2_CREATE   cpu_to_le16(SMB2_CREATE_HE)

Definition at line 68 of file smb2pdu.h.

#define SMB2_CREATE_ALLOCATION_SIZE   "AlSi"

Definition at line 400 of file smb2pdu.h.

#define SMB2_CREATE_DURABLE_HANDLE_RECONNECT   "DHnC"

Definition at line 399 of file smb2pdu.h.

#define SMB2_CREATE_DURABLE_HANDLE_REQUEST   "DHnQ"

Definition at line 398 of file smb2pdu.h.

#define SMB2_CREATE_EA_BUFFER   "ExtA" /* extended attributes */

Definition at line 396 of file smb2pdu.h.

#define SMB2_CREATE_HE   0x0005

Definition at line 47 of file smb2pdu.h.

#define SMB2_CREATE_QUERY_MAXIMAL_ACCESS_REQUEST   "MxAc"

Definition at line 401 of file smb2pdu.h.

#define SMB2_CREATE_QUERY_ON_DISK_ID   "QFid"

Definition at line 403 of file smb2pdu.h.

#define SMB2_CREATE_REQUEST_LEASE   "RqLs"

Definition at line 404 of file smb2pdu.h.

#define SMB2_CREATE_SD_BUFFER   "SecD" /* security descriptor */

Definition at line 397 of file smb2pdu.h.

#define SMB2_CREATE_TIMEWARP_REQUEST   "TWrp"

Definition at line 402 of file smb2pdu.h.

#define SMB2_ECHO   cpu_to_le16(SMB2_ECHO_HE)

Definition at line 76 of file smb2pdu.h.

#define SMB2_ECHO_HE   0x000D

Definition at line 55 of file smb2pdu.h.

#define SMB2_ERROR_STRUCTURE_SIZE2   __constant_cpu_to_le16(9)

Definition at line 143 of file smb2pdu.h.

#define SMB2_FLAGS_ASYNC_COMMAND   __constant_cpu_to_le32(0x00000002)

Definition at line 129 of file smb2pdu.h.

#define SMB2_FLAGS_DFS_OPERATIONS   __constant_cpu_to_le32(0x10000000)

Definition at line 132 of file smb2pdu.h.

#define SMB2_FLAGS_RELATED_OPERATIONS   __constant_cpu_to_le32(0x00000004)

Definition at line 130 of file smb2pdu.h.

#define SMB2_FLAGS_SERVER_TO_REDIR   __constant_cpu_to_le32(0x00000001)

Definition at line 128 of file smb2pdu.h.

#define SMB2_FLAGS_SIGNED   __constant_cpu_to_le32(0x00000008)

Definition at line 131 of file smb2pdu.h.

#define SMB2_FLUSH   cpu_to_le16(SMB2_FLUSH_HE)

Definition at line 70 of file smb2pdu.h.

#define SMB2_FLUSH_HE   0x0007 /* trivial resp */

Definition at line 49 of file smb2pdu.h.

#define SMB2_GLOBAL_CAP_DFS   0x00000001

Definition at line 179 of file smb2pdu.h.

#define SMB2_GLOBAL_CAP_DIRECTORY_LEASING   0x00000020 /* New to SMB3 */

Definition at line 184 of file smb2pdu.h.

#define SMB2_GLOBAL_CAP_ENCRYPTION   0x00000040 /* New to SMB3 */

Definition at line 185 of file smb2pdu.h.

#define SMB2_GLOBAL_CAP_LARGE_MTU   0X00000004 /* Resp only New to SMB2.1 */

Definition at line 181 of file smb2pdu.h.

#define SMB2_GLOBAL_CAP_LEASING   0x00000002 /* Resp only New to SMB2.1 */

Definition at line 180 of file smb2pdu.h.

#define SMB2_GLOBAL_CAP_MULTI_CHANNEL   0x00000008 /* New to SMB3 */

Definition at line 182 of file smb2pdu.h.

#define SMB2_GLOBAL_CAP_PERSISTENT_HANDLES   0x00000010 /* New to SMB3 */

Definition at line 183 of file smb2pdu.h.

#define SMB2_HEADER_STRUCTURE_SIZE   __constant_cpu_to_le16(64)

Definition at line 99 of file smb2pdu.h.

#define SMB2_INDEX_SPECIFIED   0x04

Definition at line 622 of file smb2pdu.h.

#define SMB2_IOCTL   cpu_to_le16(SMB2_IOCTL_HE)

Definition at line 74 of file smb2pdu.h.

#define SMB2_IOCTL_HE   0x000B

Definition at line 53 of file smb2pdu.h.

#define SMB2_LARGE_FILES   0x00200000

Definition at line 188 of file smb2pdu.h.

#define SMB2_LEASE_FLAG_BREAK_IN_PROGRESS   __constant_cpu_to_le32(0x02)

Definition at line 462 of file smb2pdu.h.

#define SMB2_LEASE_HANDLE_CACHING   __constant_cpu_to_le32(0x02)

Definition at line 459 of file smb2pdu.h.

#define SMB2_LEASE_KEY_SIZE   16

Definition at line 464 of file smb2pdu.h.

#define SMB2_LEASE_NONE   __constant_cpu_to_le32(0x00)

Definition at line 457 of file smb2pdu.h.

#define SMB2_LEASE_READ_CACHING   __constant_cpu_to_le32(0x01)

Definition at line 458 of file smb2pdu.h.

#define SMB2_LEASE_WRITE_CACHING   __constant_cpu_to_le32(0x04)

Definition at line 460 of file smb2pdu.h.

#define SMB2_LOCK   cpu_to_le16(SMB2_LOCK_HE)

Definition at line 73 of file smb2pdu.h.

#define SMB2_LOCK_HE   0x000A

Definition at line 52 of file smb2pdu.h.

#define SMB2_LOCKFLAG_EXCLUSIVE_LOCK   0x0002

Definition at line 579 of file smb2pdu.h.

#define SMB2_LOCKFLAG_FAIL_IMMEDIATELY   0x0010

Definition at line 581 of file smb2pdu.h.

#define SMB2_LOCKFLAG_SHARED_LOCK   0x0001

Definition at line 578 of file smb2pdu.h.

#define SMB2_LOCKFLAG_UNLOCK   0x0004

Definition at line 580 of file smb2pdu.h.

#define SMB2_LOGOFF   cpu_to_le16(SMB2_LOGOFF_HE)

Definition at line 65 of file smb2pdu.h.

#define SMB2_LOGOFF_HE   0x0002 /* trivial request/resp */

Definition at line 44 of file smb2pdu.h.

#define SMB2_NEGOTIATE   cpu_to_le16(SMB2_NEGOTIATE_HE)

Definition at line 63 of file smb2pdu.h.

#define SMB2_NEGOTIATE_HE   0x0000

Definition at line 42 of file smb2pdu.h.

#define SMB2_NEGOTIATE_SIGNING_ENABLED   0x0001

Definition at line 176 of file smb2pdu.h.

#define SMB2_NEGOTIATE_SIGNING_REQUIRED   0x0002

Definition at line 177 of file smb2pdu.h.

#define SMB2_NOTIFY_BREAK_LEASE_FLAG_ACK_REQUIRED   cpu_to_le32(0x01)

Definition at line 706 of file smb2pdu.h.

#define SMB2_NT_FIND   0x00100000

Definition at line 187 of file smb2pdu.h.

#define SMB2_O_INFO_FILE   0x01

Definition at line 648 of file smb2pdu.h.

#define SMB2_O_INFO_FILESYSTEM   0x02

Definition at line 649 of file smb2pdu.h.

#define SMB2_O_INFO_QUOTA   0x04

Definition at line 651 of file smb2pdu.h.

#define SMB2_O_INFO_SECURITY   0x03

Definition at line 650 of file smb2pdu.h.

#define SMB2_OPLOCK_BREAK   cpu_to_le16(SMB2_OPLOCK_BREAK_HE)

Definition at line 81 of file smb2pdu.h.

#define SMB2_OPLOCK_BREAK_HE   0x0012

Definition at line 60 of file smb2pdu.h.

#define SMB2_OPLOCK_LEVEL_BATCH   0x09

Definition at line 322 of file smb2pdu.h.

#define SMB2_OPLOCK_LEVEL_EXCLUSIVE   0x08

Definition at line 321 of file smb2pdu.h.

#define SMB2_OPLOCK_LEVEL_II   0x01

Definition at line 320 of file smb2pdu.h.

#define SMB2_OPLOCK_LEVEL_LEASE   0xFF

Definition at line 323 of file smb2pdu.h.

#define SMB2_OPLOCK_LEVEL_NOCHANGE   0x99

Definition at line 325 of file smb2pdu.h.

#define SMB2_OPLOCK_LEVEL_NONE   0x00

Definition at line 319 of file smb2pdu.h.

#define SMB2_PROTO_NUMBER   __constant_cpu_to_le32(0x424d53fe)

Definition at line 88 of file smb2pdu.h.

#define SMB2_QUERY_DIRECTORY   cpu_to_le16(SMB2_QUERY_DIRECTORY_HE)

Definition at line 77 of file smb2pdu.h.

#define SMB2_QUERY_DIRECTORY_HE   0x000E

Definition at line 56 of file smb2pdu.h.

#define SMB2_QUERY_INFO   cpu_to_le16(SMB2_QUERY_INFO_HE)

Definition at line 79 of file smb2pdu.h.

#define SMB2_QUERY_INFO_HE   0x0010

Definition at line 58 of file smb2pdu.h.

#define SMB2_READ   cpu_to_le16(SMB2_READ_HE)

Definition at line 71 of file smb2pdu.h.

#define SMB2_READ_HE   0x0008

Definition at line 50 of file smb2pdu.h.

#define SMB2_REOPEN   0x10

Definition at line 623 of file smb2pdu.h.

#define SMB2_RESTART_SCANS   0x01

Definition at line 620 of file smb2pdu.h.

#define SMB2_RETURN_SINGLE_ENTRY   0x02

Definition at line 621 of file smb2pdu.h.

#define SMB2_SESSION_FLAG_IS_GUEST   0x0001

Definition at line 223 of file smb2pdu.h.

#define SMB2_SESSION_FLAG_IS_NULL   0x0002

Definition at line 224 of file smb2pdu.h.

#define SMB2_SESSION_SETUP   cpu_to_le16(SMB2_SESSION_SETUP_HE)

Definition at line 64 of file smb2pdu.h.

#define SMB2_SESSION_SETUP_HE   0x0001

Definition at line 43 of file smb2pdu.h.

#define SMB2_SET_INFO   cpu_to_le16(SMB2_SET_INFO_HE)

Definition at line 80 of file smb2pdu.h.

#define SMB2_SET_INFO_HE   0x0011

Definition at line 59 of file smb2pdu.h.

#define SMB2_SHARE_CAP_DFS   cpu_to_le32(0x00000008)

Definition at line 289 of file smb2pdu.h.

#define SMB2_SHARE_TYPE_DISK   0x01

Definition at line 266 of file smb2pdu.h.

#define SMB2_SHARE_TYPE_PIPE   0x02

Definition at line 267 of file smb2pdu.h.

#define SMB2_SHARE_TYPE_PRINT   0x03

Definition at line 268 of file smb2pdu.h.

#define SMB2_SHAREFLAG_AUTO_CACHING   0x00000010

Definition at line 276 of file smb2pdu.h.

#define SMB2_SHAREFLAG_MANUAL_CACHING   0x00000000

Definition at line 275 of file smb2pdu.h.

#define SMB2_SHAREFLAG_NO_CACHING   0x00000030

Definition at line 278 of file smb2pdu.h.

#define SMB2_SHAREFLAG_VDO_CACHING   0x00000020

Definition at line 277 of file smb2pdu.h.

#define SMB2_TREE_CONNECT   cpu_to_le16(SMB2_TREE_CONNECT_HE)

Definition at line 66 of file smb2pdu.h.

#define SMB2_TREE_CONNECT_HE   0x0003

Definition at line 45 of file smb2pdu.h.

#define SMB2_TREE_DISCONNECT   cpu_to_le16(SMB2_TREE_DISCONNECT_HE)

Definition at line 67 of file smb2pdu.h.

#define SMB2_TREE_DISCONNECT_HE   0x0004 /* trivial req/resp */

Definition at line 46 of file smb2pdu.h.

#define SMB2_WRITE   cpu_to_le16(SMB2_WRITE_HE)

Definition at line 72 of file smb2pdu.h.

#define SMB2_WRITE_HE   0x0009

Definition at line 51 of file smb2pdu.h.

#define SMB2_WRITEFLAG_WRITE_THROUGH   0x00000001

Definition at line 549 of file smb2pdu.h.

#define SMB30_PROT_ID   0x0300

Definition at line 172 of file smb2pdu.h.

Variable Documentation

__u8 cifs_client_guid[SMB2_CLIENT_GUID_SIZE]