Lines Matching refs:reply

23  * contains a command that may block indefinitely, the compound reply is
26 * commands for this compound request. After the compound reply is sent,
44 * the list of requests that had an interim reply in the initial
45 * compound reply. This includes everything needed to restart
234 * an error reply (NT_STATUS_CANCELLED).
245 * (which may be a compound request) building a reply containing
246 * SMB reply messages, one-to-one with the SMB commands. Some SMB
249 * In such cases, we'll encode the interim response in the reply
253 * the compound reply, we'll send the compound reply, and finally
256 * As we work our way through the compound request and reply,
258 * and reply. For the request, this uses an MBC_SHADOW_CHAIN
259 * that begins at smb2_cmd_hdr. The reply is appended to the
260 * sr->reply chain starting at smb2_reply_hdr.
354 * Reserve space for the reply header, and save the offset.
355 * The reply header will be overwritten later. If we have
359 sr->smb2_reply_hdr = sr->reply.chain_offset;
361 cmn_err(CE_WARN, "clnt %s excessive reply",
521 * Note, this also means we won't sign the reply.
676 * Pad the reply to align(8) if necessary.
678 if (sr->reply.chain_offset & 7) {
679 int padsz = 8 - (sr->reply.chain_offset & 7);
680 (void) smb_mbc_encodef(&sr->reply, "#.", padsz);
682 ASSERT((sr->reply.chain_offset & 7) == 0);
692 (int64_t)(sr->reply.chain_offset - sr->smb2_reply_hdr));
721 * and fill in the next command offset for the reply.
724 * smb2_next_reply as the offset to the next reply.
730 sr->reply.chain_offset - sr->smb2_reply_hdr;
791 * command and reply areas as they were when the command-speicific
821 * should have gone out with the interim reply.
822 * An async reply goes alone (no next reply).
838 MBC_FLUSH(&sr->reply);
839 sr->smb2_reply_hdr = sr->reply.chain_offset;
873 * Pad the reply to align(8) if necessary.
875 if (sr->reply.chain_offset & 7) {
876 int padsz = 8 - (sr->reply.chain_offset & 7);
877 (void) smb_mbc_encodef(&sr->reply, "#.", padsz);
879 ASSERT((sr->reply.chain_offset & 7) == 0);
885 (int64_t)(sr->reply.chain_offset - sr->smb2_reply_hdr));
956 * Place an interim response in the compound reply.
1048 rc = smb_mbc_poke(&sr->reply,
1063 rc = smb_mbc_encodef(&sr->reply,
1085 if (smb_session_send(sr->session, 0, &sr->reply) == 0)
1086 sr->reply.chain = 0;
1140 sr->reply.chain_offset = sr->smb2_reply_hdr + SMB2_HDR_SIZE;
1148 &sr->reply,
1156 &sr->reply,