Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-scsi-osd.h
1/* packet-scsi-osd.h
2 * Ronnie sahlberg 2006
3 *
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <[email protected]>
6 * Copyright 2002 Gerald Combs
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11#ifndef __PACKET_SCSI_OSD_H_
12#define __PACKET_SCSI_OSD_H_
13
14#include "ws_symbol_export.h"
15
16#define SCSI_OSD_OPCODE 0x7f
17
18WS_DLL_PUBLIC value_string_ext attributes_page_vals_ext;
19
22typedef 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);
24
26 uint32_t number;
27 const char *name;
28 attribute_dissector dissector;
29 int* hf_index;
30 unsigned expected_length;
31};
32
34osd_lookup_attribute(uint32_t page, uint32_t number);
35
36extern int hf_scsi_osd_opcode;
37extern const scsi_cdb_table_t scsi_osd_table[256];
38WS_DLL_PUBLIC value_string_ext scsi_osd_vals_ext;
39
40#endif
Definition packet-scsi-osd.h:25
Definition packet_info.h:43
Definition proto.h:903
Definition packet-scsi.h:97
Definition packet-scsi-osd.c:177
Definition value_string.h:169
Definition tvbuff-int.h:35