Home
last modified time | relevance | path

Searched refs:ProtocolId (Results 1 – 11 of 11) sorted by relevance

/linux/fs/smb/client/
H A Dsmb2misc.c34 if ((shdr->ProtocolId == SMB2_PROTO_NUMBER) && in check_smb2_hdr()
46 if (shdr->ProtocolId != SMB2_PROTO_NUMBER) in check_smb2_hdr()
48 le32_to_cpu(shdr->ProtocolId)); in check_smb2_hdr()
191 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in smb2_check_message()
H A Dsmb2ops.c415 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in __smb2_find_mid()
4720 tr_hdr->ProtocolId = SMB2_TRANSFORM_PROTO_NUM; in smb2_aead_req_alloc()
5020 return trhdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM; in decrypt_raw_data()
5611 if (hdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in __cifs_sfu_make_node()
H A Dsmb2pdu.c100 shdr->ProtocolId = SMB2_PROTO_NUMBER; in smb2_hdr_assemble()
/linux/fs/smb/common/compress/
H A Dcompress.c216 hdr->ProtocolId != SMB2_COMPRESSION_TRANSFORM_ID || in smb_compression_decompress()
360 hdr->ProtocolId = SMB2_COMPRESSION_TRANSFORM_ID; in smb_compression_compress_chained()
/linux/fs/smb/common/
H A Dsmb2pdu.h143 __le32 ProtocolId; /* 0xFE 'S' 'M' 'B' */ member
164 __le32 ProtocolId; /* 0xFE 'S' 'M' 'B' */ member
208 __le32 ProtocolId; /* 0xFD 'S' 'M' 'B' */ member
231 __le32 ProtocolId; /* 0xFC 'S' 'M' 'B' */ member
/linux/fs/smb/server/
H A Dserver.c215 if (((struct smb2_hdr *)smb_get_msg(work->request_buf))->ProtocolId == in __handle_ksmbd_work()
225 if (((struct smb2_hdr *)smb_get_msg(work->request_buf))->ProtocolId != in __handle_ksmbd_work()
H A Dsmb_common.c161 if (smb2_hdr->ProtocolId == SMB2_PROTO_NUMBER) in ksmbd_verify_smb_message()
293 __le32 proto = ((struct smb2_hdr *)smb_get_msg(buf))->ProtocolId; in ksmbd_negotiate_smb_dialect()
H A Dsmb2pdu.c239 if (hdr->ProtocolId != SMB2_PROTO_NUMBER)
263 if (hdr->ProtocolId != SMB2_PROTO_NUMBER)
331 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_smb2_neg_rsp()
645 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_smb2_rsp_hdr()
688 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in smb3_verify_channel_sequence()
759 rsp_hdr->ProtocolId = rcv_hdr->ProtocolId; in smb2_set_request_open()
2257 return (struct authenticate_message *)((char *)&req->hdr.ProtocolId in ntlm_authenticate()
2460 in_blob = (char *)&req->hdr.ProtocolId + in smb2_sess_setup()
2463 out_blob = (char *)&rsp->hdr.ProtocolId in smb2_sess_setup()
[all...]
H A Dconnection.c791 if (((struct smb2_hdr *)smb_get_msg(conn->request_buf))->ProtocolId == in ksmbd_conn_handler_loop()
H A Doplock.c1200 hdr->ProtocolId = SMB2_PROTO_NUMBER; in oplock_break()
H A Dauth.c701 char *all_bytes_msg = (char *)&rcv_hdr->ProtocolId; in ksmbd_gen_preauth_integrity_hash()