Home
last modified time | relevance | path

Searched refs:rcv_hdr (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/fs/ksmbd/
Dauth.c876 struct smb2_hdr *rcv_hdr = (struct smb2_hdr *)buf; in ksmbd_gen_preauth_integrity_hash() local
877 char *all_bytes_msg = (char *)&rcv_hdr->ProtocolId; in ksmbd_gen_preauth_integrity_hash()
878 int msg_size = be32_to_cpu(rcv_hdr->smb2_buf_length); in ksmbd_gen_preauth_integrity_hash()
Dsmb2pdu.c198 struct smb2_hdr *rcv_hdr; in get_smb2_cmd_val() local
201 rcv_hdr = ksmbd_req_buf_next(work); in get_smb2_cmd_val()
203 rcv_hdr = work->request_buf; in get_smb2_cmd_val()
204 return le16_to_cpu(rcv_hdr->Command); in get_smb2_cmd_val()
365 struct smb2_hdr *rcv_hdr; in init_chained_smb2_rsp() local
402 rcv_hdr = ksmbd_req_buf_next(work); in init_chained_smb2_rsp()
404 if (!(rcv_hdr->Flags & SMB2_FLAGS_RELATED_OPERATIONS)) { in init_chained_smb2_rsp()
412 rsp_hdr->Command = rcv_hdr->Command; in init_chained_smb2_rsp()
420 rsp_hdr->MessageId = rcv_hdr->MessageId; in init_chained_smb2_rsp()
421 rsp_hdr->Id.SyncId.ProcessId = rcv_hdr->Id.SyncId.ProcessId; in init_chained_smb2_rsp()
[all …]