Home
last modified time | relevance | path

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

/fs/cifs/
Dsmb2misc.c99 struct smb2_pdu *pdu = (struct smb2_pdu *)hdr; in smb2_check_message() local
140 pdu->StructureSize2 = 0; in smb2_check_message()
172 if (smb2_rsp_struct_sizes[command] != pdu->StructureSize2) { in smb2_check_message()
174 pdu->StructureSize2 != SMB2_ERROR_STRUCTURE_SIZE2)) { in smb2_check_message()
177 le16_to_cpu(pdu->StructureSize2), command); in smb2_check_message()
180 && (le16_to_cpu(pdu->StructureSize2) != 44) in smb2_check_message()
181 && (le16_to_cpu(pdu->StructureSize2) != 36)) { in smb2_check_message()
184 le16_to_cpu(pdu->StructureSize2)); in smb2_check_message()
362 struct smb2_pdu *pdu = (struct smb2_pdu *)hdr; in smb2_calc_size() local
366 int len = 4 + le16_to_cpu(pdu->hdr.StructureSize); in smb2_calc_size()
[all …]
Dsmb2pdu.c85 struct smb2_pdu *pdu = (struct smb2_pdu *)hdr; in smb2_hdr_assemble() local
151 pdu->StructureSize2 = cpu_to_le16(parmsize); in smb2_hdr_assemble()