Wireshark
4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
dissectors
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 <epan/dissectors/packet-scsi.h>
15
#include "ws_symbol_export.h"
16
17
#define SCSI_OSD_OPCODE 0x7f
18
19
WS_DLL_PUBLIC
value_string_ext
attributes_page_vals_ext;
20
21
typedef
struct
_scsi_osd_lun_info_t
scsi_osd_lun_info_t
;
22
typedef
struct
_attribute_page_numbers_t
attribute_page_numbers_t
;
23
typedef
void (*attribute_dissector)(
tvbuff_t
*tvb,
packet_info
*pinfo,
proto_tree
*tree,
24
scsi_osd_lun_info_t
*lun_info,
const
attribute_page_numbers_t
*att);
25
26
struct
_attribute_page_numbers_t
{
27
uint32_t number;
28
const
char
*name;
29
attribute_dissector dissector;
30
int
* hf_index;
31
unsigned
expected_length;
32
};
33
34
const
attribute_page_numbers_t
*
35
osd_lookup_attribute(uint32_t page, uint32_t number);
36
37
extern
int
hf_scsi_osd_opcode;
38
extern
const
scsi_cdb_table_t
scsi_osd_table[256];
39
WS_DLL_PUBLIC
value_string_ext
scsi_osd_vals_ext;
40
41
#endif
_attribute_page_numbers_t
Definition
packet-scsi-osd.h:26
_packet_info
Definition
packet_info.h:43
_proto_node
Definition
proto.h:907
_scsi_cdb_table_t
Definition
packet-scsi.h:97
_scsi_osd_lun_info_t
Definition
packet-scsi-osd.c:177
_value_string_ext
Extended metadata for a value_string array.
Definition
value_string.h:325
tvbuff
Definition
tvbuff-int.h:36
Generated by
1.9.8