2 * Dissector for the SCSI SSC commandset
3 * Extracted from packet-scsi.h
5 * Dinesh G Dutt (ddutt@cisco.com)
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 2002 Gerald Combs
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
29 #ifndef __PACKET_SCSI_SSC_H_
30 #define __PACKET_SCSI_SSC_H_
32 #include "ws_symbol_export.h"
35 #define SCSI_SSC_REWIND 0x01
36 #define SCSI_SSC_FORMAT_MEDIUM 0x04
37 #define SCSI_SSC_READ_BLOCK_LIMITS 0x05
38 #define SCSI_SSC_READ6 0x08
39 #define SCSI_SSC_WRITE6 0x0A
40 #define SCSI_SSC_SET_CAPACITY 0x0B
41 #define SCSI_SSC_READ_REVERSE_6 0x0F
42 #define SCSI_SSC_WRITE_FILEMARKS_6 0x10
43 #define SCSI_SSC_SPACE_6 0x11
44 #define SCSI_SSC_VERIFY_6 0x13
45 #define SCSI_SSC_RECOVER_BUFFERED_DATA 0x14
46 #define SCSI_SSC_ERASE_6 0x19
47 #define SCSI_SSC_LOAD_UNLOAD 0x1B
48 #define SCSI_SSC_LOCATE_10 0x2B
49 #define SCSI_SSC_READ_POSITION 0x34
50 #define SCSI_SSC_REPORT_DENSITY_SUPPORT 0x44
51 #define SCSI_SSC_WRITE_FILEMARKS_16 0x80
52 #define SCSI_SSC_READ_REVERSE_16 0x81
53 #define SCSI_SSC_READ_16 0x88
54 #define SCSI_SSC_WRITE_16 0x8A
55 #define SCSI_SSC_VERIFY_16 0x8F
56 #define SCSI_SSC_SPACE_16 0x91
57 #define SCSI_SSC_LOCATE_16 0x92
58 #define SCSI_SSC_ERASE_16 0x93
60 extern int hf_scsi_ssc_opcode
;
61 extern scsi_cdb_table_t scsi_ssc_table
[256];
62 WS_DLL_PUBLIC
const value_string scsi_ssc_vals
[];