if (!ret) {
return NT_STATUS_NO_MEMORY;
}
+ DBG_ERR("idx[%zu] MID[%zu] opcode[%u]\n", (size_t)i, (size_t)mid, opcode);
}
state = tevent_req_data(reqs[0], struct smbXcli_req_state);
return status;
}
+ DBG_ERR("full_len[%zu] inbuf_len[%zu] num_iov[%zu]\n", inbuf_len + 4, inbuf_len, num_iov);
+
for (i=0; i<num_iov; i+=4) {
uint8_t *inbuf_ref = NULL;
struct iovec *cur = &iov[i];
}
status = NT_STATUS(IVAL(inhdr, SMB2_HDR_STATUS));
+ DBG_ERR("idx[%zu] MID[%zu] opcode[%u] %s\n", i, mid, opcode, nt_errstr(status));
if ((flags & SMB2_HDR_FLAG_ASYNC) &&
NT_STATUS_EQUAL(status, NT_STATUS_PENDING)) {
uint64_t async_id = BVAL(inhdr, SMB2_HDR_ASYNC_ID);
state->smb2.recv_iov[1] = cur[2];
state->smb2.recv_iov[2] = cur[3];
+ DBG_ERR("idx[%zu] MID[%zu] opcode[%u] DONE\n", i, mid, opcode);
tevent_req_done(req);
}