Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-scsi-smc.h
blob608fd36b3d18fc50dd493eaba6e984a6df249490
1 /* packet-scsi-smc.h
2 * Dissector for the SCSI SMC commandset
3 * Extracted from packet-scsi.h
5 * Dinesh G Dutt (ddutt@cisco.com)
6 * Ronnie sahlberg 2006
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 2002 Gerald Combs
12 * SPDX-License-Identifier: GPL-2.0-or-later
15 #ifndef __PACKET_SCSI_SMC_H_
16 #define __PACKET_SCSI_SMC_H_
18 #include "ws_symbol_export.h"
20 /* SMC Commands */
21 #define SCSI_SMC_EXCHANGE_MEDIUM 0x40
22 #define SCSI_SMC_INITIALIZE_ELEMENT_STATUS 0x07
23 #define SCSI_SMC_INITIALIZE_ELEMENT_STATUS_RANGE 0x37
24 #define SCSI_SMC_MOVE_MEDIUM 0xA5
25 #define SCSI_SMC_MOVE_MEDIUM_ATTACHED 0xA7
26 #define SCSI_SMC_OPENCLOSE_ELEMENT 0x1B
27 #define SCSI_SMC_POSITION_TO_ELEMENT 0x2B
28 #define SCSI_SMC_READ_ATTRIBUTE 0x8C
29 #define SCSI_SMC_READ_ELEMENT_STATUS 0xB8
30 #define SCSI_SMC_READ_ELEMENT_STATUS_ATTACHED 0xB4
31 #define SCSI_SMC_REPORT_VOLUME_TYPES_SUPPORTED 0x44
32 #define SCSI_SMC_REQUEST_VOLUME_ELEMENT_ADDRESS 0xB5
33 #define SCSI_SMC_SEND_VOLUME_TAG 0xB6
34 #define SCSI_SMC_WRITE_ATTRIBUTE 0x8D
35 void dissect_smc_movemedium (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, unsigned offset, bool isreq, bool iscdb, unsigned payload_len _U_, scsi_task_data_t *cdata _U_);
36 void dissect_smc_readelementstatus (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned offset, bool isreq, bool iscdb, unsigned payload_len _U_, scsi_task_data_t *cdata _U_);
39 extern int hf_scsi_smc_opcode;
40 extern const scsi_cdb_table_t scsi_smc_table[256];
41 WS_DLL_PUBLIC value_string_ext scsi_smc_vals_ext;
43 #endif