| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-scsi-ssc.h
1/* packet-scsi-ssc.h
2 * Dissector for the SCSI SSC commandset
3 * Extracted from packet-scsi.h
4 *
5 * Dinesh G Dutt (ddutt@cisco.com)
6 * Ronnie sahlberg 2006
7 *
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 2002 Gerald Combs
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 */
14
15#ifndef __PACKET_SCSI_SSC_H_
16#define __PACKET_SCSI_SSC_H_
17
18#include <epan/dissectors/packet-scsi.h>
19#include "ws_symbol_export.h"
20
21/* SSC Commands */
22#define SCSI_SSC_REWIND 0x01
23#define SCSI_SSC_FORMAT_MEDIUM 0x04
24#define SCSI_SSC_READ_BLOCK_LIMITS 0x05
25#define SCSI_SSC_READ6 0x08
26#define SCSI_SSC_WRITE6 0x0A
27#define SCSI_SSC_SET_CAPACITY 0x0B
28#define SCSI_SSC_READ_REVERSE_6 0x0F
29#define SCSI_SSC_WRITE_FILEMARKS_6 0x10
30#define SCSI_SSC_SPACE_6 0x11
31#define SCSI_SSC_VERIFY_6 0x13
32#define SCSI_SSC_RECOVER_BUFFERED_DATA 0x14
33#define SCSI_SSC_ERASE_6 0x19
34#define SCSI_SSC_LOAD_UNLOAD 0x1B
35#define SCSI_SSC_LOCATE_10 0x2B
36#define SCSI_SSC_READ_POSITION 0x34
37#define SCSI_SSC_REPORT_DENSITY_SUPPORT 0x44
38#define SCSI_SSC_WRITE_FILEMARKS_16 0x80
39#define SCSI_SSC_READ_REVERSE_16 0x81
40#define SCSI_SSC_READ_16 0x88
41#define SCSI_SSC_WRITE_16 0x8A
42#define SCSI_SSC_VERIFY_16 0x8F
43#define SCSI_SSC_SPACE_16 0x91
44#define SCSI_SSC_LOCATE_16 0x92
45#define SCSI_SSC_ERASE_16 0x93
46
47 extern int hf_scsi_ssc_opcode;
48 extern const scsi_cdb_table_t scsi_ssc_table[256];
49WS_DLL_PUBLIC value_string_ext scsi_ssc_vals_ext;
50
51#endif