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

Go to the source code of this file.

Data Structures

struct  smb_hdr
 
struct  negotiate_req
 
struct  lanman_neg_rsp
 
struct  negotiate_rsp
 
union  smb_com_session_setup_andx
 
struct  ntlmssp2_name
 
struct  ntlmv2_resp
 
struct  smb_com_tconx_req
 
struct  smb_com_tconx_rsp
 
struct  smb_com_tconx_rsp_ext
 
struct  smb_com_echo_req
 
struct  smb_com_echo_rsp
 
struct  smb_com_logoff_andx_req
 
struct  smb_com_logoff_andx_rsp
 
union  smb_com_tree_disconnect
 
struct  smb_com_close_req
 
struct  smb_com_close_rsp
 
struct  smb_com_flush_req
 
struct  smb_com_findclose_req
 
struct  smb_com_open_req
 
struct  smb_com_open_rsp
 
struct  smb_com_open_rsp_ext
 
struct  smb_com_openx_req
 
struct  smb_com_openx_rsp
 
struct  smb_com_writex_req
 
struct  smb_com_write_req
 
struct  smb_com_write_rsp
 
struct  smb_com_readx_req
 
struct  smb_com_read_req
 
struct  smb_com_read_rsp
 
struct  locking_andx_range
 
struct  smb_com_lock_req
 
struct  cifs_posix_lock
 
struct  smb_com_lock_rsp
 
struct  smb_com_rename_req
 
struct  smb_com_copy_req
 
struct  smb_com_copy_rsp
 
struct  smb_com_nt_rename_req
 
struct  smb_com_rename_rsp
 
struct  smb_com_delete_file_req
 
struct  smb_com_delete_file_rsp
 
struct  smb_com_delete_directory_req
 
struct  smb_com_delete_directory_rsp
 
struct  smb_com_create_directory_req
 
struct  smb_com_create_directory_rsp
 
struct  smb_com_query_information_req
 
struct  smb_com_query_information_rsp
 
struct  smb_com_setattr_req
 
struct  smb_com_setattr_rsp
 
struct  smb_com_ntransact_req
 
struct  smb_com_ntransact_rsp
 
struct  smb_com_transaction_ioctl_req
 
struct  smb_com_transaction_ioctl_rsp
 
struct  smb_com_transaction_qsec_req
 
struct  smb_com_transaction_ssec_req
 
struct  smb_com_transaction_change_notify_req
 
struct  smb_com_transaction_change_notify_rsp
 
struct  file_notify_information
 
struct  reparse_data
 
struct  cifs_quota_data
 
struct  trans2_req
 
struct  smb_t2_req
 
struct  trans2_resp
 
struct  smb_t2_rsp
 
struct  smb_com_transaction2_qpi_req
 
struct  smb_com_transaction2_qpi_rsp
 
struct  smb_com_transaction2_spi_req
 
struct  smb_com_transaction2_spi_rsp
 
struct  set_file_rename
 
struct  smb_com_transaction2_sfi_req
 
struct  smb_com_transaction2_sfi_rsp
 
struct  smb_t2_qfi_req
 
struct  smb_t2_qfi_rsp
 
struct  smb_com_transaction2_ffirst_req
 
struct  smb_com_transaction2_ffirst_rsp
 
struct  smb_com_transaction2_ffirst_rsp_parms
 
struct  smb_com_transaction2_fnext_req
 
struct  smb_com_transaction2_fnext_rsp
 
struct  smb_com_transaction2_fnext_rsp_parms
 
struct  smb_com_transaction2_qfsi_req
 
struct  smb_com_transaction_qfsi_rsp
 
struct  whoami_rsp_data
 
struct  smb_com_transaction2_setfsi_req
 
struct  smb_com_transaction2_setfs_enc_req
 
struct  smb_com_transaction2_setfsi_rsp
 
struct  smb_com_transaction2_get_dfs_refer_req
 
struct  dfs_referral_level_3
 
struct  smb_com_transaction_get_dfs_refer_rsp
 
struct  serverInfo
 
struct  shareInfo
 
struct  aliasInfo
 
struct  aliasInfo92
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  file_allocation_info
 
struct  file_end_of_file_info
 
struct  file_alt_name_info
 
struct  file_stream_info
 
struct  file_compression_info
 
struct  cifs_posix_ace
 
struct  cifs_posix_acl
 
struct  __attribute__
 
struct  __attribute__
 
struct  unlink_psx_rq
 
struct  file_internal_info
 
struct  file_mode_info
 
struct  file_attrib_tag
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  __attribute__
 
struct  win_dev
 
struct  gea
 
struct  gealist
 
struct  fea
 
struct  fealist
 
struct  data_blob
 

Macros

#define CIFS_PROT   0
 
#define POSIX_PROT   (CIFS_PROT+1)
 
#define BAD_PROT   0xFFFF
 
#define SMB_COM_CREATE_DIRECTORY   0x00 /* trivial response */
 
#define SMB_COM_DELETE_DIRECTORY   0x01 /* trivial response */
 
#define SMB_COM_CLOSE   0x04 /* triv req/rsp, timestamp ignored */
 
#define SMB_COM_FLUSH   0x05 /* triv req/rsp */
 
#define SMB_COM_DELETE   0x06 /* trivial response */
 
#define SMB_COM_RENAME   0x07 /* trivial response */
 
#define SMB_COM_QUERY_INFORMATION   0x08 /* aka getattr */
 
#define SMB_COM_SETATTR   0x09 /* trivial response */
 
#define SMB_COM_LOCKING_ANDX   0x24 /* trivial response */
 
#define SMB_COM_COPY   0x29 /* trivial rsp, fail filename ignrd*/
 
#define SMB_COM_ECHO   0x2B /* echo request */
 
#define SMB_COM_OPEN_ANDX   0x2D /* Legacy open for old servers */
 
#define SMB_COM_READ_ANDX   0x2E
 
#define SMB_COM_WRITE_ANDX   0x2F
 
#define SMB_COM_TRANSACTION2   0x32
 
#define SMB_COM_TRANSACTION2_SECONDARY   0x33
 
#define SMB_COM_FIND_CLOSE2   0x34 /* trivial response */
 
#define SMB_COM_TREE_DISCONNECT   0x71 /* trivial response */
 
#define SMB_COM_NEGOTIATE   0x72
 
#define SMB_COM_SESSION_SETUP_ANDX   0x73
 
#define SMB_COM_LOGOFF_ANDX   0x74 /* trivial response */
 
#define SMB_COM_TREE_CONNECT_ANDX   0x75
 
#define SMB_COM_NT_TRANSACT   0xA0
 
#define SMB_COM_NT_TRANSACT_SECONDARY   0xA1
 
#define SMB_COM_NT_CREATE_ANDX   0xA2
 
#define SMB_COM_NT_CANCEL   0xA4 /* no response */
 
#define SMB_COM_NT_RENAME   0xA5 /* trivial response */
 
#define TRANS2_OPEN   0x00
 
#define TRANS2_FIND_FIRST   0x01
 
#define TRANS2_FIND_NEXT   0x02
 
#define TRANS2_QUERY_FS_INFORMATION   0x03
 
#define TRANS2_SET_FS_INFORMATION   0x04
 
#define TRANS2_QUERY_PATH_INFORMATION   0x05
 
#define TRANS2_SET_PATH_INFORMATION   0x06
 
#define TRANS2_QUERY_FILE_INFORMATION   0x07
 
#define TRANS2_SET_FILE_INFORMATION   0x08
 
#define TRANS2_GET_DFS_REFERRAL   0x10
 
#define TRANS2_REPORT_DFS_INCOSISTENCY   0x11
 
#define TRANS_SET_NMPIPE_STATE   0x0001
 
#define TRANS_RAW_READ_NMPIPE   0x0011
 
#define TRANS_QUERY_NMPIPE_STATE   0x0021
 
#define TRANS_QUERY_NMPIPE_INFO   0x0022
 
#define TRANS_PEEK_NMPIPE   0x0023
 
#define TRANS_TRANSACT_NMPIPE   0x0026
 
#define TRANS_RAW_WRITE_NMPIPE   0x0031
 
#define TRANS_READ_NMPIPE   0x0036
 
#define TRANS_WRITE_NMPIPE   0x0037
 
#define TRANS_WAIT_NMPIPE   0x0053
 
#define TRANS_CALL_NMPIPE   0x0054
 
#define NT_TRANSACT_CREATE   0x01
 
#define NT_TRANSACT_IOCTL   0x02
 
#define NT_TRANSACT_SET_SECURITY_DESC   0x03
 
#define NT_TRANSACT_NOTIFY_CHANGE   0x04
 
#define NT_TRANSACT_RENAME   0x05
 
#define NT_TRANSACT_QUERY_SECURITY_DESC   0x06
 
#define NT_TRANSACT_GET_USER_QUOTA   0x07
 
#define NT_TRANSACT_SET_USER_QUOTA   0x08
 
#define MAX_CIFS_SMALL_BUFFER_SIZE   448 /* big enough for most */
 
#define MAX_CIFS_HDR_SIZE   0x58 /* 4 len + 32 hdr + (2*24 wct) + 2 bct + 2 pad */
 
#define CIFS_SMALL_PATH   120 /* allows for (448-88)/3 */
 
#define CIFS_MAX_MSGSIZE   (4*4096)
 
#define CIFS_ENCPWD_SIZE   (16)
 
#define CIFS_CRYPTO_KEY_SIZE   (8)
 
#define CIFS_AUTH_RESP_SIZE   (24)
 
#define CIFS_SESS_KEY_SIZE   (16)
 
#define CIFS_CLIENT_CHALLENGE_SIZE   (8)
 
#define CIFS_SERVER_CHALLENGE_SIZE   (8)
 
#define CIFS_HMAC_MD5_HASH_SIZE   (16)
 
#define CIFS_CPHTXT_SIZE   (16)
 
#define CIFS_NTHASH_SIZE   (16)
 
#define CIFS_UNLEN   (20)
 
#define SMBOPEN_WRITE_THROUGH   0x4000
 
#define SMBOPEN_DENY_ALL   0x0010
 
#define SMBOPEN_DENY_WRITE   0x0020
 
#define SMBOPEN_DENY_READ   0x0030
 
#define SMBOPEN_DENY_NONE   0x0040
 
#define SMBOPEN_READ   0x0000
 
#define SMBOPEN_WRITE   0x0001
 
#define SMBOPEN_READWRITE   0x0002
 
#define SMBOPEN_EXECUTE   0x0003
 
#define SMBOPEN_OCREATE   0x0010
 
#define SMBOPEN_OTRUNC   0x0002
 
#define SMBOPEN_OAPPEND   0x0001
 
#define SMBFLG_EXTD_LOCK   0x01 /* server supports lock-read write-unlock smb */
 
#define SMBFLG_RCV_POSTED   0x02 /* obsolete */
 
#define SMBFLG_RSVD   0x04
 
#define SMBFLG_CASELESS
 
#define SMBFLG_CANONICAL_PATH_FORMAT   0x10 /* obsolete */
 
#define SMBFLG_OLD_OPLOCK   0x20 /* obsolete */
 
#define SMBFLG_OLD_OPLOCK_NOTIFY   0x40 /* obsolete */
 
#define SMBFLG_RESPONSE   0x80 /* this PDU is a response from server */
 
#define SMBFLG2_KNOWS_LONG_NAMES
 
#define SMBFLG2_KNOWS_EAS   cpu_to_le16(2)
 
#define SMBFLG2_SECURITY_SIGNATURE   cpu_to_le16(4)
 
#define SMBFLG2_COMPRESSED   (8)
 
#define SMBFLG2_SECURITY_SIGNATURE_REQUIRED   (0x10)
 
#define SMBFLG2_IS_LONG_NAME   cpu_to_le16(0x40)
 
#define SMBFLG2_REPARSE_PATH   (0x400)
 
#define SMBFLG2_EXT_SEC   cpu_to_le16(0x800)
 
#define SMBFLG2_DFS   cpu_to_le16(0x1000)
 
#define SMBFLG2_PAGING_IO   cpu_to_le16(0x2000)
 
#define SMBFLG2_ERR_STATUS   cpu_to_le16(0x4000)
 
#define SMBFLG2_UNICODE   cpu_to_le16(0x8000)
 
#define FILE_READ_DATA   0x00000001 /* Data can be read from the file */
 
#define FILE_WRITE_DATA   0x00000002 /* Data can be written to the file */
 
#define FILE_APPEND_DATA   0x00000004 /* Data can be appended to the file */
 
#define FILE_READ_EA   0x00000008 /* Extended attributes associated */
 
#define FILE_WRITE_EA   0x00000010 /* Extended attributes associated */
 
#define FILE_EXECUTE   0x00000020 /*Data can be read into memory from */
 
#define FILE_DELETE_CHILD   0x00000040
 
#define FILE_READ_ATTRIBUTES   0x00000080 /* Attributes associated with the */
 
#define FILE_WRITE_ATTRIBUTES   0x00000100 /* Attributes associated with the */
 
#define DELETE   0x00010000 /* The file can be deleted */
 
#define READ_CONTROL   0x00020000 /* The access control list and */
 
#define WRITE_DAC   0x00040000 /* The access control list and */
 
#define WRITE_OWNER   0x00080000 /* Ownership information associated */
 
#define SYNCHRONIZE   0x00100000 /* The file handle can waited on to */
 
#define GENERIC_ALL   0x10000000
 
#define GENERIC_EXECUTE   0x20000000
 
#define GENERIC_WRITE   0x40000000
 
#define GENERIC_READ   0x80000000
 
#define FILE_READ_RIGHTS   (FILE_READ_DATA | FILE_READ_EA | FILE_READ_ATTRIBUTES)
 
#define FILE_WRITE_RIGHTS
 
#define FILE_EXEC_RIGHTS   (FILE_EXECUTE)
 
#define SET_FILE_READ_RIGHTS
 
#define SET_FILE_WRITE_RIGHTS
 
#define SET_FILE_EXEC_RIGHTS
 
#define SET_MINIMUM_RIGHTS
 
#define CIFS_NO_HANDLE   0xFFFF
 
#define NO_CHANGE_64   0xFFFFFFFFFFFFFFFFULL
 
#define NO_CHANGE_32   0xFFFFFFFFUL
 
#define CIFS_IPC_RESOURCE   "\x49\x50\x43\x24"
 
#define CIFS_IPC_UNICODE_RESOURCE   "\x00\x49\x00\x50\x00\x43\x00\x24\x00\x00"
 
#define UNICODE_NULL   "\x00\x00"
 
#define ASCII_NULL   0x00
 
#define CIFS_SV_TYPE_DC   0x00000008
 
#define CIFS_SV_TYPE_BACKDC   0x00000010
 
#define CIFS_ALIAS_TYPE_FILE   0x0001
 
#define CIFS_SHARE_TYPE_FILE   0x0000
 
#define ATTR_READONLY   0x0001
 
#define ATTR_HIDDEN   0x0002
 
#define ATTR_SYSTEM   0x0004
 
#define ATTR_VOLUME   0x0008
 
