Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dsmb2misc.c91 struct smb2_negotiate_rsp *pneg_rsp = (struct smb2_negotiate_rsp *)hdr; in get_neg_ctxt_len() local
94 neg_count = le16_to_cpu(pneg_rsp->NegotiateContextCount); in get_neg_ctxt_len()
96 (pneg_rsp->DialectRevision != cpu_to_le16(SMB311_PROT_ID))) in get_neg_ctxt_len()
104 nc_offset = le32_to_cpu(pneg_rsp->NegotiateContextOffset); in get_neg_ctxt_len()
Dsmb2pdu.c1097 struct validate_negotiate_info_rsp *pneg_rsp = NULL; in smb3_validate_negotiate() local
1179 (char **)&pneg_rsp, &rsplen); in smb3_validate_negotiate()
1196 if (rsplen != sizeof(*pneg_rsp)) { in smb3_validate_negotiate()
1201 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()
1206 if (pneg_rsp->Dialect != cpu_to_le16(server->dialect)) in smb3_validate_negotiate()
1209 if (pneg_rsp->SecurityMode != cpu_to_le16(server->sec_mode)) in smb3_validate_negotiate()
1214 if ((le32_to_cpu(pneg_rsp->Capabilities) | SMB2_NT_FIND | in smb3_validate_negotiate()
1226 kfree(pneg_rsp); in smb3_validate_negotiate()