diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-03-08 08:02:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-03-08 08:02:20 +0000 |
commit | c6f038a787a1abee051545360b41561dd8910b4a (patch) | |
tree | 100d2b8b9084ae9f81813370a177b0e4c258efa5 /packet-scsi.h | |
parent | 0b1702c359d52b6605a4b8bcd2e5ab649b05c387 (diff) |
Treat the Peripheral Qualifier field the same way we treat the
Peripheral Device Type field, i.e. as a registered field that's a
bitfield with a value_string table. Give it the correct bitmask.
Fix up some device type names, and add some additional ones from the 25
July 2002 SPC-3 draft.
Correctly adjust the length of the LUN list in the Report LUNs response
(subtract 8 from the payload length before comparing, don't subtract 8
from the resulting length after comparing and adjusting), and rename the
variable to reflect the fact that it's a length in bytes, not a number
of LUNs.
svn path=/trunk/; revision=7322
Diffstat (limited to 'packet-scsi.h')
-rw-r--r-- | packet-scsi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-scsi.h b/packet-scsi.h index 3330f2c912..e57b186898 100644 --- a/packet-scsi.h +++ b/packet-scsi.h @@ -1,7 +1,7 @@ /* packet-scsi.h * Author: Dinesh G Dutt (ddutt@cisco.com) * - * $Id: packet-scsi.h,v 1.6 2003/03/05 07:41:24 guy Exp $ + * $Id: packet-scsi.h,v 1.7 2003/03/08 08:02:20 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -53,6 +53,7 @@ extern const value_string scsi_status_val[]; #define SCSI_DEV_RBC 0xE #define SCSI_DEV_OCRW 0xF #define SCSI_DEV_OSD 0x11 +#define SCSI_DEV_ADC 0x12 #define SCSI_DEV_NOLUN 0x1F #define SCSI_DEV_BITS 0x1F /* the lower 5 bits indicate device type */ |