Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/cifs/
Dsmb2misc.c104 struct smb2_negotiate_rsp *pneg_rsp = (struct smb2_negotiate_rsp *)hdr; in get_neg_ctxt_len() local
107 neg_count = le16_to_cpu(pneg_rsp->NegotiateContextCount); in get_neg_ctxt_len()
109 (pneg_rsp->DialectRevision != cpu_to_le16(SMB311_PROT_ID))) in get_neg_ctxt_len()
113 nc_offset = le32_to_cpu(pneg_rsp->NegotiateContextOffset); in get_neg_ctxt_len()
Dsmb2pdu.c1005 struct validate_negotiate_info_rsp *pneg_rsp = NULL; in smb3_validate_negotiate() local
1086 (char **)&pneg_rsp, &rsplen); in smb3_validate_negotiate()
1103 if (rsplen != sizeof(*pneg_rsp)) { in smb3_validate_negotiate()
1108 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()
1113 if (pneg_rsp->Dialect != cpu_to_le16(server->dialect)) in smb3_validate_negotiate()
1116 if (pneg_rsp->SecurityMode != cpu_to_le16(server->sec_mode)) in smb3_validate_negotiate()
1121 if ((le32_to_cpu(pneg_rsp->Capabilities) | SMB2_NT_FIND | in smb3_validate_negotiate()
1133 kfree(pneg_rsp); in smb3_validate_negotiate()