Home
last modified time | relevance | path

Searched full:smb2 (Results 1 – 25 of 53) sorted by relevance

123

/linux/fs/smb/common/
H A Dsmb2pdu.h11 * SMB2 commands
91 * The default wsize is 1M for SMB2 (and for some CIFS cases).
99 * SMB2 Header Definition
116 * SMB2 flag definitions
127 * Definitions for SMB2 Protocol Data Units (network frames)
129 * See MS-SMB2.PDF specification for protocol details.
130 * The Naming convention is the lower case version of the SMB2
135 /* See MS-SMB2 section 2.2.1 */
161 __le16 ChannelSequence; /* See MS-SMB2 3.2.4.1 and 3.2.7.1 */
220 * See MS-SMB2 2.2.42 for more details.
[all …]
H A Dsmbfsctl.h3 * SMB, CIFS, SMB2 FSCTL definitions
13 * future to remote clients like cifs or SMB2/SMB3 client. This is probably
22 * See MS-SMB2 Section 2.2.31 (last checked September 2021, all of that list are
/linux/fs/smb/client/
H A Dsmb2pdu.h21 /* The total header size for SMB2 read and write */
24 /* See MS-SMB2 2.2.43 */
28 __le32 Channel; /* for values see channel description in smb2 read above */
49 * Definitions for SMB2 Protocol Data Units (network frames)
51 * See MS-SMB2.PDF specification for protocol details.
52 * The Naming convention is the lower case version of the SMB2
78 /* SMB 3.1.1 and later dialects. See MS-SMB2 section 2.2.2.1 */
89 /* Defines for Type field below (see MS-SMB2 2.2.2.2.2.1) */
126 * Maximum size of a SMB2_CREATE response is 64 (smb2 header) +
137 /* See MS-SMB2 2.2.13.2.11 */
[all …]
H A DKconfig27 SMB2.1, SMB2 and even the old Common Internet File System (CIFS)
37 older than SMB2.1 is often discouraged on public networks.
74 Modern dialects, SMB2.1 and later (including SMB3 and 3.1.1), have
77 of legacy dialects (SMB1/CIFS and SMB2.0) is discouraged.
H A Dsmb2misc.c54 * The following table defines the expected "StructureSize" of SMB2 responses
55 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS responses.
187 cifs_dbg(VFS, "Invalid SMB2 command %d\n", command); in smb2_check_message()
222 /* special case for SMB2.1 lease break message */ in smb2_check_message()
259 * MacOS server pads after SMB2.1 write response with 3 bytes in smb2_check_message()
261 * SMB2/SMB3 frame length (header + smb2 response specific data) in smb2_check_message()
284 * located in different fields for various SMB2 responses. SMB2 responses
430 cifs_dbg(FYI, "SMB2 data length %d offset %d\n", data_length, offset); in smb2_calc_size()
440 cifs_dbg(VFS, "data area offset %d overlaps SMB2 header %d\n", in smb2_calc_size()
448 cifs_dbg(FYI, "SMB2 len %d\n", len); in smb2_calc_size()
[all …]
H A Dcompress.h7 * This file implements I/O compression support for SMB2 messages (SMB 3.1.1 only).
11 * MS-SMB2 "3.1.4.4 Compressing the Message" - for compression details
12 * MS-SMB2 "3.1.5.3 Decompressing the Chained Message" - for decompression details
H A Dsmb2pdu.c9 * Contains the routines for constructing the SMB2 PDUs themselves
13 /* SMB2 PDU handling routines here - except for leftovers (eg session setup) */
48 * The following table defines the expected "StructureSize" of SMB2 requests
49 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS requests.
135 /* GLOBAL_CAP_LARGE_MTU will only be set if dialect > SMB2.02 */ in smb2_hdr_assemble()
136 /* See sections 2.2.4 and 3.2.4.1.5 of MS-SMB2 */ in smb2_hdr_assemble()
150 * setting this flag breaks the SMB2 open operation since it is in smb2_hdr_assemble()
528 /* BB eventually switch this to SMB2 specific small buf size */ in __smb2_plain_req_init()
583 /* For explanation of negotiate contexts see MS-SMB2 section 2.2.3.1 */
935 * 2.2.4 SMB2 NEGOTIATE Response in smb311_decode_neg_context()
[all …]
H A Dxattr.c31 * secure, replaced by SMB2 (then even more highly secure SMB3) many years ago
434 * longer secure and was replaced by SMB2/SMB3 a long time ago, and
454 * longer secure and was replaced by SMB2/SMB3 a long time ago, and
474 * longer secure and was replaced by SMB2/SMB3 a long time ago, and
H A Dcompress.c7 * This file implements I/O compression support for SMB2 messages (SMB 3.1.1 only).
11 * MS-SMB2 "3.1.4.4 Compressing the Message"
12 * MS-SMB2 "3.1.5.3 Decompressing the Chained Message"
H A DMakefile3 # Makefile for Linux CIFS/SMB2/SMB3 VFS client
H A Dcifsglob.h225 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */
749 bool ignore_signature:1; /* skip validation of signatures in SMB2/3 rsp */
759 /* multiplexed reads or writes (for SMB1/CIFS only, not SMB2/SMB3) */
1445 __u64 persistent_fid; /* persist file id for smb2 */
1446 __u64 volatile_fid; /* volatile file id for smb2 */
1447 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */
1500 __u64 persistent_fid; /* persist file id for smb2 */
1501 __u64 volatile_fid; /* volatile file id for smb2 */
2171 * For SMB2+, see MS-SMB2 2.2.10 SMB2 TREE_CONNECT Response and MS-SMB2 3.3.4.14 Server in is_tcon_dfs()
/linux/fs/smb/server/
H A Dsmb2misc.c25 * The following table defines the expected "StructureSize" of SMB2 requests
26 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS requests.
56 * located in different fields for various SMB2 requests. SMB2 requests
225 * the size of smb2 lock request with single smb2_lock_element in smb2_calc_size()
238 ksmbd_debug(SMB, "SMB2 data length %u offset %u\n", data_length, in smb2_calc_size()
250 "data area offset %d overlaps SMB2 header %u\n", in smb2_calc_size()
259 ksmbd_debug(SMB, "SMB2 len %u\n", *len); in smb2_calc_size()
399 ksmbd_debug(SMB, "Illegal SMB2 command %d\n", command); in ksmbd_smb2_check_message()
407 /* special case for SMB2.1 lease break message */ in ksmbd_smb2_check_message()
439 * SMB2 NEGOTIATE request will be validated when message in ksmbd_smb2_check_message()
H A Dsmb2pdu.h19 /* SMB2 Max Credits */
32 * Definitions for SMB2 Protocol Data Units (network frames)
34 * See MS-SMB2.PDF specification for protocol details.
35 * The Naming convention is the lower case version of the SMB2
115 /* See MS-SMB2 2.2.13.2.11 */
471 /* smb2 misc functions */
474 /* smb2 command handlers */
497 * Get the body of the smb2 message excluding the 4 byte rfc1002 headers
H A Dsmb2pdu.c167 * is_smb2_neg_cmd() - is it smb2 negotiation command
170 * Return: true if smb2 negotiation command, otherwise false
176 /* is it SMB2 header ? */ in is_smb2_neg_cmd()
191 * is_smb2_rsp() - is it smb2 response
194 * Return: true if smb2 response, otherwise false
200 /* is it SMB2 header ? */ in is_smb2_rsp()
215 * Return: smb2 request command value
229 * set_smb2_rsp_status() - set error response code on smb2 header
247 * init_smb2_neg_rsp() - initialize smb2 response for negotiate command
250 * smb2 negotiate response is sent in reply of smb1 negotiate command for
[all …]
H A Dsmbfsctl.h3 * fs/smb/server/smbfsctl.h: SMB, CIFS, SMB2 FSCTL definitions
12 * future to remote clients like cifs or SMB2 client. There is probably
H A Dksmbd_netlink.h266 * SMB2 SESSION SETUP request
284 * stored in SecurityBuffer of SMB2 SESSION
H A Dksmbd_work.h54 * Current Local FID assigned compound response if SMB2 CREATE
H A Dsmb_common.c128 * ksmbd_verify_smb_message() - check for valid smb2 request header
168 pr_err_ratelimited("smb2 compression not support yet"); in ksmbd_smb_request()
608 ksmbd_debug(SMB, "Upgrade to SMB2 negotiation\n"); in ksmbd_smb_negotiate_common()
/linux/Documentation/admin-guide/cifs/
H A Dintroduction.rst10 called SMB2 and SMB3. Use of SMB3 (and later, including SMB3.1.1
16 well as by Samba (which provides excellent CIFS/SMB2/SMB3 server
H A Dchanges.rst6 information about fixes/improvements to CIFS/SMB2/SMB3 support (changes
/linux/Documentation/filesystems/smb/
H A Dksmbd.rst69 Dialects Supported. SMB2.1 SMB3.0, SMB3.1.1 dialects
75 SMB2 leases(v1 lease) Supported.
102 SMB2 notify Planned for future.
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dnuvoton,wpcm450-pinctrl.yaml72 enum: [ smb3, smb4, smb5, scs1, scs2, scs3, smb0, smb1, smb2, bsp,
81 enum: [ smb3, smb4, smb5, scs1, scs2, scs3, smb0, smb1, smb2, bsp,
H A Dnuvoton,npcm845-pinctrl.yaml84 i3c2, i3c3, i3c4, i3c5, smb0, smb1, smb2, smb2c, smb2b, smb1c,
107 ddr, i3c0, i3c1, i3c2, i3c3, i3c4, i3c5, smb0, smb1, smb2,
/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-wpcm450.dtsi212 smb2_pins: mux-smb2 {
213 groups = "smb2";
214 function = "smb2";
/linux/net/dns_resolver/
H A DKconfig19 SMB2 later. DNS Resolver is supported by the userspace upcall

123