Home
last modified time | relevance | path

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

/Linux-v5.15/fs/cifs/
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()
150 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in smb2_check_message()
Dsmb2pdu.h95 __le32 ProtocolId; /* 0xFE 'S' 'M' 'B' */ member
124 __le32 ProtocolId; /* 0xFD 'S' 'M' 'B' */ member
135 __le32 ProtocolId; /* 0xFC 'S' 'M' 'B' */ member
155 __le32 ProtocolId; /* 0xFC 'S' 'M' 'B' */ member
Dsmb2ops.c331 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in __smb2_find_mid()
4376 tr_hdr->ProtocolId = SMB2_TRANSFORM_PROTO_NUM; in fill_transform_hdr()
4683 return trhdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM; in smb3_is_transform_hdr()
5252 if (hdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) in smb2_next_header()
Dsmb2pdu.c91 shdr->ProtocolId = SMB2_PROTO_NUMBER; in smb2_hdr_assemble()
/Linux-v5.15/fs/ksmbd/
Dsmb_common.c138 if (smb2_hdr->ProtocolId == SMB2_PROTO_NUMBER) in ksmbd_verify_smb_message()
242 __le32 proto = ((struct smb2_hdr *)buf)->ProtocolId; in ksmbd_negotiate_smb_dialect()
454 if (smb2_hdr->ProtocolId != SMB2_PROTO_NUMBER) { in ksmbd_smb_negotiate_common()
Dsmb2pdu.c156 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in is_smb2_neg_cmd()
180 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in is_smb2_rsp()
247 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_smb2_neg_rsp()
410 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_chained_smb2_rsp()
438 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in is_chained_smb2_message()
493 rsp_hdr->ProtocolId = rcv_hdr->ProtocolId; in init_smb2_rsp_hdr()
1295 (struct challenge_message *)((char *)&rsp->hdr.ProtocolId + sz); in ntlm_negotiate()
1329 memcpy((char *)&rsp->hdr.ProtocolId + sz, spnego_blob, spnego_blob_len); in ntlm_negotiate()
1347 return (struct authenticate_message *)((char *)&req->hdr.ProtocolId in user_authblob()
1410 memcpy((char *)&rsp->hdr.ProtocolId + sz, spnego_blob, spnego_blob_len); in ntlm_authenticate()
[all …]
Dsmb2pdu.h138 __le32 ProtocolId; /* 0xFE 'S' 'M' 'B' */ member
172 __le32 ProtocolId; /* 0xFD 'S' 'M' 'B' */ member
Doplock.c636 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in __smb2_oplock_break_noti()
743 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in __smb2_lease_break_noti()
Dauth.c877 char *all_bytes_msg = (char *)&rcv_hdr->ProtocolId; in ksmbd_gen_preauth_integrity_hash()
Dtransport_rdma.c493 hdr->ProtocolId, hdr->Command); in smb_direct_check_recvmsg()