Lines Matching defs:status
1042 uint32_t status;
1045 status = smb_errno2status(errnum);
1046 doserr = smb_status2doserr(status);
1048 err->status = status;
1061 * Report a request processing status (error or warning).
1064 smbsr_status(smb_request_t *sr, DWORD status, uint16_t errcls, uint16_t errcode)
1067 sr->smb_error.status = status;
1077 smbsr_status_smb2(sr, status);
1081 if (status != 0 && errcls == 0 && errcode == 0) {
1083 errcode = smb_status2doserr(status);
1094 * report 32-bit status codes or DOS errors. Set the status code
1098 * If status is non-zero and the client supports 32-bit status
1099 * codes, report the status. Otherwise, report the DOS error.
1104 uint32_t status;
1110 status = err->status;
1115 if (status == 0)
1116 status = NT_STATUS_INTERNAL_ERROR;
1119 if ((capabilities & CAP_STATUS32) && (status != 0)) {
1120 sr->smb_rcls = status & 0xff;
1121 sr->smb_reh = (status >> 8) & 0xff;
1122 sr->smb_err = status >> 16;