Home
last modified time | relevance | path

Searched refs:ProtocolId (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A Dsmb2misc.c43 if ((shdr->ProtocolId == SMB2_PROTO_NUMBER) && in check_smb2_hdr()
55 if (shdr->ProtocolId != SMB2_PROTO_NUMBER) in check_smb2_hdr()
57 le32_to_cpu(shdr->ProtocolId)); in check_smb2_hdr()
154 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in smb2_check_message()
H A Dsmb2pdu.h108 __le32 ProtocolId; /* 0xFE 'S' 'M' 'B' */ member
137 __le32 ProtocolId; /* 0xFD 'S' 'M' 'B' */ member
148 __le32 ProtocolId; /* 0xFC 'S' 'M' 'B' */ member
H A Dsmb2ops.c273 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in __smb2_find_mid()
4165 tr_hdr->ProtocolId = SMB2_TRANSFORM_PROTO_NUM; in fill_transform_hdr()
4465 return trhdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM; in smb3_is_transform_hdr()
5024 if (hdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) in smb2_next_header()
H A Dsmb2pdu.c104 shdr->ProtocolId = SMB2_PROTO_NUMBER; in smb2_hdr_assemble()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsmb2misc.c30 if ((shdr->ProtocolId == SMB2_PROTO_NUMBER) && in check_smb2_hdr()
42 if (shdr->ProtocolId != SMB2_PROTO_NUMBER) in check_smb2_hdr()
44 le32_to_cpu(shdr->ProtocolId)); in check_smb2_hdr()
154 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in smb2_check_message()
H A Dsmb2ops.c362 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in __smb2_find_mid()
4224 tr_hdr->ProtocolId = SMB2_TRANSFORM_PROTO_NUM; in fill_transform_hdr()
4554 return trhdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM; in smb3_is_transform_hdr()
5093 if (hdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in smb2_next_header()
H A Dsmb2pdu.c93 shdr->ProtocolId = SMB2_PROTO_NUMBER; in smb2_hdr_assemble()
/kernel/linux/linux-6.6/fs/smb/common/
H A Dsmb2pdu.h136 __le32 ProtocolId; /* 0xFE 'S' 'M' 'B' */ member
157 __le32 ProtocolId; /* 0xFE 'S' 'M' 'B' */ member
201 __le32 ProtocolId; /* 0xFD 'S' 'M' 'B' */ member
213 __le32 ProtocolId; /* 0xFC 'S' 'M' 'B' */ member
233 __le32 ProtocolId; /* 0xFC 'S' 'M' 'B' */ member
/kernel/linux/linux-6.6/fs/smb/server/
H A Dsmb_common.c140 if (smb2_hdr->ProtocolId == SMB2_PROTO_NUMBER) in ksmbd_verify_smb_message()
262 __le32 proto = ((struct smb2_hdr *)smb2_get_msg(buf))->ProtocolId; in ksmbd_negotiate_smb_dialect()
H A Dsmb2pdu.c174 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in is_smb2_neg_cmd()
198 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in is_smb2_rsp()
259 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_smb2_neg_rsp()
420 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_chained_smb2_rsp()
448 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in is_chained_smb2_message()
500 rsp_hdr->ProtocolId = rcv_hdr->ProtocolId; in init_smb2_rsp_hdr()
1353 (struct challenge_message *)((char *)&rsp->hdr.ProtocolId + sz); in ntlm_negotiate()
1387 memcpy((char *)&rsp->hdr.ProtocolId + sz, spnego_blob, spnego_blob_len); in ntlm_negotiate()
1405 return (struct authenticate_message *)((char *)&req->hdr.ProtocolId in user_authblob()
[all...]
H A Dconnection.c352 if (((struct smb2_hdr *)smb2_get_msg(conn->request_buf))->ProtocolId == in ksmbd_conn_handler_loop()
H A Doplock.c656 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in __smb2_oplock_break_noti()
760 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in __smb2_lease_break_noti()
H A Dauth.c922 char *all_bytes_msg = (char *)&rcv_hdr->ProtocolId; in ksmbd_gen_preauth_integrity_hash()
H A Dtransport_rdma.c504 hdr->ProtocolId, hdr->Command); in smb_direct_check_recvmsg()

Completed in 55 milliseconds