aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-scsi-ssc.h
blob: 789e5824deade5fab6f859fe335381f7d67333dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* 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
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __PACKET_SCSI_SSC_H_
#define __PACKET_SCSI_SSC_H_

#include "ws_symbol_export.h"

/* SSC Commands */
#define SCSI_SSC_REWIND                         0x01
#define SCSI_SSC_FORMAT_MEDIUM                  0x04
#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
#define SCSI_SSC_ERASE_16                       0x93

extern int hf_scsi_ssc_opcode;
extern scsi_cdb_table_t scsi_ssc_table[256];
WS_DLL_PUBLIC value_string_ext scsi_ssc_vals_ext;

#endif