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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 #ifndef __PACKET_SCSI_SSC_H_
30 #define __PACKET_SCSI_SSC_H_
33 #define SCSI_SSC_REWIND 0x01
34 #define SCSI_SSC_FORMAT_MEDIUM 0x04
35 #define SCSI_SSC_READ_BLOCK_LIMITS 0x05
36 #define SCSI_SSC_READ6 0x08
37 #define SCSI_SSC_WRITE6 0x0A
38 #define SCSI_SSC_SET_CAPACITY 0x0B
39 #define SCSI_SSC_READ_REVERSE_6 0x0F
40 #define SCSI_SSC_WRITE_FILEMARKS_6 0x10
41 #define SCSI_SSC_SPACE_6 0x11
42 #define SCSI_SSC_VERIFY_6 0x13
43 #define SCSI_SSC_RECOVER_BUFFERED_DATA 0x14
44 #define SCSI_SSC_ERASE_6 0x19
45 #define SCSI_SSC_LOAD_UNLOAD 0x1B
46 #define SCSI_SSC_LOCATE_10 0x2B
47 #define SCSI_SSC_READ_POSITION 0x34
48 #define SCSI_SSC_REPORT_DENSITY_SUPPORT 0x44
49 #define SCSI_SSC_WRITE_FILEMARKS_16 0x80
50 #define SCSI_SSC_READ_REVERSE_16 0x81
51 #define SCSI_SSC_READ_16 0x88
52 #define SCSI_SSC_WRITE_16 0x8A
53 #define SCSI_SSC_VERIFY_16 0x8F
54 #define SCSI_SSC_SPACE_16 0x91
55 #define SCSI_SSC_LOCATE_16 0x92
56 #define SCSI_SSC_ERASE_16 0x93
58 extern int hf_scsi_ssc_opcode;
59 extern scsi_cdb_table_t scsi_ssc_table[256];
60 WS_VAR_IMPORT const value_string scsi_ssc_vals[];