2006-11-22 10:12:59 +00:00
|
|
|
/* packet-scsi-ssc.h
|
|
|
|
* Dissector for the SCSI SSC commandset
|
|
|
|
* Extracted from packet-scsi.h
|
|
|
|
*
|
|
|
|
* Dinesh G Dutt (ddutt@cisco.com)
|
|
|
|
* Ronnie sahlberg 2006
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 2002 Gerald Combs
|
|
|
|
*
|
2018-02-12 11:23:27 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2006-11-22 10:12:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PACKET_SCSI_SSC_H_
|
|
|
|
#define __PACKET_SCSI_SSC_H_
|
|
|
|
|
2013-03-01 23:53:11 +00:00
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
|
2007-02-10 20:38:59 +00:00
|
|
|
/* SSC Commands */
|
|
|
|
#define SCSI_SSC_REWIND 0x01
|
2006-12-11 10:15:42 +00:00
|
|
|
#define SCSI_SSC_FORMAT_MEDIUM 0x04
|
2007-02-10 20:38:59 +00:00
|
|
|
#define SCSI_SSC_READ_BLOCK_LIMITS 0x05
|
|
|
|
#define SCSI_SSC_READ6 0x08
|
|
|
|
#define SCSI_SSC_WRITE6 0x0A
|
|
|
|
#define SCSI_SSC_SET_CAPACITY 0x0B
|
|
|
|
#define SCSI_SSC_READ_REVERSE_6 0x0F
|
|
|
|
#define SCSI_SSC_WRITE_FILEMARKS_6 0x10
|
|
|
|
#define SCSI_SSC_SPACE_6 0x11
|
|
|
|
#define SCSI_SSC_VERIFY_6 0x13
|
|
|
|
#define SCSI_SSC_RECOVER_BUFFERED_DATA 0x14
|
|
|
|
#define SCSI_SSC_ERASE_6 0x19
|
|
|
|
#define SCSI_SSC_LOAD_UNLOAD 0x1B
|
|
|
|
#define SCSI_SSC_LOCATE_10 0x2B
|
|
|
|
#define SCSI_SSC_READ_POSITION 0x34
|
|
|
|
#define SCSI_SSC_REPORT_DENSITY_SUPPORT 0x44
|
|
|
|
#define SCSI_SSC_WRITE_FILEMARKS_16 0x80
|
|
|
|
#define SCSI_SSC_READ_REVERSE_16 0x81
|
|
|
|
#define SCSI_SSC_READ_16 0x88
|
|
|
|
#define SCSI_SSC_WRITE_16 0x8A
|
|
|
|
#define SCSI_SSC_VERIFY_16 0x8F
|
|
|
|
#define SCSI_SSC_SPACE_16 0x91
|
|
|
|
#define SCSI_SSC_LOCATE_16 0x92
|
2006-12-11 10:15:42 +00:00
|
|
|
#define SCSI_SSC_ERASE_16 0x93
|
2006-11-22 10:12:59 +00:00
|
|
|
|
|
|
|
extern int hf_scsi_ssc_opcode;
|
|
|
|
extern scsi_cdb_table_t scsi_ssc_table[256];
|
2013-12-12 19:26:55 +00:00
|
|
|
WS_DLL_PUBLIC value_string_ext scsi_ssc_vals_ext;
|
2006-11-22 10:12:59 +00:00
|
|
|
|
|
|
|
#endif
|