#define ATTR_DIRECTORY   0x0010
 
#define ATTR_ARCHIVE   0x0020
 
#define ATTR_DEVICE   0x0040
 
#define ATTR_NORMAL   0x0080
 
#define ATTR_TEMPORARY   0x0100
 
#define ATTR_SPARSE   0x0200
 
#define ATTR_REPARSE   0x0400
 
#define ATTR_COMPRESSED   0x0800
 
#define ATTR_OFFLINE
 
#define ATTR_NOT_CONTENT_INDEXED   0x2000
 
#define ATTR_ENCRYPTED   0x4000
 
#define ATTR_POSIX_SEMANTICS   0x01000000
 
#define ATTR_BACKUP_SEMANTICS   0x02000000
 
#define ATTR_DELETE_ON_CLOSE   0x04000000
 
#define ATTR_SEQUENTIAL_SCAN   0x08000000
 
#define ATTR_RANDOM_ACCESS   0x10000000
 
#define ATTR_NO_BUFFERING   0x20000000
 
#define ATTR_WRITE_THROUGH   0x80000000
 
#define FILE_NO_SHARE   0x00000000
 
#define FILE_SHARE_READ   0x00000001
 
#define FILE_SHARE_WRITE   0x00000002
 
#define FILE_SHARE_DELETE   0x00000004
 
#define FILE_SHARE_ALL   0x00000007
 
#define FILE_SUPERSEDE   0x00000000
 
#define FILE_OPEN   0x00000001
 
#define FILE_CREATE   0x00000002
 
#define FILE_OPEN_IF   0x00000003
 
#define FILE_OVERWRITE   0x00000004
 
#define FILE_OVERWRITE_IF   0x00000005
 
#define CREATE_NOT_FILE   0x00000001 /* if set must not be file */
 
#define CREATE_WRITE_THROUGH   0x00000002
 
#define CREATE_SEQUENTIAL   0x00000004
 
#define CREATE_NO_BUFFER   0x00000008 /* should not buffer on srv */
 
#define CREATE_SYNC_ALERT   0x00000010 /* MBZ */
 
#define CREATE_ASYNC_ALERT   0x00000020 /* MBZ */
 
#define CREATE_NOT_DIR   0x00000040 /* if set must not be directory */
 
#define CREATE_TREE_CONNECTION   0x00000080 /* should be zero */
 
#define CREATE_COMPLETE_IF_OPLK   0x00000100 /* should be zero */
 
#define CREATE_NO_EA_KNOWLEDGE   0x00000200
 
#define CREATE_EIGHT_DOT_THREE
 
#define CREATE_OPEN_FOR_RECOVERY   0x00000400
 
#define CREATE_RANDOM_ACCESS   0x00000800
 
#define CREATE_DELETE_ON_CLOSE   0x00001000
 
#define CREATE_OPEN_BY_ID   0x00002000
 
#define CREATE_OPEN_BACKUP_INTENT   0x00004000
 
#define CREATE_NO_COMPRESSION   0x00008000
 
#define CREATE_RESERVE_OPFILTER   0x00100000 /* should be zero */
 
#define OPEN_REPARSE_POINT   0x00200000
 
#define OPEN_NO_RECALL   0x00400000
 
#define OPEN_FREE_SPACE_QUERY   0x00800000 /* should be zero */
 
#define CREATE_OPTIONS_MASK   0x007FFFFF
 
#define CREATE_OPTION_READONLY   0x10000000
 
#define CREATE_OPTION_SPECIAL   0x20000000 /* system. NB not sent over wire */
 
#define SECURITY_ANONYMOUS   0
 
#define SECURITY_IDENTIFICATION   1
 
#define SECURITY_IMPERSONATION   2
 
#define SECURITY_DELEGATION   3
 
#define SECURITY_CONTEXT_TRACKING   0x01
 
#define SECURITY_EFFECTIVE_ONLY   0x02
 
#define CIFS_DFT_PID   0x1234
 
#define CIFS_COPY_OP   1
 
#define CIFS_RENAME_OP   2
 
#define GETU16(var)   (*((__u16 *)var)) /* BB check for endian issues */
 
#define GETU32(var)   (*((__u32 *)var)) /* BB check for endian issues */
 
#define pByteArea(smb_var)   (BCC(smb_var) + 2)
 
#define CNLEN   15
 
#define MAXCOMMENTLEN   40
 
#define MAX_PATHCONF   256
 
#define MIN_TZ_ADJ   (15 * 60) /* minimum grid for timezones in seconds */
 
#define READ_RAW_ENABLE   1
 
#define WRITE_RAW_ENABLE   2
 
#define RAW_ENABLE   (READ_RAW_ENABLE | WRITE_RAW_ENABLE)
 
#define SECMODE_USER   0x01 /* off indicates share level security */
 
#define SECMODE_PW_ENCRYPT   0x02
 
#define SECMODE_SIGN_ENABLED   0x04 /* SMB security signatures enabled */
 
#define SECMODE_SIGN_REQUIRED   0x08 /* SMB security signatures required */
 
#define CAP_RAW_MODE   0x00000001
 
#define CAP_MPX_MODE   0x00000002
 
#define CAP_UNICODE   0x00000004
 
#define CAP_LARGE_FILES   0x00000008
 
#define CAP_NT_SMBS   0x00000010 /* implies CAP_NT_FIND */
 
#define CAP_RPC_REMOTE_APIS   0x00000020
 
#define CAP_STATUS32   0x00000040
 
#define CAP_LEVEL_II_OPLOCKS   0x00000080
 
#define CAP_LOCK_AND_READ   0x00000100
 
#define CAP_NT_FIND   0x00000200
 
#define CAP_DFS   0x00001000
 
#define CAP_INFOLEVEL_PASSTHRU   0x00002000
 
#define CAP_LARGE_READ_X   0x00004000
 
#define CAP_LARGE_WRITE_X   0x00008000
 
#define CAP_LWIO   0x00010000 /* support fctl_srv_req_resume_key */
 
#define CAP_UNIX   0x00800000
 
#define CAP_COMPRESSED_DATA   0x02000000
 
#define CAP_DYNAMIC_REAUTH   0x20000000
 
#define CAP_PERSISTENT_HANDLES   0x40000000
 
#define CAP_EXTENDED_SECURITY   0x80000000
 
#define NTLMSSP_SERVER_TYPE   1
 
#define NTLMSSP_DOMAIN_TYPE   2
 
#define NTLMSSP_FQ_DOMAIN_TYPE   3
 
#define NTLMSSP_DNS_DOMAIN_TYPE   4
 
#define NTLMSSP_DNS_PARENT_TYPE   5
 
#define CIFS_NETWORK_OPSYS   "CIFS VFS Client for Linux"
 
#define CAP_UNICODE   0x00000004
 
#define CAP_LARGE_FILES   0x00000008
 
#define CAP_NT_SMBS   0x00000010
 
#define CAP_STATUS32   0x00000040
 
#define CAP_LEVEL_II_OPLOCKS   0x00000080
 
#define CAP_NT_FIND
 
#define CAP_BULK_TRANSFER   0x20000000
 
#define CAP_EXTENDED_SECURITY   0x80000000
 
#define GUEST_LOGIN   1
 
#define DISCONNECT_TID   0x0001
 
#define TCON_EXTENDED_SIGNATURES   0x0004
 
#define TCON_EXTENDED_SECINFO   0x0008
 
#define SMB_SUPPORT_SEARCH_BITS
 
#define SMB_SHARE_IS_IN_DFS   0x0002
 
#define SMB_CSC_MASK   0x000C
 
#define SMB_CSC_CACHE_MANUAL_REINT   0x0000
 
#define SMB_CSC_CACHE_AUTO_REINT   0x0004
 
#define SMB_CSC_CACHE_VDO   0x0008
 
#define SMB_CSC_NO_CACHING   0x000C
 
#define SMB_UNIQUE_FILE_NAME   0x0010
 
#define SMB_EXTENDED_SIGNATURES   0x0020
 
#define REQ_MORE_INFO   0x00000001 /* legacy (OPEN_AND_X) only */
 
#define REQ_OPLOCK   0x00000002
 
#define REQ_BATCHOPLOCK   0x00000004
 
#define REQ_OPENDIRONLY   0x00000008
 
#define REQ_EXTENDED_INFO   0x00000010
 
#define DISK_TYPE   0x0000
 
#define BYTE_PIPE_TYPE   0x0001
 
#define MESSAGE_PIPE_TYPE   0x0002
 
#define PRINTER_TYPE   0x0003
 
#define COMM_DEV_TYPE   0x0004
 
#define UNKNOWN_TYPE   0xFFFF
 
#define NO_EAS   0x0001
 
#define NO_SUBSTREAMS   0x0002
 
#define NO_REPARSETAG   0x0004
 
#define ICOUNT_MASK   0x00FF
 
#define PIPE_READ_MODE   0x0100
 
#define NAMED_PIPE_TYPE   0x0400
 
#define PIPE_END_POINT   0x4000
 
#define BLOCKING_NAMED_PIPE   0x8000
 
#define OPLOCK_NONE   0
 
#define OPLOCK_EXCLUSIVE   1
 
#define OPLOCK_BATCH   2
 
#define OPLOCK_READ   3 /* level 2 oplock */
 
#define CIFS_CREATE_ACTION   0x20000 /* file created */
 
#define LOCKING_ANDX_SHARED_LOCK   0x01
 
#define LOCKING_ANDX_OPLOCK_RELEASE   0x02
 
#define LOCKING_ANDX_CHANGE_LOCKTYPE   0x04
 
#define LOCKING_ANDX_CANCEL_LOCK   0x08
 
#define LOCKING_ANDX_LARGE_FILES   0x10 /* always on for us */
 
#define CIFS_RDLCK   0
 
#define CIFS_WRLCK   1
 
#define CIFS_UNLCK   2
 
#define COPY_MUST_BE_FILE   0x0001
 
#define COPY_MUST_BE_DIR   0x0002
 
#define COPY_TARGET_MODE_ASCII   0x0004 /* if not set, binary */
 
#define COPY_SOURCE_MODE_ASCII   0x0008 /* if not set, binary */
 
#define COPY_VERIFY_WRITES   0x0010
 
#define COPY_TREE   0x0020
 
#define CREATE_HARD_LINK   0x103
 
#define MOVEFILE_COPY_ALLOWED   0x0002
 
#define MOVEFILE_REPLACE_EXISTING   0x0001
 
#define CIFS_ACL_OWNER   1
 
#define CIFS_ACL_GROUP   2
 
#define CIFS_ACL_DACL   4
 
#define CIFS_ACL_SACL   8
 
#define FILE_NOTIFY_CHANGE_FILE_NAME   0x00000001
 
#define FILE_NOTIFY_CHANGE_DIR_NAME   0x00000002
 
#define FILE_NOTIFY_CHANGE_NAME   0x00000003
 
#define FILE_NOTIFY_CHANGE_ATTRIBUTES   0x00000004
 
#define FILE_NOTIFY_CHANGE_SIZE   0x00000008
 
#define FILE_NOTIFY_CHANGE_LAST_WRITE   0x00000010
 
#define FILE_NOTIFY_CHANGE_LAST_ACCESS   0x00000020
 
#define FILE_NOTIFY_CHANGE_CREATION   0x00000040
 
#define FILE_NOTIFY_CHANGE_EA   0x00000080
 
#define FILE_NOTIFY_CHANGE_SECURITY   0x00000100
 
#define FILE_NOTIFY_CHANGE_STREAM_NAME   0x00000200
 
#define FILE_NOTIFY_CHANGE_STREAM_SIZE   0x00000400
 
#define FILE_NOTIFY_CHANGE_STREAM_WRITE   0x00000800
 
#define FILE_ACTION_ADDED   0x00000001
 
#define FILE_ACTION_REMOVED   0x00000002
 
#define FILE_ACTION_MODIFIED   0x00000003
 
#define FILE_ACTION_RENAMED_OLD_NAME   0x00000004
 
#define FILE_ACTION_RENAMED_NEW_NAME   0x00000005
 
#define FILE_ACTION_ADDED_STREAM   0x00000006
 
#define FILE_ACTION_REMOVED_STREAM   0x00000007
 
#define FILE_ACTION_MODIFIED_STREAM   0x00000008
 
#define QUOTA_LIST_CONTINUE   0
 
#define QUOTA_LIST_START   0x100
 
#define QUOTA_FOR_SID   0x101
 
#define SMB_INFO_STANDARD   1
 
#define SMB_SET_FILE_EA   2
 
#define SMB_QUERY_FILE_EA_SIZE   2
 
#define SMB_INFO_QUERY_EAS_FROM_LIST   3
 
#define SMB_INFO_QUERY_ALL_EAS   4
 
#define SMB_INFO_IS_NAME_VALID   6
 
#define SMB_QUERY_FILE_BASIC_INFO   0x101
 
#define SMB_QUERY_FILE_STANDARD_INFO   0x102
 
#define SMB_QUERY_FILE_EA_INFO   0x103
 
#define SMB_QUERY_FILE_NAME_INFO   0x104
 
#define SMB_QUERY_FILE_ALLOCATION_INFO   0x105
 
#define SMB_QUERY_FILE_END_OF_FILEINFO   0x106
 
#define SMB_QUERY_FILE_ALL_INFO   0x107
 
#define SMB_QUERY_ALT_NAME_INFO   0x108
 
#define SMB_QUERY_FILE_STREAM_INFO   0x109
 
#define SMB_QUERY_FILE_COMPRESSION_INFO   0x10B
 
#define SMB_QUERY_FILE_UNIX_BASIC   0x200
 
#define SMB_QUERY_FILE_UNIX_LINK   0x201
 
#define SMB_QUERY_POSIX_ACL   0x204
 
#define SMB_QUERY_XATTR   0x205 /* e.g. system EA name space */
 
#define SMB_QUERY_ATTR_FLAGS   0x206 /* append,immutable etc. */
 
#define SMB_QUERY_POSIX_PERMISSION   0x207
 
#define SMB_QUERY_POSIX_LOCK   0x208
 
#define SMB_QUERY_FILE__UNIX_INFO2   0x20b
 
#define SMB_QUERY_FILE_INTERNAL_INFO   0x3ee
 
#define SMB_QUERY_FILE_ACCESS_INFO   0x3f0
 
#define SMB_QUERY_FILE_NAME_INFO2   0x3f1 /* 0x30 bytes */
 
#define SMB_QUERY_FILE_POSITION_INFO   0x3f6
 
#define SMB_QUERY_FILE_MODE_INFO   0x3f8
 
#define SMB_QUERY_FILE_ALGN_INFO   0x3f9
 
#define SMB_SET_FILE_BASIC_INFO   0x101
 
#define SMB_SET_FILE_DISPOSITION_INFO   0x102
 
#define SMB_SET_FILE_ALLOCATION_INFO   0x103
 
#define SMB_SET_FILE_END_OF_FILE_INFO   0x104
 
#define SMB_SET_FILE_UNIX_BASIC   0x200
 
#define SMB_SET_FILE_UNIX_LINK   0x201
 
