Lines Matching refs:pctx
976 struct smb2_neg_context *pctx = (struct smb2_neg_context *)req; in deassemble_neg_contexts() local
1000 pctx = (struct smb2_neg_context *)((char *)pctx + offset); in deassemble_neg_contexts()
1001 clen = le16_to_cpu(pctx->DataLength); in deassemble_neg_contexts()
1005 if (pctx->ContextType == SMB2_PREAUTH_INTEGRITY_CAPABILITIES) { in deassemble_neg_contexts()
1012 (struct smb2_preauth_neg_context *)pctx); in deassemble_neg_contexts()
1015 } else if (pctx->ContextType == SMB2_ENCRYPTION_CAPABILITIES) { in deassemble_neg_contexts()
1022 (struct smb2_encryption_neg_context *)pctx, in deassemble_neg_contexts()
1024 } else if (pctx->ContextType == SMB2_COMPRESSION_CAPABILITIES) { in deassemble_neg_contexts()
1031 (struct smb2_compression_capabilities_context *)pctx); in deassemble_neg_contexts()
1032 } else if (pctx->ContextType == SMB2_NETNAME_NEGOTIATE_CONTEXT_ID) { in deassemble_neg_contexts()
1035 } else if (pctx->ContextType == SMB2_POSIX_EXTENSIONS_AVAILABLE) { in deassemble_neg_contexts()
1039 } else if (pctx->ContextType == SMB2_SIGNING_CAPABILITIES) { in deassemble_neg_contexts()
1043 (struct smb2_signing_capabilities *)pctx, in deassemble_neg_contexts()