Home
last modified time | relevance | path

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

123

/openbmc/linux/fs/smb/common/
H A Dsmb2pdu.h11 * SMB2 commands
91 * The default wsize is 1M for SMB2 (and for some CIFS cases).
98 /* According to MS-SMB2 specification The minimum recommended value is 65536.*/
102 * SMB2 Header Definition
119 * SMB2 flag definitions
130 * Definitions for SMB2 Protocol Data Units (network frames)
132 * See MS-SMB2.PDF specification for protocol details.
133 * The Naming convention is the lower case version of the SMB2
138 /* See MS-SMB2 section 2.2.1 */
164 __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
/openbmc/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 Dsmb2pdu.c9 * Contains the routines for constructing the SMB2 PDUs themselves
13 /* SMB2 PDU handling routines here - except for leftovers (eg session setup) */
45 * The following table defines the expected "StructureSize" of SMB2 requests
46 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS requests.
132 /* GLOBAL_CAP_LARGE_MTU will only be set if dialect > SMB2.02 */ in smb2_hdr_assemble()
133 /* See sections 2.2.4 and 3.2.4.1.5 of MS-SMB2 */ in smb2_hdr_assemble()
147 * setting this flag breaks the SMB2 open operation since it is in smb2_hdr_assemble()
537 /* BB eventually switch this to SMB2 specific small buf size */ in __smb2_plain_req_init()
599 /* For explanation of negotiate contexts see MS-SMB2 section 2.2.3.1 */
951 * 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 DMakefile3 # Makefile for Linux CIFS/SMB2/SMB3 VFS client
H A Dcifsglob.h184 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */
716 bool ignore_signature:1; /* skip validation of signatures in SMB2/3 rsp */
726 /* multiplexed reads or writes (for SMB1/CIFS only, not SMB2/SMB3) */
1412 __u64 persistent_fid; /* persist file id for smb2 */
1413 __u64 volatile_fid; /* volatile file id for smb2 */
1414 __u8 lease_key[SMB2_LEASE_KEY_SIZE]; /* lease key for smb2 */
1467 __u64 persistent_fid; /* persist file id for smb2 */
1468 __u64 volatile_fid; /* volatile file id for smb2 */
2180 * For SMB2+, see MS-SMB2 2.2.10 SMB2 TREE_CONNECT Response and MS-SMB2 3.3.4.14 Server in is_tcon_dfs()
/openbmc/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
113 /* See MS-SMB2 2.2.13.2.11 */
469 /* smb2 misc functions */
472 /* smb2 command handlers */
495 * Get the body of the smb2 message excluding the 4 byte rfc1002 headers
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 Dsmb2pdu.c166 * is_smb2_neg_cmd() - is it smb2 negotiation command
169 * Return: true if smb2 negotiation command, otherwise false
175 /* is it SMB2 header ? */ in is_smb2_neg_cmd()
190 * is_smb2_rsp() - is it smb2 response
193 * Return: true if smb2 response, otherwise false
199 /* is it SMB2 header ? */ in is_smb2_rsp()
214 * Return: smb2 request command value
228 * set_smb2_rsp_status() - set error response code on smb2 header
246 * init_smb2_neg_rsp() - initialize smb2 response for negotiate command
249 * smb2 negotiate response is sent in reply of smb1 negotiate command for
[all …]
H A Dksmbd_netlink.h252 * SMB2 SESSION SETUP request
270 * stored in SecurityBuffer of SMB2 SESSION
H A Dksmbd_work.h54 * Current Local FID assigned compound response if SMB2 CREATE
H A Doplock.h14 /* SMB2 Oplock levels */
/openbmc/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 Dtodo.rst51 i) Add support for tree connect contexts (see MS-SMB2) a new SMB3.1.1 protocol
96 authentication mechanisms (see MS-SMB2). GCM-256 is now partially implemented.
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)
/openbmc/linux/Documentation/filesystems/smb/
H A Dksmbd.rst69 Dialects Supported. SMB2.1 SMB3.0, SMB3.1.1 dialects
75 SMB2 leases(v1 lease) Supported.
103 SMB2 notify Planned for future.
/openbmc/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,
/openbmc/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-wpcm450.dtsi212 smb2_pins: mux-smb2 {
213 groups = "smb2";
214 function = "smb2";
/openbmc/linux/net/dns_resolver/
H A DKconfig19 SMB2 later. DNS Resolver is supported by the userspace upcall

123