Lines Matching defs:rsp_hdr
642 struct smb2_hdr *rsp_hdr;
655 rsp_hdr = smb2_get_msg(work->response_buf);
656 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
657 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER;
658 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE;
659 rsp_hdr->CreditRequest = cpu_to_le16(0);
660 rsp_hdr->Command = SMB2_OPLOCK_BREAK;
661 rsp_hdr->Flags = (SMB2_FLAGS_SERVER_TO_REDIR);
662 rsp_hdr->NextCommand = 0;
663 rsp_hdr->MessageId = cpu_to_le64(-1);
664 rsp_hdr->Id.SyncId.ProcessId = 0;
665 rsp_hdr->Id.SyncId.TreeId = 0;
666 rsp_hdr->SessionId = 0;
667 memset(rsp_hdr->Signature, 0, 16);
752 struct smb2_hdr *rsp_hdr;
759 rsp_hdr = smb2_get_msg(work->response_buf);
760 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
761 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER;
762 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE;
763 rsp_hdr->CreditRequest = cpu_to_le16(0);
764 rsp_hdr->Command = SMB2_OPLOCK_BREAK;
765 rsp_hdr->Flags = (SMB2_FLAGS_SERVER_TO_REDIR);
766 rsp_hdr->NextCommand = 0;
767 rsp_hdr->MessageId = cpu_to_le64(-1);
768 rsp_hdr->Id.SyncId.ProcessId = 0;
769 rsp_hdr->Id.SyncId.TreeId = 0;
770 rsp_hdr->SessionId = 0;
771 memset(rsp_hdr->Signature, 0, 16);