Home
last modified time | relevance | path

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

12

/linux/fs/smb/common/
H A Dsmb2pdu.h14 * SMB2 commands
94 * The default wsize is 1M for SMB2 (and for some CIFS cases).
101 /* According to MS-SMB2 specification The minimum recommended value is 65536.*/
105 * SMB2 Header Definition
122 * SMB2 flag definitions
133 * Definitions for SMB2 Protocol Data Units (network frames)
135 * See MS-SMB2.PDF specification for protocol details.
136 * The Naming convention is the lower case version of the SMB2
141 /* See MS-SMB2 section 2.2.1 */
167 __le16 ChannelSequence; /* See MS-SMB2 3.2.4.1 and 3.2.7.1 */
[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/server/
H A Dsmb2misc.c24 * The following table defines the expected "StructureSize" of SMB2 requests
25 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS requests.
55 * located in different fields for various SMB2 requests. SMB2 requests
224 * the size of smb2 lock request with single smb2_lock_element in smb2_calc_size()
237 ksmbd_debug(SMB, "SMB2 data length %u offset %u\n", data_length, in smb2_calc_size()
249 "data area offset %d overlaps SMB2 header %u\n", in smb2_calc_size()
258 ksmbd_debug(SMB, "SMB2 len %u\n", *len); in smb2_calc_size()
398 ksmbd_debug(SMB, "Illegal SMB2 command %d\n", command); in ksmbd_smb2_check_message()
406 /* special case for SMB2.1 lease break message */ in ksmbd_smb2_check_message()
438 * 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
361 /* smb2 misc functions */
364 /* smb2 command handlers */
H A Dsmb2pdu.c176 * is_smb2_neg_cmd() - is it smb2 negotiation command
179 * Return: true if smb2 negotiation command, otherwise false
185 /* is it SMB2 header ? */ in is_smb2_neg_cmd()
200 * is_smb2_rsp() - is it smb2 response
203 * Return: true if smb2 response, otherwise false
209 /* is it SMB2 header ? */ in is_smb2_rsp()
224 * Return: smb2 request command value
238 * set_smb2_rsp_status() - set error response code on smb2 header
256 * init_smb2_neg_rsp() - initialize smb2 response for negotiate command
259 * 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.h267 * SMB2 SESSION SETUP request
285 * stored in SecurityBuffer of SMB2 SESSION
H A Dksmbd_work.h54 * Current Local FID assigned compound response if SMB2 CREATE
H A Dsmb_common.c152 * ksmbd_verify_smb_message() - check for valid smb2 request header
192 pr_err_ratelimited("smb2 compression not support yet"); in ksmbd_smb_request()
632 ksmbd_debug(SMB, "Upgrade to SMB2 negotiation\n"); in ksmbd_smb_negotiate_common()
/linux/fs/smb/client/
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.c55 * The following table defines the expected "StructureSize" of SMB2 responses
56 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS responses.
189 cifs_dbg(VFS, "Invalid SMB2 command %d\n", command); in smb2_check_message()
224 /* special case for SMB2.1 lease break message */ in smb2_check_message()
261 * MacOS server pads after SMB2.1 write response with 3 bytes in smb2_check_message()
263 * SMB2/SMB3 frame length (header + smb2 response specific data) in smb2_check_message()
286 * located in different fields for various SMB2 responses. SMB2 responses
432 cifs_dbg(FYI, "SMB2 data length %d offset %d\n", data_length, offset); in smb2_calc_size()
442 cifs_dbg(VFS, "data area offset %d overlaps SMB2 header %d\n", in smb2_calc_size()
450 cifs_dbg(FYI, "SMB2 len %d\n", len); in smb2_calc_size()
[all …]
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) */
50 * The following table defines the expected "StructureSize" of SMB2 requests
51 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS requests.
137 /* GLOBAL_CAP_LARGE_MTU will only be set if dialect > SMB2.02 */ in smb2_hdr_assemble()
138 /* See sections 2.2.4 and 3.2.4.1.5 of MS-SMB2 */ in smb2_hdr_assemble()
152 * setting this flag breaks the SMB2 open operation since it is in smb2_hdr_assemble()
558 /* BB eventually switch this to SMB2 specific small buf size */ in __smb2_plain_req_init()
620 /* For explanation of negotiate contexts see MS-SMB2 section 2.2.3.1 */
972 * 2.2.4 SMB2 NEGOTIATE Response in smb311_decode_neg_context()
[all …]
H A Dxattr.c30 * secure, replaced by SMB2 (then even more highly secure SMB3) many years ago
459 * longer secure and was replaced by SMB2/SMB3 a long time ago, and
493 * longer secure and was replaced by SMB2/SMB3 a long time ago, and
513 * 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 Dcifsglob.h719 bool ignore_signature:1; /* skip validation of signatures in SMB2/3 rsp */
729 /* multiplexed reads or writes (for SMB1/CIFS only, not SMB2/SMB3) */
1416 __u64 persistent_fid; /* persist file id for smb2 */
1417 __u64 volatile_fid; /* volatile file id for smb2 */
1418 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */
1472 __u64 persistent_fid; /* persist file id for smb2 */
1473 __u64 volatile_fid; /* volatile file id for smb2 */
2193 * For SMB2+, see MS-SMB2 2.2.10 SMB2 TREE_CONNECT Response and MS-SMB2 3.3.4.14 Server in is_tcon_dfs()
H A Dcifsacl.h38 * match the MS-DTYP and MS-SMB2 specs which define the wire format.
/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
H A Dauthors.rst49 - Pavel Shilovsky (for great work adding SMB2 support, and various SMB3 features)
/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
/linux/drivers/i2c/busses/
H A Di2c-nforce2.c384 dev_err(&dev->dev, "Disabling SMB2 for safety reasons.\n"); in nforce2_probe()
389 "SMB2"); in nforce2_probe()

12