2 * Fibre Channel Basic Link Services header
3 * Copyright 2001, Dinesh G Dutt <ddutt@cisco.com>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __PACKET_FCBLS_H_
13 #define __PACKET_FCBLS_H_
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
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
29 static 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"},
39 #define FC_BLS_BARJT_DET_NODET 0x01
40 #define FC_BLS_BARJT_DET_INVEXCHG 0x03
41 #define FC_BLS_BARJT_DET_SEQABT 0x05
43 static 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"},
50 static const value_string fc_bls_seqid_val
[] = {
56 typedef struct _fc_bls_ba_rjt
{