Home
last modified time | relevance | path

Searched full:smb2 (Results 1 – 25 of 50) 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/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) +
136 /* See MS-SMB2 2.2.13.2.5 */
[all …]
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()
262 * MacOS server pads after SMB2.1 write response with 3 bytes in smb2_check_message()
264 * SMB2/SMB3 frame length (header + smb2 response specific data) in smb2_check_message()
287 * located in different fields for various SMB2 responses. SMB2 responses
433 cifs_dbg(FYI, "SMB2 data length %d offset %d\n", data_length, offset); in smb2_calc_size()
443 cifs_dbg(VFS, "data area offset %d overlaps SMB2 header %d\n", in smb2_calc_size()
451 cifs_dbg(FYI, "SMB2 len %d\n", len); in smb2_calc_size()
[all …]
H A Dsmb2maperror_test.c4 * KUnit tests of SMB2 maperror
49 MODULE_DESCRIPTION("KUnit tests of SMB2 maperror");
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) */
49 * The following table defines the expected "StructureSize" of SMB2 requests
50 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS requests.
136 /* GLOBAL_CAP_LARGE_MTU will only be set if dialect > SMB2.02 */ in smb2_hdr_assemble()
137 /* See sections 2.2.4 and 3.2.4.1.5 of MS-SMB2 */ in smb2_hdr_assemble()
151 * setting this flag breaks the SMB2 open operation since it is in smb2_hdr_assemble()
557 /* BB eventually switch this to SMB2 specific small buf size */ in __smb2_plain_req_init()
619 /* For explanation of negotiate contexts see MS-SMB2 section 2.2.3.1 */
971 * 2.2.4 SMB2 NEGOTIATE Response in smb311_decode_neg_context()
[all …]
H A DMakefile3 # Makefile for Linux CIFS/SMB2/SMB3 VFS client
68 # Build the SMB2 error mapping table from smb2status.h
H A Dsmb2maperror.c4 * Functions which do error mapping of SMB2 status codes to POSIX errors
81 cifs_dbg(FYI, "Mapping SMB2 status code 0x%08x to POSIX err %d\n", in map_smb2_to_linux_error()
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 Dcifsglob.h717 bool ignore_signature:1; /* skip validation of signatures in SMB2/3 rsp */
727 /* multiplexed reads or writes (for SMB1/CIFS only, not SMB2/SMB3) */
1414 __u64 persistent_fid; /* persist file id for smb2 */
1415 __u64 volatile_fid; /* volatile file id for smb2 */
1416 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */
1470 __u64 persistent_fid; /* persist file id for smb2 */
1471 __u64 volatile_fid; /* volatile file id for smb2 */
2191 * 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.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
87 * See POSIX-SMB2 2.2.14.2.16
355 /* smb2 misc functions */
358 /* smb2 command handlers */
H A Dsmb2pdu.c177 * is_smb2_neg_cmd() - is it smb2 negotiation command
180 * Return: true if smb2 negotiation command, otherwise false
186 /* is it SMB2 header ? */ in is_smb2_neg_cmd()
201 * is_smb2_rsp() - is it smb2 response
204 * Return: true if smb2 response, otherwise false
210 /* is it SMB2 header ? */ in is_smb2_rsp()
225 * Return: smb2 request command value
239 * set_smb2_rsp_status() - set error response code on smb2 header
257 * init_smb2_neg_rsp() - initialize smb2 response for negotiate command
260 * 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/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

12