Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-fcbls.h
1/* packet-fcbls.h
2 * Fibre Channel Basic Link Services header
3 * Copyright 2001, Dinesh G Dutt <[email protected]>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <[email protected]>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12#ifndef __PACKET_FCBLS_H_
13#define __PACKET_FCBLS_H_
14
15#define FC_BLS_NOP 0x00
16#define FC_BLS_ABTS 0x01
17#define FC_BLS_RMC 0x02
18#define FC_BLS_BAACC 0x04
19#define FC_BLS_BARJT 0x05
20#define FC_BLS_PRMT 0x06
21
22#define FC_BLS_BARJT_INVCMDCODE 0x01
23#define FC_BLS_BARJT_LOGERR 0x03
24#define FC_BLS_BARJT_LOGBSY 0x05
25#define FC_BLS_BARJT_PROTERR 0x07
26#define FC_BLS_BARJT_GENFAIL 0x09
27#define FC_BLS_BARJT_VENDOR 0xFF
28
29static const value_string fc_bls_barjt_val[] = {
30 {FC_BLS_BARJT_INVCMDCODE, "Invalid Cmd Code"},
31 {FC_BLS_BARJT_LOGERR , "Logical Error"},
32 {FC_BLS_BARJT_LOGBSY , "Logical Busy"},
33 {FC_BLS_BARJT_PROTERR , "Protocol Error"},
34 {FC_BLS_BARJT_GENFAIL , "Unable to Perform Cmd"},
35 {FC_BLS_BARJT_VENDOR , "Vendor Unique Error"},
36 {0, NULL},
37};
38
39#define FC_BLS_BARJT_DET_NODET 0x01
40#define FC_BLS_BARJT_DET_INVEXCHG 0x03
41#define FC_BLS_BARJT_DET_SEQABT 0x05
42
43static const value_string fc_bls_barjt_det_val[] = {
44 {FC_BLS_BARJT_DET_NODET , "No Details"},
45 {FC_BLS_BARJT_DET_INVEXCHG, "Invalid OXID-RXID Combo"},
46 {FC_BLS_BARJT_DET_SEQABT , "Sequence Aborted"},
47 {0, NULL},
48};
49
50static const value_string fc_bls_seqid_val[] = {
51 {0x80, "Yes"},
52 {0x0, "No"},
53 {0, NULL},
54};
55
56typedef struct _fc_bls_ba_rjt {
57 uint8_t rsvd;
58 uint8_t reason_code;
59 uint8_t rjt_detail;
60 uint8_t vendor_uniq;
62
63#endif
Definition packet-fcbls.h:56
Definition value_string.h:25