Lines Matching +full:port +full:- +full:id

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * Maintained at www.Open-FCoE.org
14 * Fibre Channel Services - Name Service (dNS)
15 * From T11.org FC-GS-2 Rev 5.3 November 1998.
19 * Common-transport sub-type for Name Server.
29 FC_NS_GI_A = 0x0101, /* get identifiers - scope */
30 FC_NS_GPN_ID = 0x0112, /* get port name by ID */
31 FC_NS_GNN_ID = 0x0113, /* get node name by ID */
32 FC_NS_GSPN_ID = 0x0118, /* get symbolic port name */
33 FC_NS_GID_PN = 0x0121, /* get ID for port name */
36 FC_NS_GPN_FT = 0x0172, /* get port names by FC4 type */
37 FC_NS_GID_PT = 0x01a1, /* get IDs by port type */
38 FC_NS_RPN_ID = 0x0212, /* reg port name for ID */
39 FC_NS_RNN_ID = 0x0213, /* reg node name for ID */
40 FC_NS_RFT_ID = 0x0217, /* reg FC4 type for ID */
41 FC_NS_RSPN_ID = 0x0218, /* reg symbolic port name */
42 FC_NS_RFF_ID = 0x021f, /* reg FC4 Features for ID */
47 * Port type values.
51 FC_NS_N_PORT = 0x01, /* N port */
52 FC_NS_NL_PORT = 0x02, /* NL port */
53 FC_NS_FNL_PORT = 0x03, /* F/NL port */
54 FC_NS_NX_PORT = 0x7f, /* Nx port */
55 FC_NS_F_PORT = 0x81, /* F port */
56 FC_NS_FL_PORT = 0x82, /* FL port */
57 FC_NS_E_PORT = 0x84, /* E port */
58 FC_NS_B_PORT = 0x85, /* B port */
62 * Port type object.
69 * Port ID object
77 * fp_flags in port ID object, for responses only.
82 * FC4-types object.
84 #define FC_NS_TYPES 256 /* number of possible FC-4 types */
88 __be32 ff_type_map[FC_NS_TYPES / FC_NS_BPW]; /* bitmap of FC-4 types */
92 * FC4-features object.
95 __be32 fd_feat[FC_NS_TYPES * 4 / FC_NS_BPW]; /* 4-bits per FC-type */
123 __u8 fp_fid[3]; /* port ID */
125 __be64 fp_wwpn; /* port name */
132 __be64 fn_wwpn; /* port name */
140 __u8 fp_fid[3]; /* port ID */
152 * RFT_ID request - register FC-4 types for ID.
155 struct fc_ns_fid fr_fid; /* port ID object */
156 struct fc_ns_fts fr_fts; /* FC-4 types object */
160 * RPN_ID request - register port name for ID.
161 * RNN_ID request - register node name for ID.
164 struct fc_ns_fid fr_fid; /* port ID object */
165 __be64 fr_wwn; /* node name or port name */
169 * RSNN_NN request - register symbolic node name
178 * RSPN_ID request - register symbolic port name
181 struct fc_ns_fid fr_fid; /* port ID object */
187 * RFF_ID request - register FC-4 Features for ID.
190 struct fc_ns_fid fr_fid; /* port ID object */
192 __u8 fr_feat; /* FC-4 Feature bits */
193 __u8 fr_type; /* FC-4 type */