TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags
[wireshark-sm.git] / epan / dissectors / packet-fcbls.h
blob69c4f18dfece168cf60e25463b6c9546488110d3
1 /* packet-fcbls.h
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"},
36 {0, NULL},
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"},
47 {0, NULL},
50 static const value_string fc_bls_seqid_val[] = {
51 {0x80, "Yes"},
52 {0x0, "No"},
53 {0, NULL},
56 typedef struct _fc_bls_ba_rjt {
57 uint8_t rsvd;
58 uint8_t reason_code;
59 uint8_t rjt_detail;
60 uint8_t vendor_uniq;
61 } fc_bls_ba_rjt;
63 #endif