Searched refs:rcv_hdr (Results 1 – 3 of 3) sorted by relevance
324 struct smb_hdr *rcv_hdr = (struct smb_hdr *)work->request_buf; in init_smb1_rsp_hdr() local331 rsp_hdr->Pid = rcv_hdr->Pid; in init_smb1_rsp_hdr()332 rsp_hdr->Mid = rcv_hdr->Mid; in init_smb1_rsp_hdr()
216 struct smb2_hdr *rcv_hdr; in get_smb2_cmd_val() local219 rcv_hdr = ksmbd_req_buf_next(work); in get_smb2_cmd_val()221 rcv_hdr = smb2_get_msg(work->request_buf); in get_smb2_cmd_val()222 return le16_to_cpu(rcv_hdr->Command); in get_smb2_cmd_val()378 struct smb2_hdr *rcv_hdr; in init_chained_smb2_rsp() local412 rcv_hdr = ksmbd_req_buf_next(work); in init_chained_smb2_rsp()414 if (!(rcv_hdr->Flags & SMB2_FLAGS_RELATED_OPERATIONS)) { in init_chained_smb2_rsp()422 rsp_hdr->Command = rcv_hdr->Command; in init_chained_smb2_rsp()430 rsp_hdr->MessageId = rcv_hdr->MessageId; in init_chained_smb2_rsp()431 rsp_hdr->Id.SyncId.ProcessId = rcv_hdr->Id.SyncId.ProcessId; in init_chained_smb2_rsp()[all …]
927 struct smb2_hdr *rcv_hdr = smb2_get_msg(buf); in ksmbd_gen_preauth_integrity_hash() local928 char *all_bytes_msg = (char *)&rcv_hdr->ProtocolId; in ksmbd_gen_preauth_integrity_hash()