#define SMB_SET_FILE_UNIX_HLINK   0x203
 
#define SMB_SET_POSIX_ACL   0x204
 
#define SMB_SET_XATTR   0x205
 
#define SMB_SET_ATTR_FLAGS   0x206 /* append, immutable etc. */
 
#define SMB_SET_POSIX_LOCK   0x208
 
#define SMB_POSIX_OPEN   0x209
 
#define SMB_POSIX_UNLINK   0x20a
 
#define SMB_SET_FILE_UNIX_INFO2   0x20b
 
#define SMB_SET_FILE_BASIC_INFO2   0x3ec
 
#define SMB_SET_FILE_RENAME_INFORMATION   0x3f2 /* BB check if qpathinfo too */
 
#define SMB_FILE_ALL_INFO2   0x3fa
 
#define SMB_SET_FILE_ALLOCATION_INFO2   0x3fb
 
#define SMB_SET_FILE_END_OF_FILE_INFO2   0x3fc
 
#define SMB_FILE_MOVE_CLUSTER_INFO   0x407
 
#define SMB_FILE_QUOTA_INFO   0x408
 
#define SMB_FILE_REPARSEPOINT_INFO   0x409
 
#define SMB_FILE_MAXIMUM_INFO   0x40d
 
#define SMB_FIND_FILE_INFO_STANDARD   0x001
 
#define SMB_FIND_FILE_QUERY_EA_SIZE   0x002
 
#define SMB_FIND_FILE_QUERY_EAS_FROM_LIST   0x003
 
#define SMB_FIND_FILE_DIRECTORY_INFO   0x101
 
#define SMB_FIND_FILE_FULL_DIRECTORY_INFO   0x102
 
#define SMB_FIND_FILE_NAMES_INFO   0x103
 
#define SMB_FIND_FILE_BOTH_DIRECTORY_INFO   0x104
 
#define SMB_FIND_FILE_ID_FULL_DIR_INFO   0x105
 
#define SMB_FIND_FILE_ID_BOTH_DIR_INFO   0x106
 
#define SMB_FIND_FILE_UNIX   0x202
 
#define CIFS_SEARCH_CLOSE_ALWAYS   0x0001
 
#define CIFS_SEARCH_CLOSE_AT_END   0x0002
 
#define CIFS_SEARCH_RETURN_RESUME   0x0004
 
#define CIFS_SEARCH_CONTINUE_FROM_LAST   0x0008
 
#define CIFS_SEARCH_BACKUP_SEARCH   0x0010
 
#define CIFS_SMB_RESUME_KEY_SIZE   4
 
#define SMB_INFO_ALLOCATION   1
 
#define SMB_INFO_VOLUME   2
 
#define SMB_QUERY_FS_VOLUME_INFO   0x102
 
#define SMB_QUERY_FS_SIZE_INFO   0x103
 
#define SMB_QUERY_FS_DEVICE_INFO   0x104
 
#define SMB_QUERY_FS_ATTRIBUTE_INFO   0x105
 
#define SMB_QUERY_CIFS_UNIX_INFO   0x200
 
#define SMB_QUERY_POSIX_FS_INFO   0x201
 
#define SMB_QUERY_POSIX_WHO_AM_I   0x202
 
#define SMB_REQUEST_TRANSPORT_ENCRYPTION   0x203
 
#define SMB_QUERY_FS_PROXY
 
#define SMB_QUERY_LABEL_INFO   0x3ea
 
#define SMB_QUERY_FS_QUOTA_INFO   0x3ee
 
#define SMB_QUERY_FS_FULL_SIZE_INFO   0x3ef
 
#define SMB_QUERY_OBJECTID_INFO   0x3f0
 
#define SMB_SET_CIFS_UNIX_INFO   0x200
 
#define DFS_VERSION   cpu_to_le16(0x0003)
 
#define DFS_TYPE_LINK   0x0000 /* also for sysvol targets */
 
#define DFS_TYPE_ROOT   0x0001
 
#define DFS_NAME_LIST_REF   0x0200 /* set for domain or DC referral responses */
 
#define DFS_TARGET_SET_BOUNDARY   0x0400 /* only valid with version 4 dfs req */
 
#define DFSREF_REFERRAL_SERVER   0x00000001 /* all targets are DFS roots */
 
#define DFSREF_STORAGE_SERVER   0x00000002 /* no further ref requests needed */
 
#define DFSREF_TARGET_FAILBACK   0x00000004 /* only for DFS referral version 4 */
 
#define CIFS_UNIX_MAJOR_VERSION   1
 
#define CIFS_UNIX_MINOR_VERSION   0
 
#define CIFS_UNIX_FCNTL_CAP   0x00000001 /* support for fcntl locks */
 
#define CIFS_UNIX_POSIX_ACL_CAP   0x00000002 /* support getfacl/setfacl */
 
#define CIFS_UNIX_XATTR_CAP   0x00000004 /* support new namespace */
 
#define CIFS_UNIX_EXTATTR_CAP   0x00000008 /* support chattr/chflag */
 
#define CIFS_UNIX_POSIX_PATHNAMES_CAP   0x00000010 /* Allow POSIX path chars */
 
#define CIFS_UNIX_POSIX_PATH_OPS_CAP
 
#define CIFS_UNIX_LARGE_READ_CAP
 
#define CIFS_UNIX_LARGE_WRITE_CAP   0x00000080
 
#define CIFS_UNIX_TRANSPORT_ENCRYPTION_CAP   0x00000100 /* can do SPNEGO crypt */
 
#define CIFS_UNIX_TRANSPORT_ENCRYPTION_MANDATORY_CAP   0x00000200 /* must do */
 
#define CIFS_UNIX_PROXY_CAP
 
#define CIFS_UNIX_CAP_MASK   0x00000013
 
#define CIFS_POSIX_EXTENSIONS   0x00000010 /* support for new QFSInfo */
 
#define FILE_DEVICE_CD_ROM   0x00000002
 
#define FILE_DEVICE_CD_ROM_FILE_SYSTEM   0x00000003
 
#define FILE_DEVICE_DFS   0x00000006
 
#define FILE_DEVICE_DISK   0x00000007
 
#define FILE_DEVICE_DISK_FILE_SYSTEM   0x00000008
 
#define FILE_DEVICE_FILE_SYSTEM   0x00000009
 
#define FILE_DEVICE_NAMED_PIPE   0x00000011
 
#define FILE_DEVICE_NETWORK   0x00000012
 
#define FILE_DEVICE_NETWORK_FILE_SYSTEM   0x00000014
 
#define FILE_DEVICE_NULL   0x00000015
 
#define FILE_DEVICE_PARALLEL_PORT   0x00000016
 
#define FILE_DEVICE_PRINTER   0x00000018
 
#define FILE_DEVICE_SERIAL_PORT   0x0000001b
 
#define FILE_DEVICE_STREAMS   0x0000001e
 
#define FILE_DEVICE_TAPE   0x0000001f
 
#define FILE_DEVICE_TAPE_FILE_SYSTEM   0x00000020
 
#define FILE_DEVICE_VIRTUAL_DISK   0x00000024
 
#define FILE_DEVICE_NETWORK_REDIRECTOR   0x00000028
 
#define UNIX_FILE   0
 
#define UNIX_DIR   1
 
#define UNIX_SYMLINK   2
 
#define UNIX_CHARDEV   3
 
#define UNIX_BLOCKDEV   4
 
#define UNIX_FIFO   5
 
#define UNIX_SOCKET   6
 
#define CIFS_ACL_VERSION   1
 
#define SMB_O_RDONLY   0x1
 
#define SMB_O_WRONLY   0x2
 
#define SMB_O_RDWR   0x4
 
#define SMB_O_CREAT   0x10
 
#define SMB_O_EXCL   0x20
 
#define SMB_O_TRUNC   0x40
 
#define SMB_O_APPEND   0x80
 
#define SMB_O_SYNC   0x100
 
#define SMB_O_DIRECTORY   0x200
 
#define SMB_O_NOFOLLOW   0x400
 
#define SMB_O_DIRECT   0x800
 
#define SMB_POSIX_UNLINK_FILE_TARGET   0
 
#define SMB_POSIX_UNLINK_DIRECTORY_TARGET   1
 
#define FEA_NEEDEA   0x80 /* need EA bit */
 

Functions

struct {
   __u8   ErrorClass
 
   __u8   Reserved
 
