Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-scsi-osd.h
bloba8560a7727987926f2ee0b7e09a0f577e664f855
1 /* packet-scsi-osd.h
2 * Ronnie sahlberg 2006
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 2002 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
11 #ifndef __PACKET_SCSI_OSD_H_
12 #define __PACKET_SCSI_OSD_H_
14 #include "ws_symbol_export.h"
16 #define SCSI_OSD_OPCODE 0x7f
18 WS_DLL_PUBLIC value_string_ext attributes_page_vals_ext;
20 typedef struct _scsi_osd_lun_info_t scsi_osd_lun_info_t;
21 typedef struct _attribute_page_numbers_t attribute_page_numbers_t;
22 typedef void (*attribute_dissector)(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
23 scsi_osd_lun_info_t *lun_info, const attribute_page_numbers_t *att);
25 struct _attribute_page_numbers_t {
26 uint32_t number;
27 const char *name;
28 attribute_dissector dissector;
29 int* hf_index;
30 unsigned expected_length;
33 const attribute_page_numbers_t *
34 osd_lookup_attribute(uint32_t page, uint32_t number);
36 extern int hf_scsi_osd_opcode;
37 extern const scsi_cdb_table_t scsi_osd_table[256];
38 WS_DLL_PUBLIC value_string_ext scsi_osd_vals_ext;
40 #endif