12#ifndef __PACKET_FCSWILS_H_
13#define __PACKET_FCSWILS_H_
16#define FC_SWILS_SWRJT 0x01
17#define FC_SWILS_SWACC 0x02
18#define FC_SWILS_ELP 0x10
19#define FC_SWILS_EFP 0x11
20#define FC_SWILS_DIA 0x12
21#define FC_SWILS_RDI 0x13
22#define FC_SWILS_HLO 0x14
23#define FC_SWILS_LSU 0x15
24#define FC_SWILS_LSA 0x16
25#define FC_SWILS_BF 0x17
26#define FC_SWILS_RCF 0x18
27#define FC_SWILS_RSCN 0x1B
28#define FC_SWILS_DRLIR 0x1E
29#define FC_SWILS_DSCN 0x20
30#define FC_SWILS_LOOPD 0x21
31#define FC_SWILS_MR 0x22
32#define FC_SWILS_ACA 0x23
33#define FC_SWILS_RCA 0x24
34#define FC_SWILS_SFC 0x25
35#define FC_SWILS_UFC 0x26
36#define FC_SWILS_ESC 0x30
37#define FC_SWILS_ESS 0x31
38#define FC_SWILS_MRRA 0x34
39#define FC_SWILS_AUTH_ILS 0x40
40#define FC_SWILS_MAXCODE 0x35
45#define FC_SWILS_RJT_INVCODE 0x01
46#define FC_SWILS_RJT_INVVER 0x02
47#define FC_SWILS_RJT_LOGERR 0x03
48#define FC_SWILS_RJT_INVSIZE 0x04
49#define FC_SWILS_RJT_LOGBSY 0x05
50#define FC_SWILS_RJT_PROTERR 0x07
51#define FC_SWILS_RJT_GENFAIL 0x09
52#define FC_SWILS_RJT_CMDNOTSUPP 0x0B
53#define FC_SWILS_RJT_VENDUNIQ 0xFF
56#define FC_SWILS_RJT_NODET 0x0
57#define FC_SWILS_RJT_CLSF_ERR 0x1
58#define FC_SWILS_RJT_CLSN_ERR 0x3
59#define FC_SWILS_RJT_INVFC_CODE 0x4
60#define FC_SWILS_RJT_INVFC_PARM 0x5
61#define FC_SWILS_RJT_INV_PNAME 0xD
62#define FC_SWILS_RJT_INV_SNAME 0xE
63#define FC_SWILS_RJT_TOV_MSMTCH 0xF
64#define FC_SWILS_RJT_INV_DIDLST 0x10
65#define FC_SWILS_RJT_CMD_INPROG 0x19
66#define FC_SWILS_RJT_OORSRC 0x29
67#define FC_SWILS_RJT_NO_DID 0x2A
68#define FC_SWILS_RJT_INV_DID 0x2B
69#define FC_SWILS_RJT_NO_REQ 0x2C
70#define FC_SWILS_RJT_NOLNK_PARM 0x2D
71#define FC_SWILS_RJT_NO_REQDID 0x2E
72#define FC_SWILS_RJT_EP_ISOL 0x2F
80 uint8_t req_epname[8];
82 uint8_t clsf_svcparm[6];
83 uint16_t clsf_rcvsize;
86 uint16_t clsf_openseq;
88 uint8_t cls1_svcparm[2];
89 uint16_t cls1_rcvsize;
90 uint8_t cls2_svcparm[2];
91 uint16_t cls2_rcvsize;
92 uint8_t cls3_svcparm[2];
93 uint16_t cls3_rcvsize;
95 uint16_t isl_flwctrl_mode;
96 uint16_t flw_ctrl_parmlen;
103#define FC_SWILS_ELP_SIZE 100
105#define FC_SWILS_ELP_FC_VENDOR 0x1
106#define FC_SWILS_ELP_FC_RRDY 0x2
117 uint8_t mcast_grpnum;
126#define FC_SWILS_LRECTYPE_DOMAIN 0x1
127#define FC_SWILS_LRECTYPE_MCAST 0x2
132 uint16_t payload_len;
134 uint8_t pswitch_prio;
135 uint8_t pswitch_name[8];
137#define FC_SWILS_EFP_SIZE 16
140 uint8_t switch_name[8];
148#define FC_SWILS_RDIREQ_SIZE 4
150#define FC_SWILS_LSR_SLR 0x1
151#define FC_SWILS_LSR_ARS 0x2
153#define FC_SWILS_PDESC_FSPF_BB 0x01
154#define FC_SWILS_PDESC_FSPF 0x02
156#define FC_SWILS_ZONEOBJ_ZONESET 1
157#define FC_SWILS_ZONEOBJ_ZONE 2
158#define FC_SWILS_ZONEOBJ_ZONEALIAS 3
160#define FC_SWILS_ZONEMBR_WWN 1
161#define FC_SWILS_ZONEMBR_DP 2
162#define FC_SWILS_ZONEMBR_FCID 3
163#define FC_SWILS_ZONEMBR_ALIAS 4
164#define FC_SWILS_ZONEMBR_WWN_LUN 0xE1
165#define FC_SWILS_ZONEMBR_DP_LUN 0xE2
166#define FC_SWILS_ZONEMBR_FCID_LUN 0xE3
Definition packet-fcswils.h:138
Definition packet-fcswils.h:107
Definition packet-fcswils.h:114
Definition packet-fcswils.h:128
Definition packet-fcswils.h:73
Definition packet-fcswils.h:143
Definition value_string.h:25
Definition packet-fcswils.h:120