   __le16   Error
 
__attribute__ ((packed)) DosError
 

Variables

typedef __attribute__
 
__u8 ErrorClass
 
__u8 Reserved
 
__le16 Error
 
__le32 CifsError
 
__le32 SequenceNumber
 
__u8 SecuritySignature [8]
 
__be32 smb_buf_length
 
__u8 Protocol [4]
 
__u8 Command
 
__u8 Flags
 
__le16 Flags2
 
__le16 PidHigh
 
__u8 pad [2]
 
__u16 Tid
 
__le16 Pid
 
__u16 Uid
 
__u16 Mid
 
__u8 WordCount
 
struct smb_hdr hdr
 
__le16 ByteCount
 
unsigned char DialectsArray [1]
 
__le16 Time
 
__le16 Date
 
__le16 DialectIndex
 
__le16 SecurityMode
 
__le16 MaxBufSize
 
__le16 MaxMpxCount
 
__le16 MaxNumberVcs
 
__le16 RawMode
 
__le32 SessionKey
 
__le16 ServerTimeZone
 
__le16 EncryptionKeyLength
 
unsigned char EncryptionKey [1]
 
unsigned char GUID [16]
 
unsigned char SecurityBlob [1]
 
__le32 MaxBufferSize
 
__le32 MaxRawSize
 
__le32 Capabilities
 
__le32 SystemTimeLow
 
__le32 SystemTimeHigh
 
__u8 AndXCommand
 
__u8 AndXReserved
 
__le16 AndXOffset
 
__le16 VcNumber
 
__le16 SecurityBlobLength
 
__le16 CaseInsensitivePasswordLength
 
__le16 CaseSensitivePasswordLength
 
unsigned char CaseInsensitivePassword [1]
 
__le16 Action
 
__le16 PasswordLength
 
unsigned char AccountPassword [1]
 
unsigned char NativeOS [1]
 
__le16 type
 
__le16 length
 
char ntlmv2_hash [CIFS_ENCPWD_SIZE]
 
__le32 blob_signature
 
__u32 reserved
 
__le64 time
 
__u64 client_chal
 
__u32 reserved2
 
unsigned char Password [1]
 
__le16 OptionalSupport
 
unsigned char Service [1]
 
__le32 MaximalShareAccessRights
 
__le32 GuestMaximalShareAccessRights
 
__le16 EchoCount
 
char Data [1]
 
__u16 FileID
 
__u32 LastWriteTime
 
__le16 NameLength
 
__le32 OpenFlags
 
__u32 RootDirectoryFid
 
__le32 DesiredAccess
 
__le64 AllocationSize
 
__le32 FileAttributes
 
__le32 ShareAccess
 
__le32 CreateDisposition
 
__le32 CreateOptions
 
__le32 ImpersonationLevel
 
__u8 SecurityFlags
 
char fileName [1]
 
__u8 OplockLevel
 
__u16 Fid
 
__le32 CreateAction
 
__le64 CreationTime
 
__le64 LastAccessTime
 
__le64 ChangeTime
 
__le64 EndOfFile
 
__le16 FileType
 
__le16 DeviceState
 
__u8 DirectoryFlag
 
__u8 VolumeGUID [16]
 
__u64 FileId
 
__le32 MaximalAccessRights
 
__le32 GuestMaximalAccessRights
 
__le16 Mode
 
__le16 Sattr
 
__le32 CreateTime
 
__le16 OpenFunction
 
__le32 Timeout
 
__le16 Access
 
__le16 IPCState
 
__le32 OffsetLow
 
__le16 WriteMode
 
__le16 Remaining
 
__le16 Reserved2
 
__le16 DataLengthLow
 
__le16 DataOffset
 
__u8 Pad
 
__le16 DataLengthHigh
 
__le32 OffsetHigh
 
__le16 Count
 
__le16 CountHigh
 
__le16 MaxCount
 
__le16 MinCount
 
__le32 MaxCountHigh
 
__le16 DataCompactionMode
 
__le16 DataLength
 
__le32 LengthHigh
 
__le32 LengthLow
 
__u8 LockType
 
__le16 NumberOfUnlocks
 
__le16 NumberOfLocks
 
LOCKING_ANDX_RANGE Locks [1]
 
__le16 lock_type
 
__le16 lock_flags
 
__le32 pid
 
__le64 start
 
__le16 SearchAttributes
 
__u8 BufferFormat
 
unsigned char OldFileName [1]
 
__u16 Tid2
 
__le16 CopyCount
 
unsigned char ErrorFileName [1]
 
__le32 ClusterCount
 
unsigned char DirName [1]
 
unsigned char FileName [1]
 
__le16 attr
 
__le32 last_write_time
 
__le32 size
 
__le16 time_low
 
__le16 time_high
 
__u8 MaxSetupCount
 
__le32 TotalParameterCount
 
__le32 TotalDataCount
 
__le32 MaxParameterCount
 
__le32 MaxDataCount
 
__le32 ParameterCount
 
__le32 ParameterOffset
 
__le32 DataCount
 
__u8 SetupCount
 
__le16 SubCommand
 
__u8 Parms [0]
 
__le32 ParameterDisplacement
 
__le32 DataDisplacement
 
__le32 FunctionCode
 
__u8 IsFsctl
 
__u8 IsRootFlag
 
__le16 ReturnedDataLen
 
__le32 AclFlags
 
__le32 CompletionFilter
 
__u8 WatchTree
 
__le32 NextEntryOffset
 
__le32 FileNameLength
 
__u32 ReparseTag
 
__u16 ReparseDataLength
 
__u16 AltNameOffset
 
__u16 AltNameLen
 
__u16 TargetNameOffset
 
__u16 TargetNameLen
 
char LinkNamesBuf [1]
 
__u32 rsrvd1
 
__u32 sid_size
 
__u64 rsrvd2
 
__u64 space_used
 
__u64 soft_limit
 
__u64 hard_limit
 
char sid [1]
 
__u8 Reserved3
 
struct trans2_req t2_req
 
__u8 Reserved1
 
struct trans2_resp t2_rsp
 
__le16 InformationLevel
 
__u32 Reserved4
 
struct trans2_resp t2
 
__u16 Pad1
 
__le32 overwrite
 
__u32 root_fid
 
__le32 target_name_len
 
char target_name [0]
 
__le16 SearchCount
 
__le16 SearchFlags
 
__le32 SearchStorageType
 
__u16 SearchHandle
 
__le16 EndofSearch
 
__le16 EAErrorOffset
 
__le16 LastNameOffset
 
__u32 ResumeKey
 
char ResumeFileName [1]
 
__u32 flags
 
__u32 mask
 
__u64 unix_user_id
 
__u64 unix_user_gid
 
__u32 number_of_supplementary_gids
 
__u32 number_of_sids
 
__u32 length_of_sid_array
 
__u16 FileNum
 
__le16 ClientUnixMajor
 
__le16 ClientUnixMinor
 
__le64 ClientUnixCap
 
__le16 MaxReferralLevel
 
char RequestFileName [1]
 
__le16 VersionNumber
 
__le16 Size
 
__le16 ServerType
 
__le16 ReferralEntryFlags
 
__le32 TimeToLive
 
__le16 DfsPathOffset
 
__le16 DfsAlternatePathOffset
 
__le16 NetworkAddressOffset
 
__u8 ServiceSiteGuid [16]
 
__le16 PathConsumed
 
__le16 NumberOfReferrals
 
__le32 DFSFlags
 
REFERRAL3 referrals [1]
 
char name [16]
 
unsigned char versionMajor
 
unsigned char versionMinor
 
unsigned int commentOffset
 
char shareName [13]
 
char aliasName [9]
 
int aliasNameOffset
 
int serverNameOffset
 
int shareNameOffset
 
__le64 FileSize
 
__u8 alt_name [1]
 
__le64 compressed_size
 
__le16 format
 
__u8 unit_shift
 
__u8 ch_shift
 
__u8 cl_shift
 
__u8 cifs_e_tag
 
__u8 cifs_e_perm
 
__le64 cifs_uid
 
__le16 version
 
__le16 access_entry_count
 
__le16 default_entry_count
 
struct cifs_posix_ace ace_array [0]
 
__le64 UniqueId
 
__le32 Attribute
 
__le64 major
 
__le64 minor
 
unsigned char name_len
 
unsigned long list_len
 
struct gea list [1]
 
unsigned char EA_flags
 
__le16 value_len
 
__u8data
 
void(* free )(struct data_blob *data_blob)
 

Macro Definition Documentation

#define ASCII_NULL   0x00

Definition at line 288 of file cifspdu.h.

#define ATTR_ARCHIVE   0x0020

Definition at line 310 of file cifspdu.h.

#define ATTR_BACKUP_SEMANTICS   0x02000000

Definition at line 321 of file cifspdu.h.

#define ATTR_COMPRESSED   0x0800

Definition at line 316 of file cifspdu.h.

#define ATTR_DELETE_ON_CLOSE   0x04000000

Definition at line 322 of file cifspdu.h.

#define ATTR_DEVICE   0x0040

Definition at line 311 of file cifspdu.h.

#define ATTR_DIRECTORY   0x0010

Definition at line 309 of file cifspdu.h.

#define ATTR_ENCRYPTED   0x4000

Definition at line 319 of file cifspdu.h.

#define ATTR_HIDDEN   0x0002

Definition at line 306 of file cifspdu.h.

#define ATTR_NO_BUFFERING   0x20000000

Definition at line 325 of file cifspdu.h.

#define ATTR_NORMAL   0x0080

Definition at line 312 of file cifspdu.h.

#define ATTR_NOT_CONTENT_INDEXED   0x2000

Definition at line 318 of file cifspdu.h.

#define ATTR_OFFLINE
Value:
0x1000 /* ie file not immediately available -
on offline storage */

Definition at line 317 of file cifspdu.h.

#define ATTR_POSIX_SEMANTICS   0x01000000

Definition at line 320 of file cifspdu.h.

#define ATTR_RANDOM_ACCESS   0x10000000

Definition at line 324 of file cifspdu.h.

#define ATTR_READONLY   0x0001

Definition at line 305 of file cifspdu.h.

#define ATTR_REPARSE   0x0400

Definition at line 315 of file cifspdu.h.

#define ATTR_SEQUENTIAL_SCAN   0x08000000

Definition at line 323 of file cifspdu.h.

#define ATTR_SPARSE   0x0200

Definition at line 314 of file cifspdu.h.

#define ATTR_SYSTEM   0x0004

Definition at line 307 of file cifspdu.h.

#define ATTR_TEMPORARY   0x0100

Definition at line 313 of file cifspdu.h.

#define ATTR_VOLUME   0x0008

Definition at line 308 of file cifspdu.h.

#define ATTR_WRITE_THROUGH   0x80000000

Definition at line 326 of file cifspdu.h.

#define BAD_PROT   0xFFFF

Definition at line 37 of file cifspdu.h.

#define BLOCKING_NAMED_PIPE   0x8000

Definition at line 872 of file cifspdu.h.

#define BYTE_PIPE_TYPE   0x0001

Definition at line 857 of file cifspdu.h.

#define CAP_BULK_TRANSFER   0x20000000

Definition at line 710 of file cifspdu.h.

#define CAP_COMPRESSED_DATA   0x02000000

Definition at line 581 of file cifspdu.h.

#define CAP_DFS   0x00001000

Definition at line 575 of file cifspdu.h.

#define CAP_DYNAMIC_REAUTH   0x20000000

Definition at line 582 of file cifspdu.h.

#define CAP_EXTENDED_SECURITY   0x80000000

Definition at line 711 of file cifspdu.h.

#define CAP_EXTENDED_SECURITY   0x80000000

Definition at line 711 of file cifspdu.h.

#define CAP_INFOLEVEL_PASSTHRU   0x00002000

Definition at line 576 of file cifspdu.h.

#define CAP_LARGE_FILES   0x00000008

Definition at line 705 of file cifspdu.h.

#define CAP_LARGE_FILES   0x00000008

Definition at line 705 of file cifspdu.h.

#define CAP_LARGE_READ_X   0x00004000

Definition at line 577 of file cifspdu.h.

#define CAP_LARGE_WRITE_X   0x00008000

Definition at line 578 of file cifspdu.h.

#define CAP_LEVEL_II_OPLOCKS   0x00000080

Definition at line 708 of file cifspdu.h.

#define CAP_LEVEL_II_OPLOCKS   0x00000080

Definition at line 708 of file cifspdu.h.

#define CAP_LOCK_AND_READ   0x00000100

Definition at line 573 of file cifspdu.h.

#define CAP_LWIO   0x00010000 /* support fctl_srv_req_resume_key */

Definition at line 579 of file cifspdu.h.

#define CAP_MPX_MODE   0x00000002

Definition at line 566 of file cifspdu.h.

#define CAP_NT_FIND   0x00000200

Definition at line 709 of file cifspdu.h.

#define CAP_NT_FIND
Value:
0x00000200 /* reserved should be zero
(because NT_SMBs implies the same thing?) */

Definition at line 709 of file cifspdu.h.

#define CAP_NT_SMBS   0x00000010 /* implies CAP_NT_FIND */

Definition at line 706 of file cifspdu.h.

#define CAP_NT_SMBS   0x00000010

Definition at line 706 of file cifspdu.h.

#define CAP_PERSISTENT_HANDLES   0x40000000

Definition at line 583 of file cifspdu.h.

#define CAP_RAW_MODE   0x00000001

Definition at line 565 of file cifspdu.h.

#define CAP_RPC_REMOTE_APIS   0x00000020

Definition at line 570 of file cifspdu.h.

#define CAP_STATUS32   0x00000040

Definition at line 707 of file cifspdu.h.

#define CAP_STATUS32   0x00000040

Definition at line 707 of file cifspdu.h.

#define CAP_UNICODE   0x00000004

Definition at line 704 of file cifspdu.h.

#define CAP_UNICODE   0x00000004

Definition at line 704 of file cifspdu.h.

#define CAP_UNIX   0x00800000

Definition at line 580 of file cifspdu.h.

#define CIFS_ACL_DACL   4

Definition at line 1354 of file cifspdu.h.

#define CIFS_ACL_GROUP   2

Definition at line 1353 of file cifspdu.h.

#define CIFS_ACL_OWNER   1

Definition at line 1352 of file cifspdu.h.

#define CIFS_ACL_SACL   8

Definition at line 1355 of file cifspdu.h.

#define CIFS_ACL_VERSION   1

Definition at line 2305 of file cifspdu.h.

#define CIFS_ALIAS_TYPE_FILE   0x0001

Definition at line 299 of file cifspdu.h.

#define CIFS_AUTH_RESP_SIZE   (24)

Definition at line 138 of file cifspdu.h.

#define CIFS_CLIENT_CHALLENGE_SIZE   (8)

Definition at line 145 of file cifspdu.h.

#define CIFS_COPY_OP   1

Definition at line 388 of file cifspdu.h.

#define CIFS_CPHTXT_SIZE   (16)

Definition at line 148 of file cifspdu.h.

#define CIFS_CREATE_ACTION   0x20000 /* file created */

Definition at line 902 of file cifspdu.h.

#define CIFS_CRYPTO_KEY_SIZE   (8)

Definition at line 133 of file cifspdu.h.

#define CIFS_DFT_PID   0x1234

Definition at line 382 of file cifspdu.h.

#define CIFS_ENCPWD_SIZE   (16)

Definition at line 128 of file cifspdu.h.

#define CIFS_HMAC_MD5_HASH_SIZE   (16)

Definition at line 147 of file cifspdu.h.

#define CIFS_IPC_RESOURCE   "\x49\x50\x43\x24"

Definition at line 281 of file cifspdu.h.

#define CIFS_IPC_UNICODE_RESOURCE   "\x00\x49\x00\x50\x00\x43\x00\x24\x00\x00"

Definition at line 284 of file cifspdu.h.

#define CIFS_MAX_MSGSIZE   (4*4096)

Definition at line 123 of file cifspdu.h.

#define CIFS_NETWORK_OPSYS   "CIFS VFS Client for Linux"

Definition at line 701 of file cifspdu.h.

#define CIFS_NO_HANDLE   0xFFFF

Definition at line 275 of file cifspdu.h.

#define CIFS_NTHASH_SIZE   (16)

Definition at line 149 of file cifspdu.h.

#define CIFS_POSIX_EXTENSIONS   0x00000010 /* support for new QFSInfo */

Definition at line 2126 of file cifspdu.h.

#define CIFS_PROT   0

Definition at line 34 of file cifspdu.h.

#define CIFS_RDLCK   0

Definition at line 1119 of file cifspdu.h.

#define CIFS_RENAME_OP   2

Definition at line 389 of file cifspdu.h.

#define CIFS_SEARCH_BACKUP_SEARCH   0x0010

Definition at line 1751 of file cifspdu.h.

#define CIFS_SEARCH_CLOSE_ALWAYS   0x0001

Definition at line 1747 of file cifspdu.h.

#define CIFS_SEARCH_CLOSE_AT_END   0x0002

Definition at line 1748 of file cifspdu.h.

#define CIFS_SEARCH_CONTINUE_FROM_LAST   0x0008

Definition at line 1750 of file cifspdu.h.

#define CIFS_SEARCH_RETURN_RESUME   0x0004

Definition at line 1749 of file cifspdu.h.

#define CIFS_SERVER_CHALLENGE_SIZE   (8)

Definition at line 146 of file cifspdu.h.

#define CIFS_SESS_KEY_SIZE   (16)

Definition at line 143 of file cifspdu.h.

#define CIFS_SHARE_TYPE_FILE   0x0000

Definition at line 300 of file cifspdu.h.

#define CIFS_SMALL_PATH   120 /* allows for (448-88)/3 */

Definition at line 112 of file cifspdu.h.

#define CIFS_SMB_RESUME_KEY_SIZE   4

Definition at line 1756 of file cifspdu.h.

#define CIFS_SV_TYPE_BACKDC   0x00000010

Definition at line 294 of file cifspdu.h.

#define CIFS_SV_TYPE_DC   0x00000008

Definition at line 293 of file cifspdu.h.

#define CIFS_UNIX_CAP_MASK   0x00000013

Definition at line 2122 of file cifspdu.h.

#define CIFS_UNIX_EXTATTR_CAP   0x00000008 /* support chattr/chflag */

Definition at line 2105 of file cifspdu.h.

#define CIFS_UNIX_FCNTL_CAP   0x00000001 /* support for fcntl locks */

Definition at line 2102 of file cifspdu.h.

#define CIFS_UNIX_LARGE_READ_CAP
Value:
0x00000040 /* support reads >128K (up
to 0xFFFF00 */

Definition at line 2108 of file cifspdu.h.

#define CIFS_UNIX_LARGE_WRITE_CAP   0x00000080

Definition at line 2109 of file cifspdu.h.

#define CIFS_UNIX_MAJOR_VERSION   1

Definition at line 2098 of file cifspdu.h.

#define CIFS_UNIX_MINOR_VERSION   0

Definition at line 2099 of file cifspdu.h.

#define CIFS_UNIX_POSIX_ACL_CAP   0x00000002 /* support getfacl/setfacl */

Definition at line 2103 of file cifspdu.h.

#define CIFS_UNIX_POSIX_PATH_OPS_CAP
Value:
0x00000020 /* Allow new POSIX path based
calls including posix open
and posix unlink */

Definition at line 2107 of file cifspdu.h.

#define CIFS_UNIX_POSIX_PATHNAMES_CAP   0x00000010 /* Allow POSIX path chars */

Definition at line 2106 of file cifspdu.h.

#define CIFS_UNIX_PROXY_CAP
Value:
0x00000400 /* Proxy cap: 0xACE ioctl and
QFS PROXY call */

Definition at line 2112 of file cifspdu.h.

#define CIFS_UNIX_TRANSPORT_ENCRYPTION_CAP   0x00000100 /* can do SPNEGO crypt */

Definition at line 2110 of file cifspdu.h.

#define CIFS_UNIX_TRANSPORT_ENCRYPTION_MANDATORY_CAP   0x00000200 /* must do */

Definition at line 2111 of file cifspdu.h.

#define CIFS_UNIX_XATTR_CAP   0x00000004 /* support new namespace */

Definition at line 2104 of file cifspdu.h.

#define CIFS_UNLCK   2

Definition at line 1121 of file cifspdu.h.

#define CIFS_UNLEN   (20)

Definition at line 154 of file cifspdu.h.

#define CIFS_WRLCK   1

Definition at line 1120 of file cifspdu.h.

#define CNLEN   15

Definition at line 459 of file cifspdu.h.

#define COMM_DEV_TYPE   0x0004

Definition at line 860 of file cifspdu.h.

#define COPY_MUST_BE_DIR   0x0002

Definition at line 1151 of file cifspdu.h.

#define COPY_MUST_BE_FILE   0x0001

Definition at line 1150 of file cifspdu.h.

#define COPY_SOURCE_MODE_ASCII   0x0008 /* if not set, binary */

Definition at line 1153 of file cifspdu.h.

#define COPY_TARGET_MODE_ASCII   0x0004 /* if not set, binary */

Definition at line 1152 of file cifspdu.h.

#define COPY_TREE   0x0020

Definition at line 1155 of file cifspdu.h.

#define COPY_VERIFY_WRITES   0x0010

Definition at line 1154 of file cifspdu.h.

#define CREATE_ASYNC_ALERT   0x00000020 /* MBZ */

Definition at line 349 of file cifspdu.h.

#define CREATE_COMPLETE_IF_OPLK   0x00000100 /* should be zero */

Definition at line 352 of file cifspdu.h.

#define CREATE_DELETE_ON_CLOSE   0x00001000

Definition at line 357 of file cifspdu.h.

#define CREATE_EIGHT_DOT_THREE
Value:
0x00000400 /* doc says this is obsolete
"open for recovery" flag should
be zero in any case */

Definition at line 354 of file cifspdu.h.

#define CREATE_HARD_LINK   0x103

Definition at line 1177 of file cifspdu.h.

#define CREATE_NO_BUFFER   0x00000008 /* should not buffer on srv */

Definition at line 347 of file cifspdu.h.

#define CREATE_NO_COMPRESSION   0x00008000

Definition at line 360 of file cifspdu.h.

#define CREATE_NO_EA_KNOWLEDGE   0x00000200

Definition at line 353 of file cifspdu.h.

#define CREATE_NOT_DIR   0x00000040 /* if set must not be directory */

Definition at line 350 of file cifspdu.h.

#define CREATE_NOT_FILE   0x00000001 /* if set must not be file */

Definition at line 344 of file cifspdu.h.

#define CREATE_OPEN_BACKUP_INTENT   0x00004000

Definition at line 359 of file cifspdu.h.

#define CREATE_OPEN_BY_ID   0x00002000

Definition at line 358 of file cifspdu.h.

#define CREATE_OPEN_FOR_RECOVERY   0x00000400

Definition at line 355 of file cifspdu.h.

#define CREATE_OPTION_READONLY   0x10000000

Definition at line 366 of file cifspdu.h.

#define CREATE_OPTION_SPECIAL   0x20000000 /* system. NB not sent over wire */

Definition at line 367 of file cifspdu.h.

#define CREATE_OPTIONS_MASK   0x007FFFFF

Definition at line 365 of file cifspdu.h.

#define CREATE_RANDOM_ACCESS   0x00000800

Definition at line 356 of file cifspdu.h.

#define CREATE_RESERVE_OPFILTER   0x00100000 /* should be zero */

Definition at line 361 of file cifspdu.h.

#define CREATE_SEQUENTIAL   0x00000004

Definition at line 346 of file cifspdu.h.

#define CREATE_SYNC_ALERT   0x00000010 /* MBZ */

Definition at line 348 of file cifspdu.h.

#define CREATE_TREE_CONNECTION   0x00000080 /* should be zero */

Definition at line 351 of file cifspdu.h.

#define CREATE_WRITE_THROUGH   0x00000002

Definition at line 345 of file cifspdu.h.

#define DELETE   0x00010000 /* The file can be deleted */

Definition at line 224 of file cifspdu.h.

#define DFS_NAME_LIST_REF   0x0200 /* set for domain or DC referral responses */

Definition at line 2000 of file cifspdu.h.

#define DFS_TARGET_SET_BOUNDARY   0x0400 /* only valid with version 4 dfs req */

Definition at line 2001 of file cifspdu.h.

#define DFS_TYPE_LINK   0x0000 /* also for sysvol targets */

Definition at line 1996 of file cifspdu.h.

#define DFS_TYPE_ROOT   0x0001

Definition at line 1997 of file cifspdu.h.

#define DFS_VERSION   cpu_to_le16(0x0003)

Definition at line 1993 of file cifspdu.h.

#define DFSREF_REFERRAL_SERVER   0x00000001 /* all targets are DFS roots */

Definition at line 2028 of file cifspdu.h.

#define DFSREF_STORAGE_SERVER   0x00000002 /* no further ref requests needed */

Definition at line 2029 of file cifspdu.h.

#define DFSREF_TARGET_FAILBACK   0x00000004 /* only for DFS referral version 4 */

Definition at line 2030 of file cifspdu.h.

#define DISCONNECT_TID   0x0001

Definition at line 755 of file cifspdu.h.

#define DISK_TYPE   0x0000

Definition at line 856 of file cifspdu.h.

#define FEA_NEEDEA   0x80 /* need EA bit */

Definition at line 2501 of file cifspdu.h.

#define FILE_ACTION_ADDED   0x00000001

Definition at line 1458 of file cifspdu.h.

#define FILE_ACTION_ADDED_STREAM   0x00000006

Definition at line 1463 of file cifspdu.h.

#define FILE_ACTION_MODIFIED   0x00000003

Definition at line 1460 of file cifspdu.h.

#define FILE_ACTION_MODIFIED_STREAM   0x00000008

Definition at line 1465 of file cifspdu.h.

#define FILE_ACTION_REMOVED   0x00000002

Definition at line 1459 of file cifspdu.h.

#define FILE_ACTION_REMOVED_STREAM   0x00000007

Definition at line 1464 of file cifspdu.h.

#define FILE_ACTION_RENAMED_NEW_NAME   0x00000005

Definition at line 1462 of file cifspdu.h.

#define FILE_ACTION_RENAMED_OLD_NAME   0x00000004

Definition at line 1461 of file cifspdu.h.

#define FILE_APPEND_DATA   0x00000004 /* Data can be appended to the file */

Definition at line 212 of file cifspdu.h.

#define FILE_CREATE   0x00000002

Definition at line 338 of file cifspdu.h.

#define FILE_DELETE_CHILD   0x00000040

Definition at line 219 of file cifspdu.h.

#define FILE_DEVICE_CD_ROM   0x00000002

Definition at line 2151 of file cifspdu.h.

#define FILE_DEVICE_CD_ROM_FILE_SYSTEM   0x00000003

Definition at line 2152 of file cifspdu.h.

#define FILE_DEVICE_DFS   0x00000006

Definition at line 2153 of file cifspdu.h.

#define FILE_DEVICE_DISK   0x00000007

Definition at line 2154 of file cifspdu.h.

#define FILE_DEVICE_DISK_FILE_SYSTEM   0x00000008

Definition at line 2155 of file cifspdu.h.

#define FILE_DEVICE_FILE_SYSTEM   0x00000009

Definition at line 2156 of file cifspdu.h.

#define FILE_DEVICE_NAMED_PIPE   0x00000011

Definition at line 2157 of file cifspdu.h.

#define FILE_DEVICE_NETWORK   0x00000012

Definition at line 2158 of file cifspdu.h.

#define FILE_DEVICE_NETWORK_FILE_SYSTEM   0x00000014

Definition at line 2159 of file cifspdu.h.

#define FILE_DEVICE_NETWORK_REDIRECTOR   0x00000028

Definition at line 2168 of file cifspdu.h.

#define FILE_DEVICE_NULL   0x00000015

Definition at line 2160 of file cifspdu.h.

#define FILE_DEVICE_PARALLEL_PORT   0x00000016

Definition at line 2161 of file cifspdu.h.

#define FILE_DEVICE_PRINTER   0x00000018

Definition at line 2162 of file cifspdu.h.

#define FILE_DEVICE_SERIAL_PORT   0x0000001b

Definition at line 2163 of file cifspdu.h.

#define FILE_DEVICE_STREAMS   0x0000001e

Definition at line 2164 of file cifspdu.h.

#define FILE_DEVICE_TAPE   0x0000001f

Definition at line 2165 of file cifspdu.h.

#define FILE_DEVICE_TAPE_FILE_SYSTEM   0x00000020

Definition at line 2166 of file cifspdu.h.

#define FILE_DEVICE_VIRTUAL_DISK   0x00000024

Definition at line 2167 of file cifspdu.h.

#define FILE_EXEC_RIGHTS   (FILE_EXECUTE)

Definition at line 249 of file cifspdu.h.

#define FILE_EXECUTE   0x00000020 /*Data can be read into memory from */

Definition at line 217 of file cifspdu.h.

#define FILE_NO_SHARE   0x00000000

Definition at line 329 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_ATTRIBUTES   0x00000004

Definition at line 1447 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_CREATION   0x00000040

Definition at line 1451 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_DIR_NAME   0x00000002

Definition at line 1445 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_EA   0x00000080

Definition at line 1452 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_FILE_NAME   0x00000001

Definition at line 1444 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_LAST_ACCESS   0x00000020

Definition at line 1450 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_LAST_WRITE   0x00000010

Definition at line 1449 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_NAME   0x00000003

Definition at line 1446 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_SECURITY   0x00000100

Definition at line 1453 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_SIZE   0x00000008

Definition at line 1448 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_STREAM_NAME   0x00000200

Definition at line 1454 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_STREAM_SIZE   0x00000400

Definition at line 1455 of file cifspdu.h.

#define FILE_NOTIFY_CHANGE_STREAM_WRITE   0x00000800

Definition at line 1456 of file cifspdu.h.

#define FILE_OPEN   0x00000001

Definition at line 337 of file cifspdu.h.

#define FILE_OPEN_IF   0x00000003

Definition at line 339 of file cifspdu.h.

#define FILE_OVERWRITE   0x00000004

Definition at line 340 of file cifspdu.h.

#define FILE_OVERWRITE_IF   0x00000005

Definition at line 341 of file cifspdu.h.

#define FILE_READ_ATTRIBUTES   0x00000080 /* Attributes associated with the */

Definition at line 220 of file cifspdu.h.

#define FILE_READ_DATA   0x00000001 /* Data can be read from the file */

Definition at line 210 of file cifspdu.h.

#define FILE_READ_EA   0x00000008 /* Extended attributes associated */

Definition at line 213 of file cifspdu.h.

#define FILE_READ_RIGHTS   (FILE_READ_DATA | FILE_READ_EA | FILE_READ_ATTRIBUTES)

Definition at line 246 of file cifspdu.h.

#define FILE_SHARE_ALL   0x00000007

Definition at line 333 of file cifspdu.h.

#define FILE_SHARE_DELETE   0x00000004

Definition at line 332 of file cifspdu.h.

#define FILE_SHARE_READ   0x00000001

Definition at line 330 of file cifspdu.h.

#define FILE_SHARE_WRITE   0x00000002

Definition at line 331 of file cifspdu.h.

#define FILE_SUPERSEDE   0x00000000

Definition at line 336 of file cifspdu.h.

#define FILE_WRITE_ATTRIBUTES   0x00000100 /* Attributes associated with the */

Definition at line 222 of file cifspdu.h.

#define FILE_WRITE_DATA   0x00000002 /* Data can be written to the file */

Definition at line 211 of file cifspdu.h.

#define FILE_WRITE_EA   0x00000010 /* Extended attributes associated */

Definition at line 215 of file cifspdu.h.

#define FILE_WRITE_RIGHTS
#define GENERIC_ALL   0x10000000

Definition at line 236 of file cifspdu.h.

#define GENERIC_EXECUTE   0x20000000

Definition at line 237 of file cifspdu.h.

#define GENERIC_READ   0x80000000

Definition at line 239 of file cifspdu.h.

#define GENERIC_WRITE   0x40000000

Definition at line 238 of file cifspdu.h.

#define GETU16 (   var)    (*((__u16 *)var)) /* BB check for endian issues */

Definition at line 391 of file cifspdu.h.

#define GETU32 (   var)    (*((__u32 *)var)) /* BB check for endian issues */

Definition at line 392 of file cifspdu.h.

#define GUEST_LOGIN   1

Definition at line 714 of file cifspdu.h.

#define ICOUNT_MASK   0x00FF

Definition at line 868 of file cifspdu.h.

#define LOCKING_ANDX_CANCEL_LOCK   0x08

Definition at line 1100 of file cifspdu.h.

#define LOCKING_ANDX_CHANGE_LOCKTYPE   0x04

Definition at line 1099 of file cifspdu.h.

#define LOCKING_ANDX_LARGE_FILES   0x10 /* always on for us */

Definition at line 1101 of file cifspdu.h.

#define LOCKING_ANDX_OPLOCK_RELEASE   0x02

Definition at line 1098 of file cifspdu.h.

#define LOCKING_ANDX_SHARED_LOCK   0x01

Definition at line 1097 of file cifspdu.h.

#define MAX_CIFS_HDR_SIZE   0x58 /* 4 len + 32 hdr + (2*24 wct) + 2 bct + 2 pad */

Definition at line 111 of file cifspdu.h.

#define MAX_CIFS_SMALL_BUFFER_SIZE   448 /* big enough for most */

Definition at line 108 of file cifspdu.h.

#define MAX_PATHCONF   256

Definition at line 477 of file cifspdu.h.

#define MAXCOMMENTLEN   40

Definition at line 472 of file cifspdu.h.

#define MESSAGE_PIPE_TYPE   0x0002

Definition at line 858 of file cifspdu.h.

#define MIN_TZ_ADJ   (15 * 60) /* minimum grid for timezones in seconds */

Definition at line 505 of file cifspdu.h.

#define MOVEFILE_COPY_ALLOWED   0x0002

Definition at line 1178 of file cifspdu.h.

#define MOVEFILE_REPLACE_EXISTING   0x0001

Definition at line 1179 of file cifspdu.h.

#define NAMED_PIPE_TYPE   0x0400

Definition at line 870 of file cifspdu.h.

#define NO_CHANGE_32   0xFFFFFFFFUL

Definition at line 278 of file cifspdu.h.

#define NO_CHANGE_64   0xFFFFFFFFFFFFFFFFULL

Definition at line 277 of file cifspdu.h.

#define NO_EAS   0x0001

Definition at line 864 of file cifspdu.h.

#define NO_REPARSETAG   0x0004

Definition at line 866 of file cifspdu.h.

#define NO_SUBSTREAMS   0x0002

Definition at line 865 of file cifspdu.h.

#define NT_TRANSACT_CREATE   0x01

Definition at line 99 of file cifspdu.h.

#define NT_TRANSACT_GET_USER_QUOTA   0x07

Definition at line 105 of file cifspdu.h.

#define NT_TRANSACT_IOCTL   0x02

Definition at line 100 of file cifspdu.h.

#define NT_TRANSACT_NOTIFY_CHANGE   0x04

Definition at line 102 of file cifspdu.h.

#define NT_TRANSACT_QUERY_SECURITY_DESC   0x06

Definition at line 104 of file cifspdu.h.

#define NT_TRANSACT_RENAME   0x05

Definition at line 103 of file cifspdu.h.

#define NT_TRANSACT_SET_SECURITY_DESC   0x03

Definition at line 101 of file cifspdu.h.

#define NT_TRANSACT_SET_USER_QUOTA   0x08

Definition at line 106 of file cifspdu.h.

#define NTLMSSP_DNS_DOMAIN_TYPE   4

Definition at line 681 of file cifspdu.h.

#define NTLMSSP_DNS_PARENT_TYPE   5

Definition at line 682 of file cifspdu.h.

#define NTLMSSP_DOMAIN_TYPE   2

Definition at line 679 of file cifspdu.h.

#define NTLMSSP_FQ_DOMAIN_TYPE   3

Definition at line 680 of file cifspdu.h.

#define NTLMSSP_SERVER_TYPE   1

Definition at line 678 of file cifspdu.h.

#define OPEN_FREE_SPACE_QUERY   0x00800000 /* should be zero */

Definition at line 364 of file cifspdu.h.

#define OPEN_NO_RECALL   0x00400000

Definition at line 363 of file cifspdu.h.

#define OPEN_REPARSE_POINT   0x00200000

Definition at line 362 of file cifspdu.h.

#define OPLOCK_BATCH   2

Definition at line 898 of file cifspdu.h.

#define OPLOCK_EXCLUSIVE   1

Definition at line 897 of file cifspdu.h.

#define OPLOCK_NONE   0

Definition at line 896 of file cifspdu.h.

#define OPLOCK_READ   3 /* level 2 oplock */

Definition at line 899 of file cifspdu.h.

#define pByteArea (   smb_var)    (BCC(smb_var) + 2)

Definition at line 434 of file cifspdu.h.

#define PIPE_END_POINT   0x4000

Definition at line 871 of file cifspdu.h.

#define PIPE_READ_MODE   0x0100

Definition at line 869 of file cifspdu.h.

#define POSIX_PROT   (CIFS_PROT+1)

Definition at line 36 of file cifspdu.h.

#define PRINTER_TYPE   0x0003

Definition at line 859 of file cifspdu.h.

#define QUOTA_FOR_SID   0x101

Definition at line 1499 of file cifspdu.h.

#define QUOTA_LIST_CONTINUE   0

Definition at line 1497 of file cifspdu.h.

#define QUOTA_LIST_START   0x100

Definition at line 1498 of file cifspdu.h.

#define RAW_ENABLE   (READ_RAW_ENABLE | WRITE_RAW_ENABLE)

Definition at line 529 of file cifspdu.h.

#define READ_CONTROL   0x00020000 /* The access control list and */

Definition at line 225 of file cifspdu.h.

#define READ_RAW_ENABLE   1

Definition at line 527 of file cifspdu.h.

#define REQ_BATCHOPLOCK   0x00000004

Definition at line 851 of file cifspdu.h.

#define REQ_EXTENDED_INFO   0x00000010

Definition at line 853 of file cifspdu.h.

#define REQ_MORE_INFO   0x00000001 /* legacy (OPEN_AND_X) only */

Definition at line 849 of file cifspdu.h.

#define REQ_OPENDIRONLY   0x00000008

Definition at line 852 of file cifspdu.h.

#define REQ_OPLOCK   0x00000002

Definition at line 850 of file cifspdu.h.

#define SECMODE_PW_ENCRYPT   0x02

Definition at line 560 of file cifspdu.h.

#define SECMODE_SIGN_ENABLED   0x04 /* SMB security signatures enabled */

Definition at line 561 of file cifspdu.h.

#define SECMODE_SIGN_REQUIRED   0x08 /* SMB security signatures required */

Definition at line 562 of file cifspdu.h.

#define SECMODE_USER   0x01 /* off indicates share level security */

Definition at line 559 of file cifspdu.h.

#define SECURITY_ANONYMOUS   0

Definition at line 370 of file cifspdu.h.

#define SECURITY_CONTEXT_TRACKING   0x01

Definition at line 376 of file cifspdu.h.

#define SECURITY_DELEGATION   3

Definition at line 373 of file cifspdu.h.

#define SECURITY_EFFECTIVE_ONLY   0x02

Definition at line 377 of file cifspdu.h.

#define SECURITY_IDENTIFICATION   1

Definition at line 371 of file cifspdu.h.

#define SECURITY_IMPERSONATION   2

Definition at line 372 of file cifspdu.h.

#define SET_FILE_EXEC_RIGHTS
#define SET_FILE_READ_RIGHTS
#define SET_FILE_WRITE_RIGHTS
#define SET_MINIMUM_RIGHTS
Value:

Definition at line 268 of file cifspdu.h.

#define SMB_COM_CLOSE   0x04 /* triv req/rsp, timestamp ignored */

Definition at line 46 of file cifspdu.h.

#define SMB_COM_COPY   0x29 /* trivial rsp, fail filename ignrd*/

Definition at line 53 of file cifspdu.h.

#define SMB_COM_CREATE_DIRECTORY   0x00 /* trivial response */

Definition at line 44 of file cifspdu.h.

#define SMB_COM_DELETE   0x06 /* trivial response */

Definition at line 48 of file cifspdu.h.

#define SMB_COM_DELETE_DIRECTORY   0x01 /* trivial response */

Definition at line 45 of file cifspdu.h.

#define SMB_COM_ECHO   0x2B /* echo request */

Definition at line 54 of file cifspdu.h.

#define SMB_COM_FIND_CLOSE2   0x34 /* trivial response */

Definition at line 60 of file cifspdu.h.

#define SMB_COM_FLUSH   0x05 /* triv req/rsp */

Definition at line 47 of file cifspdu.h.

#define SMB_COM_LOCKING_ANDX   0x24 /* trivial response */

Definition at line 52 of file cifspdu.h.

#define SMB_COM_LOGOFF_ANDX   0x74 /* trivial response */

Definition at line 64 of file cifspdu.h.

#define SMB_COM_NEGOTIATE   0x72

Definition at line 62 of file cifspdu.h.

#define SMB_COM_NT_CANCEL   0xA4 /* no response */

Definition at line 69 of file cifspdu.h.

#define SMB_COM_NT_CREATE_ANDX   0xA2

Definition at line 68 of file cifspdu.h.

#define SMB_COM_NT_RENAME   0xA5 /* trivial response */

Definition at line 70 of file cifspdu.h.

#define SMB_COM_NT_TRANSACT   0xA0

Definition at line 66 of file cifspdu.h.

#define SMB_COM_NT_TRANSACT_SECONDARY   0xA1

Definition at line 67 of file cifspdu.h.

#define SMB_COM_OPEN_ANDX   0x2D /* Legacy open for old servers */

Definition at line 55 of file cifspdu.h.

#define SMB_COM_QUERY_INFORMATION   0x08 /* aka getattr */

Definition at line 50 of file cifspdu.h.

#define SMB_COM_READ_ANDX   0x2E

Definition at line 56 of file cifspdu.h.

#define SMB_COM_RENAME   0x07 /* trivial response */

Definition at line 49 of file cifspdu.h.

#define SMB_COM_SESSION_SETUP_ANDX   0x73

Definition at line 63 of file cifspdu.h.

#define SMB_COM_SETATTR   0x09 /* trivial response */

Definition at line 51 of file cifspdu.h.

#define SMB_COM_TRANSACTION2   0x32

Definition at line 58 of file cifspdu.h.

#define SMB_COM_TRANSACTION2_SECONDARY   0x33

Definition at line 59 of file cifspdu.h.

#define SMB_COM_TREE_CONNECT_ANDX   0x75

Definition at line 65 of file cifspdu.h.

#define SMB_COM_TREE_DISCONNECT   0x71 /* trivial response */

Definition at line 61 of file cifspdu.h.

#define SMB_COM_WRITE_ANDX   0x2F

Definition at line 57 of file cifspdu.h.

#define SMB_CSC_CACHE_AUTO_REINT   0x0004

Definition at line 765 of file cifspdu.h.

#define SMB_CSC_CACHE_MANUAL_REINT   0x0000

Definition at line 764 of file cifspdu.h.

#define SMB_CSC_CACHE_VDO   0x0008

Definition at line 766 of file cifspdu.h.

#define SMB_CSC_MASK   0x000C

Definition at line 762 of file cifspdu.h.

#define SMB_CSC_NO_CACHING   0x000C

Definition at line 767 of file cifspdu.h.

#define SMB_EXTENDED_SIGNATURES   0x0020

Definition at line 769 of file cifspdu.h.

#define SMB_FILE_ALL_INFO2   0x3fa

Definition at line 1602 of file cifspdu.h.

#define SMB_FILE_MAXIMUM_INFO   0x40d

Definition at line 1608 of file cifspdu.h.

#define SMB_FILE_MOVE_CLUSTER_INFO   0x407

Definition at line 1605 of file cifspdu.h.

#define SMB_FILE_QUOTA_INFO   0x408

Definition at line 1606 of file cifspdu.h.

#define SMB_FILE_REPARSEPOINT_INFO   0x409

Definition at line 1607 of file cifspdu.h.

#define SMB_FIND_FILE_BOTH_DIRECTORY_INFO   0x104

Definition at line 1617 of file cifspdu.h.

#define SMB_FIND_FILE_DIRECTORY_INFO   0x101

Definition at line 1614 of file cifspdu.h.

#define SMB_FIND_FILE_FULL_DIRECTORY_INFO   0x102

Definition at line 1615 of file cifspdu.h.

#define SMB_FIND_FILE_ID_BOTH_DIR_INFO   0x106

Definition at line 1619 of file cifspdu.h.

#define SMB_FIND_FILE_ID_FULL_DIR_INFO   0x105

Definition at line 1618 of file cifspdu.h.

#define SMB_FIND_FILE_INFO_STANDARD   0x001

Definition at line 1611 of file cifspdu.h.

#define SMB_FIND_FILE_NAMES_INFO   0x103

Definition at line 1616 of file cifspdu.h.

#define SMB_FIND_FILE_QUERY_EA_SIZE   0x002

Definition at line 1612 of file cifspdu.h.

#define SMB_FIND_FILE_QUERY_EAS_FROM_LIST   0x003

Definition at line 1613 of file cifspdu.h.

#define SMB_FIND_FILE_UNIX   0x202

Definition at line 1620 of file cifspdu.h.

#define SMB_INFO_ALLOCATION   1

Definition at line 1842 of file cifspdu.h.

#define SMB_INFO_IS_NAME_VALID   6

Definition at line 1557 of file cifspdu.h.

#define SMB_INFO_QUERY_ALL_EAS   4

Definition at line 1556 of file cifspdu.h.

#define SMB_INFO_QUERY_EAS_FROM_LIST   3

Definition at line 1555 of file cifspdu.h.

#define SMB_INFO_STANDARD   1

Definition at line 1552 of file cifspdu.h.

#define SMB_INFO_VOLUME   2

Definition at line 1843 of file cifspdu.h.

#define SMB_O_APPEND   0x80

Definition at line 2343 of file cifspdu.h.

#define SMB_O_CREAT   0x10

Definition at line 2340 of file cifspdu.h.

#define SMB_O_DIRECT   0x800

Definition at line 2347 of file cifspdu.h.

#define SMB_O_DIRECTORY   0x200

Definition at line 2345 of file cifspdu.h.

#define SMB_O_EXCL   0x20

Definition at line 2341 of file cifspdu.h.

#define SMB_O_NOFOLLOW   0x400

Definition at line 2346 of file cifspdu.h.

#define SMB_O_RDONLY   0x1

Definition at line 2337 of file cifspdu.h.

#define SMB_O_RDWR   0x4

Definition at line 2339 of file cifspdu.h.

#define SMB_O_SYNC   0x100

Definition at line 2344 of file cifspdu.h.

#define SMB_O_TRUNC   0x40

Definition at line 2342 of file cifspdu.h.

#define SMB_O_WRONLY   0x2

Definition at line 2338 of file cifspdu.h.

#define SMB_POSIX_OPEN   0x209

Definition at line 1597 of file cifspdu.h.

#define SMB_POSIX_UNLINK   0x20a

Definition at line 1598 of file cifspdu.h.

#define SMB_POSIX_UNLINK_DIRECTORY_TARGET   1

Definition at line 2366 of file cifspdu.h.

#define SMB_POSIX_UNLINK_FILE_TARGET   0

Definition at line 2365 of file cifspdu.h.

#define SMB_QUERY_ALT_NAME_INFO   0x108

Definition at line 1565 of file cifspdu.h.

#define SMB_QUERY_ATTR_FLAGS   0x206 /* append,immutable etc. */

Definition at line 1572 of file cifspdu.h.

#define SMB_QUERY_CIFS_UNIX_INFO   0x200

Definition at line 1848 of file cifspdu.h.

#define SMB_QUERY_FILE__UNIX_INFO2   0x20b

Definition at line 1577 of file cifspdu.h.

#define SMB_QUERY_FILE_ACCESS_INFO   0x3f0

Definition at line 1579 of file cifspdu.h.

#define SMB_QUERY_FILE_ALGN_INFO   0x3f9

Definition at line 1583 of file cifspdu.h.

#define SMB_QUERY_FILE_ALL_INFO   0x107

Definition at line 1564 of file cifspdu.h.

#define SMB_QUERY_FILE_ALLOCATION_INFO   0x105

Definition at line 1562 of file cifspdu.h.

#define SMB_QUERY_FILE_BASIC_INFO   0x101

Definition at line 1558 of file cifspdu.h.

#define SMB_QUERY_FILE_COMPRESSION_INFO   0x10B

Definition at line 1567 of file cifspdu.h.

#define SMB_QUERY_FILE_EA_INFO   0x103

Definition at line 1560 of file cifspdu.h.

#define SMB_QUERY_FILE_EA_SIZE   2

Definition at line 1554 of file cifspdu.h.

#define SMB_QUERY_FILE_END_OF_FILEINFO   0x106

Definition at line 1563 of file cifspdu.h.

#define SMB_QUERY_FILE_INTERNAL_INFO   0x3ee

Definition at line 1578 of file cifspdu.h.

#define SMB_QUERY_FILE_MODE_INFO   0x3f8

Definition at line 1582 of file cifspdu.h.

#define SMB_QUERY_FILE_NAME_INFO   0x104

Definition at line 1561 of file cifspdu.h.

#define SMB_QUERY_FILE_NAME_INFO2   0x3f1 /* 0x30 bytes */

Definition at line 1580 of file cifspdu.h.

#define SMB_QUERY_FILE_POSITION_INFO   0x3f6

Definition at line 1581 of file cifspdu.h.

#define SMB_QUERY_FILE_STANDARD_INFO   0x102

Definition at line 1559 of file cifspdu.h.

#define SMB_QUERY_FILE_STREAM_INFO   0x109

Definition at line 1566 of file cifspdu.h.

#define SMB_QUERY_FILE_UNIX_BASIC   0x200

Definition at line 1568 of file cifspdu.h.

#define SMB_QUERY_FILE_UNIX_LINK   0x201

Definition at line 1569 of file cifspdu.h.

#define SMB_QUERY_FS_ATTRIBUTE_INFO   0x105

Definition at line 1847 of file cifspdu.h.

#define SMB_QUERY_FS_DEVICE_INFO   0x104

Definition at line 1846 of file cifspdu.h.

#define SMB_QUERY_FS_FULL_SIZE_INFO   0x3ef

Definition at line 1855 of file cifspdu.h.

#define SMB_QUERY_FS_PROXY
Value:
0x204 /* WAFS enabled. Returns structure
FILE_SYSTEM__UNIX_INFO to tell
whether new NTIOCTL available
(0xACE) for WAN friendly SMB
operations to be carried */

Definition at line 1852 of file cifspdu.h.

#define SMB_QUERY_FS_QUOTA_INFO   0x3ee

Definition at line 1854 of file cifspdu.h.

#define SMB_QUERY_FS_SIZE_INFO   0x103

Definition at line 1845 of file cifspdu.h.

#define SMB_QUERY_FS_VOLUME_INFO   0x102

Definition at line 1844 of file cifspdu.h.

#define SMB_QUERY_LABEL_INFO   0x3ea

Definition at line 1853 of file cifspdu.h.

#define SMB_QUERY_OBJECTID_INFO   0x3f0

Definition at line 1856 of file cifspdu.h.

#define SMB_QUERY_POSIX_ACL   0x204

Definition at line 1570 of file cifspdu.h.

#define SMB_QUERY_POSIX_FS_INFO   0x201

Definition at line 1849 of file cifspdu.h.

#define SMB_QUERY_POSIX_LOCK   0x208

Definition at line 1574 of file cifspdu.h.

#define SMB_QUERY_POSIX_PERMISSION   0x207

Definition at line 1573 of file cifspdu.h.

#define SMB_QUERY_POSIX_WHO_AM_I   0x202

Definition at line 1850 of file cifspdu.h.

#define SMB_QUERY_XATTR   0x205 /* e.g. system EA name space */

Definition at line 1571 of file cifspdu.h.

#define SMB_REQUEST_TRANSPORT_ENCRYPTION   0x203

Definition at line 1851 of file cifspdu.h.

#define SMB_SET_ATTR_FLAGS   0x206 /* append, immutable etc. */

Definition at line 1595 of file cifspdu.h.

#define SMB_SET_CIFS_UNIX_INFO   0x200

Definition at line 1902 of file cifspdu.h.

#define SMB_SET_FILE_ALLOCATION_INFO   0x103

Definition at line 1588 of file cifspdu.h.

#define SMB_SET_FILE_ALLOCATION_INFO2   0x3fb

Definition at line 1603 of file cifspdu.h.

#define SMB_SET_FILE_BASIC_INFO   0x101

Definition at line 1586 of file cifspdu.h.

#define SMB_SET_FILE_BASIC_INFO2   0x3ec

Definition at line 1600 of file cifspdu.h.

#define SMB_SET_FILE_DISPOSITION_INFO   0x102

Definition at line 1587 of file cifspdu.h.

#define SMB_SET_FILE_EA   2

Definition at line 1553 of file cifspdu.h.

#define SMB_SET_FILE_END_OF_FILE_INFO   0x104

Definition at line 1589 of file cifspdu.h.

#define SMB_SET_FILE_END_OF_FILE_INFO2   0x3fc

Definition at line 1604 of file cifspdu.h.

#define SMB_SET_FILE_RENAME_INFORMATION   0x3f2 /* BB check if qpathinfo too */

Definition at line 1601 of file cifspdu.h.

#define SMB_SET_FILE_UNIX_BASIC   0x200

Definition at line 1590 of file cifspdu.h.

#define SMB_SET_FILE_UNIX_HLINK   0x203

Definition at line 1592 of file cifspdu.h.

#define SMB_SET_FILE_UNIX_INFO2   0x20b

Definition at line 1599 of file cifspdu.h.

#define SMB_SET_FILE_UNIX_LINK   0x201

Definition at line 1591 of file cifspdu.h.

#define SMB_SET_POSIX_ACL   0x204

Definition at line 1593 of file cifspdu.h.

#define SMB_SET_POSIX_LOCK   0x208

Definition at line 1596 of file cifspdu.h.

#define SMB_SET_XATTR   0x205

Definition at line 1594 of file cifspdu.h.

#define SMB_SHARE_IS_IN_DFS   0x0002

Definition at line 761 of file cifspdu.h.

#define SMB_SUPPORT_SEARCH_BITS
Value:
0x0001 /* "must have" directory search bits
(exclusive searches supported) */

Definition at line 760 of file cifspdu.h.

#define SMB_UNIQUE_FILE_NAME   0x0010

Definition at line 768 of file cifspdu.h.

#define SMBFLG2_COMPRESSED   (8)

Definition at line 191 of file cifspdu.h.

#define SMBFLG2_DFS   cpu_to_le16(0x1000)

Definition at line 196 of file cifspdu.h.

#define SMBFLG2_ERR_STATUS   cpu_to_le16(0x4000)

Definition at line 198 of file cifspdu.h.

#define SMBFLG2_EXT_SEC   cpu_to_le16(0x800)

Definition at line 195 of file cifspdu.h.

#define SMBFLG2_IS_LONG_NAME   cpu_to_le16(0x40)

Definition at line 193 of file cifspdu.h.

#define SMBFLG2_KNOWS_EAS   cpu_to_le16(2)

Definition at line 189 of file cifspdu.h.

#define SMBFLG2_KNOWS_LONG_NAMES
Value:
cpu_to_le16(1) /* can send long (non-8.3)
path names in response */

Definition at line 188 of file cifspdu.h.

#define SMBFLG2_PAGING_IO   cpu_to_le16(0x2000)

Definition at line 197 of file cifspdu.h.

#define SMBFLG2_REPARSE_PATH   (0x400)

Definition at line 194 of file cifspdu.h.

#define SMBFLG2_SECURITY_SIGNATURE   cpu_to_le16(4)

Definition at line 190 of file cifspdu.h.

#define SMBFLG2_SECURITY_SIGNATURE_REQUIRED   (0x10)

Definition at line 192 of file cifspdu.h.

#define SMBFLG2_UNICODE   cpu_to_le16(0x8000)

Definition at line 199 of file cifspdu.h.

#define SMBFLG_CANONICAL_PATH_FORMAT   0x10 /* obsolete */

Definition at line 180 of file cifspdu.h.

#define SMBFLG_CASELESS
Value:
0x08 /* all pathnames treated as caseless (off
implies case sensitive file handling request) */

Definition at line 179 of file cifspdu.h.

#define SMBFLG_EXTD_LOCK   0x01 /* server supports lock-read write-unlock smb */

Definition at line 176 of file cifspdu.h.

#define SMBFLG_OLD_OPLOCK   0x20 /* obsolete */

Definition at line 181 of file cifspdu.h.

#define SMBFLG_OLD_OPLOCK_NOTIFY   0x40 /* obsolete */

Definition at line 182 of file cifspdu.h.

#define SMBFLG_RCV_POSTED   0x02 /* obsolete */

Definition at line 177 of file cifspdu.h.

#define SMBFLG_RESPONSE   0x80 /* this PDU is a response from server */

Definition at line 183 of file cifspdu.h.

#define SMBFLG_RSVD   0x04

Definition at line 178 of file cifspdu.h.

#define SMBOPEN_DENY_ALL   0x0010

Definition at line 160 of file cifspdu.h.

#define SMBOPEN_DENY_NONE   0x0040

Definition at line 163 of file cifspdu.h.

#define SMBOPEN_DENY_READ   0x0030

Definition at line 162 of file cifspdu.h.

#define SMBOPEN_DENY_WRITE   0x0020

Definition at line 161 of file cifspdu.h.

#define SMBOPEN_EXECUTE   0x0003

Definition at line 167 of file cifspdu.h.

#define SMBOPEN_OAPPEND   0x0001

Definition at line 171 of file cifspdu.h.

#define SMBOPEN_OCREATE   0x0010

Definition at line 169 of file cifspdu.h.

#define SMBOPEN_OTRUNC   0x0002

Definition at line 170 of file cifspdu.h.

#define SMBOPEN_READ   0x0000

Definition at line 164 of file cifspdu.h.

#define SMBOPEN_READWRITE   0x0002

Definition at line 166 of file cifspdu.h.

#define SMBOPEN_WRITE   0x0001

Definition at line 165 of file cifspdu.h.

#define SMBOPEN_WRITE_THROUGH   0x4000

Definition at line 159 of file cifspdu.h.

#define SYNCHRONIZE   0x00100000 /* The file handle can waited on to */

Definition at line 233 of file cifspdu.h.

#define TCON_EXTENDED_SECINFO   0x0008

Definition at line 757 of file cifspdu.h.

#define TCON_EXTENDED_SIGNATURES   0x0004

Definition at line 756 of file cifspdu.h.

#define TRANS2_FIND_FIRST   0x01

Definition at line 74 of file cifspdu.h.

#define TRANS2_FIND_NEXT   0x02

Definition at line 75 of file cifspdu.h.

#define TRANS2_GET_DFS_REFERRAL   0x10

Definition at line 82 of file cifspdu.h.

#define TRANS2_OPEN   0x00

Definition at line 73 of file cifspdu.h.

#define TRANS2_QUERY_FILE_INFORMATION   0x07

Definition at line 80 of file cifspdu.h.

#define TRANS2_QUERY_FS_INFORMATION   0x03

Definition at line 76 of file cifspdu.h.

#define TRANS2_QUERY_PATH_INFORMATION   0x05

Definition at line 78 of file cifspdu.h.

#define TRANS2_REPORT_DFS_INCOSISTENCY   0x11

Definition at line 83 of file cifspdu.h.

#define TRANS2_SET_FILE_INFORMATION   0x08

Definition at line 81 of file cifspdu.h.

#define TRANS2_SET_FS_INFORMATION   0x04

Definition at line 77 of file cifspdu.h.

#define TRANS2_SET_PATH_INFORMATION   0x06

Definition at line 79 of file cifspdu.h.

#define TRANS_CALL_NMPIPE   0x0054

Definition at line 96 of file cifspdu.h.

#define TRANS_PEEK_NMPIPE   0x0023

Definition at line 90 of file cifspdu.h.

#define TRANS_QUERY_NMPIPE_INFO   0x0022

Definition at line 89 of file cifspdu.h.

#define TRANS_QUERY_NMPIPE_STATE   0x0021

Definition at line 88 of file cifspdu.h.

#define TRANS_RAW_READ_NMPIPE   0x0011

Definition at line 87 of file cifspdu.h.

#define TRANS_RAW_WRITE_NMPIPE   0x0031

Definition at line 92 of file cifspdu.h.

#define TRANS_READ_NMPIPE   0x0036

Definition at line 93 of file cifspdu.h.

#define TRANS_SET_NMPIPE_STATE   0x0001

Definition at line 86 of file cifspdu.h.

#define TRANS_TRANSACT_NMPIPE   0x0026

Definition at line 91 of file cifspdu.h.

#define TRANS_WAIT_NMPIPE   0x0053

Definition at line 95 of file cifspdu.h.

#define TRANS_WRITE_NMPIPE   0x0037

Definition at line 94 of file cifspdu.h.

#define UNICODE_NULL   "\x00\x00"

Definition at line 287 of file cifspdu.h.

#define UNIX_BLOCKDEV   4

Definition at line 2214 of file cifspdu.h.

#define UNIX_CHARDEV   3

Definition at line 2213 of file cifspdu.h.

#define UNIX_DIR   1

Definition at line 2211 of file cifspdu.h.

#define UNIX_FIFO   5

Definition at line 2215 of file cifspdu.h.

#define UNIX_FILE   0

Definition at line 2210 of file cifspdu.h.

#define UNIX_SOCKET   6

Definition at line 2216 of file cifspdu.h.

#define UNIX_SYMLINK   2

Definition at line 2212 of file cifspdu.h.

#define UNKNOWN_TYPE   0xFFFF

Definition at line 861 of file cifspdu.h.

#define WRITE_DAC   0x00040000 /* The access control list and */

Definition at line 228 of file cifspdu.h.

#define WRITE_OWNER   0x00080000 /* Ownership information associated */

Definition at line 231 of file cifspdu.h.

#define WRITE_RAW_ENABLE   2

Definition at line 528 of file cifspdu.h.

Function Documentation

struct @6820 __attribute__::__attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

typedef __attribute__
__le16 Access

Definition at line 995 of file cifspdu.h.

__le16 access_entry_count

Definition at line 2321 of file cifspdu.h.

unsigned char AccountPassword

Definition at line 673 of file cifspdu.h.

struct cifs_posix_ace ace_array[0]

Definition at line 2323 of file cifspdu.h.

__le32 AclFlags

Definition at line 1396 of file cifspdu.h.

__le32 Action

Definition at line 646 of file cifspdu.h.

char aliasName[9]

Definition at line 2069 of file cifspdu.h.

int aliasNameOffset

Definition at line 2075 of file cifspdu.h.

__le64 AllocationSize

Definition at line 903 of file cifspdu.h.

__u8 alt_name[1]

Definition at line 2286 of file cifspdu.h.

__u16 AltNameLen

Definition at line 1489 of file cifspdu.h.

__u16 AltNameOffset

Definition at line 1488 of file cifspdu.h.

__u8 AndXCommand

Definition at line 605 of file cifspdu.h.

__le16 AndXOffset

Definition at line 607 of file cifspdu.h.

__u8 AndXReserved

Definition at line 606 of file cifspdu.h.

__le16 attr

Definition at line 1251 of file cifspdu.h.

__le32 Attribute

Definition at line 2384 of file cifspdu.h.

__le32 blob_signature

Definition at line 700 of file cifspdu.h.

__u8 BufferFormat

Definition at line 1151 of file cifspdu.h.

__u16 ByteCount

Definition at line 503 of file cifspdu.h.

__le32 Capabilities

Definition at line 565 of file cifspdu.h.

unsigned char CaseInsensitivePassword

Definition at line 640 of file cifspdu.h.

__le16 CaseInsensitivePasswordLength

Definition at line 635 of file cifspdu.h.

__le16 CaseSensitivePasswordLength

Definition at line 636 of file cifspdu.h.

__u8 ch_shift

Definition at line 2306 of file cifspdu.h.

__le64 ChangeTime

Definition at line 934 of file cifspdu.h.

__u8 cifs_e_perm

Definition at line 2312 of file cifspdu.h.

__u8 cifs_e_tag

Definition at line 2311 of file cifspdu.h.

__le64 cifs_uid

Definition at line 2313 of file cifspdu.h.

__le32 CifsError

Definition at line 413 of file cifspdu.h.

__u8 cl_shift

Definition at line 2307 of file cifspdu.h.

__u64 client_chal

Definition at line 703 of file cifspdu.h.

__le64 ClientUnixCap

Definition at line 1956 of file cifspdu.h.

__le16 ClientUnixMajor

Definition at line 1954 of file cifspdu.h.

__le16 ClientUnixMinor

Definition at line 1955 of file cifspdu.h.

__le32 ClusterCount

Definition at line 1195 of file cifspdu.h.

__u8 Command

Definition at line 429 of file cifspdu.h.

unsigned int commentOffset

Definition at line 2054 of file cifspdu.h.

__le32 CompletionFilter

Definition at line 1439 of file cifspdu.h.

sle64 compressed_size

Definition at line 2303 of file cifspdu.h.

__le16 CopyCount

Definition at line 1177 of file cifspdu.h.

__le16 Count

Definition at line 1045 of file cifspdu.h.

__le16 CountHigh

Definition at line 1047 of file cifspdu.h.

__le32 CreateAction

Definition at line 930 of file cifspdu.h.

__le32 CreateDisposition

Definition at line 906 of file cifspdu.h.

__le32 CreateOptions

Definition at line 907 of file cifspdu.h.

__le32 CreateTime

Definition at line 977 of file cifspdu.h.

__le64 CreationTime

Definition at line 931 of file cifspdu.h.

__u8 Data[1]

Definition at line 790 of file cifspdu.h.

Definition at line 2514 of file cifspdu.h.

__le16 DataCompactionMode

Definition at line 1092 of file cifspdu.h.

__le16 DataCount

Definition at line 1303 of file cifspdu.h.

__le16 DataDisplacement

Definition at line 1320 of file cifspdu.h.

__le16 DataLength

Definition at line 1094 of file cifspdu.h.

__le16 DataLengthHigh

Definition at line 1038 of file cifspdu.h.

__le16 DataLengthLow

Definition at line 1019 of file cifspdu.h.

__le16 DataOffset

Definition at line 1020 of file cifspdu.h.

__le16 Date

Definition at line 521 of file cifspdu.h.

__le16 default_entry_count

Definition at line 2322 of file cifspdu.h.

__le32 DesiredAccess

Definition at line 902 of file cifspdu.h.

__le16 DeviceState

Definition at line 939 of file cifspdu.h.

__le16 DfsAlternatePathOffset

Definition at line 2020 of file cifspdu.h.

__le32 DFSFlags

Definition at line 2032 of file cifspdu.h.

__le16 DfsPathOffset

Definition at line 2019 of file cifspdu.h.

__le16 DialectIndex

Definition at line 527 of file cifspdu.h.

unsigned char DialectsArray[1]

Definition at line 504 of file cifspdu.h.

__u8 DirectoryFlag

Definition at line 940 of file cifspdu.h.

unsigned char DirName

Definition at line 1220 of file cifspdu.h.

unsigned char EA_flags

Definition at line 2500 of file cifspdu.h.

__le16 EAErrorOffset

Definition at line 1802 of file cifspdu.h.

__le16 EchoCount

Definition at line 788 of file cifspdu.h.

unsigned char EncryptionKey

Definition at line 542 of file cifspdu.h.

__u8 EncryptionKeyLength

Definition at line 539 of file cifspdu.h.

__le32 EndOfFile

Definition at line 937 of file cifspdu.h.

__le16 EndofSearch

Definition at line 1801 of file cifspdu.h.

__le16 Error

Definition at line 408 of file cifspdu.h.

__u8 ErrorClass

Definition at line 406 of file cifspdu.h.

unsigned char ErrorFileName[1]

Definition at line 1180 of file cifspdu.h.

__u16 Fid

Definition at line 929 of file cifspdu.h.

__le16 FileAttributes

Definition at line 904 of file cifspdu.h.

__u16 FileID

Definition at line 831 of file cifspdu.h.

__u32 FileId

Definition at line 967 of file cifspdu.h.

unsigned char fileName

Definition at line 911 of file cifspdu.h.

char FileName

Definition at line 1244 of file cifspdu.h.

__le32 FileNameLength

Definition at line 1476 of file cifspdu.h.

__u16 FileNum

Definition at line 1952 of file cifspdu.h.

__le64 FileSize

Definition at line 2282 of file cifspdu.h.

__le16 FileType

Definition at line 938 of file cifspdu.h.

__le16 Flags

Definition at line 438 of file cifspdu.h.

__u32 flags

Definition at line 1900 of file cifspdu.h.

__le16 Flags2

Definition at line 439 of file cifspdu.h.

Definition at line 2304 of file cifspdu.h.

static void free

Definition at line 2516 of file cifspdu.h.

__le32 FunctionCode

Definition at line 1349 of file cifspdu.h.

__le32 GuestMaximalAccessRights

Definition at line 969 of file cifspdu.h.

__le32 GuestMaximalShareAccessRights

Definition at line 758 of file cifspdu.h.

unsigned char GUID[16]

Definition at line 555 of file cifspdu.h.

__u64 hard_limit

Definition at line 1500 of file cifspdu.h.

Definition at line 502 of file cifspdu.h.

__le32 ImpersonationLevel

Definition at line 908 of file cifspdu.h.

__le16 InformationLevel

Definition at line 1665 of file cifspdu.h.

__le16 IPCState

Definition at line 997 of file cifspdu.h.

__u8 IsFsctl

Definition at line 1351 of file cifspdu.h.

__u8 IsRootFlag

Definition at line 1352 of file cifspdu.h.

__le32 last_write_time

Definition at line 1252 of file cifspdu.h.

__le64 LastAccessTime

Definition at line 932 of file cifspdu.h.

__le16 LastNameOffset

Definition at line 1803 of file cifspdu.h.

__le32 LastWriteTime

Definition at line 832 of file cifspdu.h.

size_t length

Definition at line 690 of file cifspdu.h.

__u32 length_of_sid_array

Definition at line 1906 of file cifspdu.h.

__le32 LengthHigh

Definition at line 1100 of file cifspdu.h.

__le32 LengthLow

Definition at line 1101 of file cifspdu.h.

char LinkNamesBuf[1]

Definition at line 1492 of file cifspdu.h.

Definition at line 2493 of file cifspdu.h.

__le32 list_len

Definition at line 2492 of file cifspdu.h.

__le16 lock_flags

Definition at line 1131 of file cifspdu.h.

__le16 lock_type

Definition at line 1130 of file cifspdu.h.

LOCKING_ANDX_RANGE Locks[1]

Definition at line 1128 of file cifspdu.h.

__u8 LockType

Definition at line 1122 of file cifspdu.h.

__le64 major

Definition at line 2483 of file cifspdu.h.

__u32 mask

Definition at line 1901 of file cifspdu.h.

__le16 MaxBufferSize

Definition at line 562 of file cifspdu.h.

__le16 MaxBufSize

Definition at line 529 of file cifspdu.h.

__le16 MaxCount

Definition at line 1062 of file cifspdu.h.

__le32 MaxCountHigh

Definition at line 1079 of file cifspdu.h.

__le16 MaxDataCount

Definition at line 1300 of file cifspdu.h.

__le32 MaximalAccessRights

Definition at line 968 of file cifspdu.h.

__le32 MaximalShareAccessRights

Definition at line 757 of file cifspdu.h.

__le16 MaxMpxCount

Definition at line 530 of file cifspdu.h.

__le16 MaxNumberVcs

Definition at line 531 of file cifspdu.h.

__le16 MaxParameterCount

Definition at line 1299 of file cifspdu.h.

__le32 MaxRawSize

Definition at line 563 of file cifspdu.h.

__le16 MaxReferralLevel

Definition at line 2013 of file cifspdu.h.

__u8 MaxSetupCount

Definition at line 1295 of file cifspdu.h.

__u16 Mid

Definition at line 452 of file cifspdu.h.

__le16 MinCount

Definition at line 1063 of file cifspdu.h.

__le64 minor

Definition at line 2484 of file cifspdu.h.

Definition at line 974 of file cifspdu.h.

char name[1]

Definition at line 2050 of file cifspdu.h.

__u8 name_len

Definition at line 2487 of file cifspdu.h.

__le16 NameLength

Definition at line 899 of file cifspdu.h.

unsigned char NativeOS

Definition at line 680 of file cifspdu.h.

__le16 NetworkAddressOffset

Definition at line 2021 of file cifspdu.h.

__le32 NextEntryOffset

Definition at line 1474 of file cifspdu.h.

char ntlmv2_hash[CIFS_ENCPWD_SIZE]

Definition at line 699 of file cifspdu.h.

__u32 number_of_sids

Definition at line 1905 of file cifspdu.h.

__u32 number_of_supplementary_gids

Definition at line 1904 of file cifspdu.h.

__le16 NumberOfLocks

Definition at line 1126 of file cifspdu.h.

__le16 NumberOfReferrals

Definition at line 2031 of file cifspdu.h.

__le16 NumberOfUnlocks

Definition at line 1125 of file cifspdu.h.

__le32 OffsetHigh

Definition at line 1041 of file cifspdu.h.

__le32 OffsetLow

Definition at line 1014 of file cifspdu.h.

unsigned char OldFileName

Definition at line 1152 of file cifspdu.h.

__le16 OpenFlags

Definition at line 900 of file cifspdu.h.

__le16 OpenFunction

Definition at line 978 of file cifspdu.h.

__u8 OplockLevel

Definition at line 928 of file cifspdu.h.

__le16 OptionalSupport

Definition at line 743 of file cifspdu.h.

__le32 overwrite

Definition at line 1693 of file cifspdu.h.

__u8 pad[3]

Definition at line 448 of file cifspdu.h.

__u8 Pad

Definition at line 1022 of file cifspdu.h.

__u16 Pad1

Definition at line 1698 of file cifspdu.h.

__le16 ParameterCount

Definition at line 1301 of file cifspdu.h.

__le16 ParameterDisplacement

Definition at line 1317 of file cifspdu.h.

__le16 ParameterOffset

Definition at line 1302 of file cifspdu.h.

__u8 Parms[0]

Definition at line 1311 of file cifspdu.h.

unsigned char Password[1]

Definition at line 735 of file cifspdu.h.

__le16 PasswordLength

Definition at line 670 of file cifspdu.h.

__le16 PathConsumed

Definition at line 2030 of file cifspdu.h.

__le16 Pid

Definition at line 450 of file cifspdu.h.

Definition at line 1132 of file cifspdu.h.

__le16 PidHigh

Definition at line 440 of file cifspdu.h.

Definition at line 428 of file cifspdu.h.

__le16 RawMode

Definition at line 532 of file cifspdu.h.

__le16 ReferralEntryFlags

Definition at line 2017 of file cifspdu.h.

REFERRAL3 referrals[1]

Definition at line 2033 of file cifspdu.h.

__le16 Remaining

Definition at line 1017 of file cifspdu.h.

__u16 ReparseDataLength

Definition at line 1486 of file cifspdu.h.

__le32 ReparseTag

Definition at line 1485 of file cifspdu.h.

char RequestFileName[1]

Definition at line 2014 of file cifspdu.h.

__u8 Reserved

Definition at line 407 of file cifspdu.h.

__le16 reserved[5]

Definition at line 701 of file cifspdu.h.

__u8 Reserved1

Definition at line 1556 of file cifspdu.h.

__u32 reserved2

Definition at line 704 of file cifspdu.h.

__u16 Reserved2

Definition at line 1018 of file cifspdu.h.

__u8 Reserved3

Definition at line 1536 of file cifspdu.h.

__u16 Reserved4

Definition at line 1666 of file cifspdu.h.

char ResumeFileName[1]

Definition at line 1851 of file cifspdu.h.

__u32 ResumeKey

Definition at line 1849 of file cifspdu.h.

__le16 ReturnedDataLen

Definition at line 1362 of file cifspdu.h.

__u32 root_fid

Definition at line 1694 of file cifspdu.h.

__u32 RootDirectoryFid

Definition at line 901 of file cifspdu.h.

__u32 rsrvd1

Definition at line 1495 of file cifspdu.h.

__u64 rsrvd2

Definition at line 1497 of file cifspdu.h.

__le16 Sattr

Definition at line 975 of file cifspdu.h.

__le16 SearchAttributes

Definition at line 1149 of file cifspdu.h.

__le16 SearchCount

Definition at line 1805 of file cifspdu.h.

__le16 SearchFlags

Definition at line 1806 of file cifspdu.h.

__u16 SearchHandle

Definition at line 1799 of file cifspdu.h.

__le32 SearchStorageType

Definition at line 1808 of file cifspdu.h.

unsigned char SecurityBlob

Definition at line 556 of file cifspdu.h.

__le16 SecurityBlobLength

Definition at line 612 of file cifspdu.h.

__u8 SecurityFlags

Definition at line 909 of file cifspdu.h.

__u8 SecurityMode

Definition at line 528 of file cifspdu.h.

__u8 SecuritySignature

Definition at line 422 of file cifspdu.h.

__le16 SequenceNumber

Definition at line 416 of file cifspdu.h.

int serverNameOffset

Definition at line 2076 of file cifspdu.h.

__le16 ServerTimeZone

Definition at line 538 of file cifspdu.h.

__le16 ServerType

Definition at line 2016 of file cifspdu.h.

unsigned char Service

Definition at line 745 of file cifspdu.h.

__u8 ServiceSiteGuid[16]

Definition at line 2022 of file cifspdu.h.

__u32 SessionKey

Definition at line 533 of file cifspdu.h.

__u8 SetupCount

Definition at line 1305 of file cifspdu.h.

__le32 ShareAccess

Definition at line 905 of file cifspdu.h.

char shareName[13]

Definition at line 2062 of file cifspdu.h.

int shareNameOffset

Definition at line 2077 of file cifspdu.h.

char sid[1]

Definition at line 1501 of file cifspdu.h.

__u32 sid_size

Definition at line 1496 of file cifspdu.h.

__le32 size

Definition at line 1253 of file cifspdu.h.

__le16 Size

Definition at line 2015 of file cifspdu.h.

__be32 smb_buf_length

Definition at line 425 of file cifspdu.h.

__u64 soft_limit

Definition at line 1499 of file cifspdu.h.

__u64 space_used

Definition at line 1498 of file cifspdu.h.

__le64 start

Definition at line 1133 of file cifspdu.h.

__le16 SubCommand

Definition at line 1307 of file cifspdu.h.

__le32 SystemTimeHigh

Definition at line 567 of file cifspdu.h.

__le32 SystemTimeLow

Definition at line 566 of file cifspdu.h.

Definition at line 1654 of file cifspdu.h.

Definition at line 1527 of file cifspdu.h.

Definition at line 1551 of file cifspdu.h.

char target_name[0]

Definition at line 1696 of file cifspdu.h.

__le32 target_name_len

Definition at line 1695 of file cifspdu.h.

__u16 TargetNameLen

Definition at line 1491 of file cifspdu.h.

__u16 TargetNameOffset

Definition at line 1490 of file cifspdu.h.

__u16 Tid

Definition at line 449 of file cifspdu.h.

__u16 Tid2

Definition at line 1169 of file cifspdu.h.

__le16 Time

Definition at line 520 of file cifspdu.h.

__le64 time

Definition at line 702 of file cifspdu.h.

__le16 time_high

Definition at line 1264 of file cifspdu.h.

__le16 time_low

Definition at line 1263 of file cifspdu.h.

__le32 Timeout

Definition at line 980 of file cifspdu.h.

__le32 TimeToLive

Definition at line 2018 of file cifspdu.h.

__le16 TotalDataCount

Definition at line 1298 of file cifspdu.h.

__le16 TotalParameterCount

Definition at line 1297 of file cifspdu.h.

unsigned char type[8]

Definition at line 689 of file cifspdu.h.

__u16 Uid

Definition at line 451 of file cifspdu.h.

__le64 UniqueId

Definition at line 2375 of file cifspdu.h.

__u8 unit_shift

Definition at line 2305 of file cifspdu.h.

__u64 unix_user_gid

Definition at line 1903 of file cifspdu.h.

__u64 unix_user_id

Definition at line 1902 of file cifspdu.h.

__le32 value_len

Definition at line 2502 of file cifspdu.h.

__le16 VcNumber

Definition at line 610 of file cifspdu.h.

__le16 version

Definition at line 2320 of file cifspdu.h.

unsigned char versionMajor

Definition at line 2051 of file cifspdu.h.

unsigned char versionMinor

Definition at line 2052 of file cifspdu.h.

__le16 VersionNumber

Definition at line 2014 of file cifspdu.h.

__u8 VolumeGUID[16]

Definition at line 966 of file cifspdu.h.

__u8 WatchTree

Definition at line 1441 of file cifspdu.h.

__u8 WordCount

Definition at line 453 of file cifspdu.h.

__le16 WriteMode

Definition at line 1016 of file cifspdu.h.