Home
last modified time | relevance | path

Searched refs:smb2_pdu (Results 1 – 4 of 4) sorted by relevance

/fs/cifs/
Dsmb2transport.c50 struct smb2_hdr *smb2_pdu = (struct smb2_hdr *)iov[0].iov_base; in smb2_calc_signature() local
53 memset(smb2_pdu->Signature, 0x0, SMB2_SIGNATURE_SIZE); in smb2_calc_signature()
114 memcpy(smb2_pdu->Signature, sigptr, SMB2_SIGNATURE_SIZE); in smb2_calc_signature()
131 struct smb2_hdr *smb2_pdu = rqst->rq_iov[0].iov_base; in smb2_sign_rqst() local
133 if (!(smb2_pdu->Flags & SMB2_FLAGS_SIGNED) || in smb2_sign_rqst()
138 strncpy(smb2_pdu->Signature, "BSRSPYL", 8); in smb2_sign_rqst()
152 struct smb2_hdr *smb2_pdu = (struct smb2_hdr *)rqst->rq_iov[0].iov_base; in smb2_verify_signature() local
154 if ((smb2_pdu->Command == SMB2_NEGOTIATE) || in smb2_verify_signature()
155 (smb2_pdu->Command == SMB2_OPLOCK_BREAK) || in smb2_verify_signature()
165 if (memcmp(smb2_pdu->Signature, "BSRSPYL ", 8) == 0) in smb2_verify_signature()
[all …]
Dsmb2misc.c97 struct smb2_pdu *pdu = (struct smb2_pdu *)hdr; in smb2_check_message()
112 if (length < sizeof(struct smb2_pdu)) { in smb2_check_message()
313 struct smb2_pdu *pdu = (struct smb2_pdu *)hdr; in smb2_calc_size()
Dsmb2pdu.h120 struct smb2_pdu { struct
Dsmb2pdu.c84 struct smb2_pdu *pdu = (struct smb2_pdu *)hdr; in smb2_hdr_assemble()