Searched refs:cifs_pdu (Results 1 – 1 of 1) sorted by relevance
147 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_sign_rqst() local153 if ((cifs_pdu == NULL) || (server == NULL)) in cifs_sign_rqst()156 if (!(cifs_pdu->Flags2 & SMBFLG2_SECURITY_SIGNATURE) || in cifs_sign_rqst()161 memcpy(cifs_pdu->Signature.SecuritySignature, "BSRSPYL", 8); in cifs_sign_rqst()165 cifs_pdu->Signature.Sequence.SequenceNumber = in cifs_sign_rqst()167 cifs_pdu->Signature.Sequence.Reserved = 0; in cifs_sign_rqst()174 memset(cifs_pdu->Signature.SecuritySignature, 0, 8); in cifs_sign_rqst()176 memcpy(cifs_pdu->Signature.SecuritySignature, smb_signature, 8); in cifs_sign_rqst()191 int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, in cifs_sign_smb() argument196 iov[0].iov_base = cifs_pdu; in cifs_sign_smb()[all …]