Searched refs:pneg_rsp (Results 1 – 2 of 2) sorted by relevance
101 struct smb2_negotiate_rsp *pneg_rsp = (struct smb2_negotiate_rsp *)hdr; in get_neg_ctxt_len() local104 neg_count = le16_to_cpu(pneg_rsp->NegotiateContextCount); in get_neg_ctxt_len()106 (pneg_rsp->DialectRevision != cpu_to_le16(SMB311_PROT_ID))) in get_neg_ctxt_len()110 nc_offset = le32_to_cpu(pneg_rsp->NegotiateContextOffset); in get_neg_ctxt_len()
845 struct validate_negotiate_info_rsp *pneg_rsp = NULL; in smb3_validate_negotiate() local920 (char *)pneg_inbuf, inbuflen, (char **)&pneg_rsp, &rsplen); in smb3_validate_negotiate()936 if (rsplen != sizeof(*pneg_rsp)) { in smb3_validate_negotiate()941 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()946 if (pneg_rsp->Dialect != cpu_to_le16(tcon->ses->server->dialect)) in smb3_validate_negotiate()949 if (pneg_rsp->SecurityMode != cpu_to_le16(tcon->ses->server->sec_mode)) in smb3_validate_negotiate()954 if ((le32_to_cpu(pneg_rsp->Capabilities) | SMB2_NT_FIND | in smb3_validate_negotiate()966 kfree(pneg_rsp); in smb3_validate_negotiate()