/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_FIBRE_CHANNEL_IMPL_FCGS2_H
#define _SYS_FIBRE_CHANNEL_IMPL_FCGS2_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* A device handle describes the characterics of a device
* Node. Each device handle also contains information
* on the serveral different ports it is discovered on.
*
* Classification of Name Server Objects
*
* +-----------------------------------+---------------------------+
* | Device (node) Specific | Port Specific |
* +-----------------------------------+---------------------------+
* | Node Name (NN) | Port type (PT) |
* | Symbolic Node Name Length | Port Id (ID) |
* | Symbloic Node Name(SNN) | Symbolic Port Name length |
* | Initial Process associator(IPA) | Symbolic Port Name (SPN) |
* | | Class of Service (CS) |
* | | fc4 types (FT) |
* | | IP Address (IP) |
* +-----------------------------------+---------------------------+
*
* The above classification causes some inconvenience in not having
* the ability to directly copy all the nameserver objects into a
* contiguous piece of memory. But we'll live with it.
*/
/* FCS types */
/*
* FCS subtypes for Directory Service
*/
/*
* FCS subtypes for Management Service
*/
/*
* FCS subtypes for Time Service
*/
/*
* FCS subtypes for Alias Service
*/
/*
* FCS subtypes for Key Service
*/
/* FC-CT response codes */
/* FS_RJT Reason Codes */
/* Name Service Command Codes */
/* Name service reject explanation codes */
/* Management Service Command Codes */
/*
* SCR registration function codes
*/
/*
*
* 'x' means either P (port) or N (node)
*/
typedef struct rxn_id {
} ns_rxn_req_t;
/*
* Register Class of service request payload
*/
typedef struct rcos {
} ns_rcos_t;
/*
* Register FC-4 TYPEs request payload
*/
typedef struct rfc_type {
/*
* Register symbolic port name request payload
*/
typedef struct spn {
/*
* What follows here is the actual name
* which is allocated on the fly during
* packet allocation.
*/
} ns_spn_t;
/*
* Register port type request payload
*/
typedef struct rpt {
} ns_rpt_t;
/*
* Register IP address request payload
*/
typedef struct rip {
} ns_rip_t;
/*
* Register Initial Process Associator request payload
*/
typedef struct ipa {
} ns_ipa_t;
/*
* Register Symbolic Node Name request payload
*/
typedef struct snn {
/*
* What follows here is the actual name
* which is allocated on the fly during
* packet allocation.
*/
} ns_snn_t;
/*
* Remove all request payload
*/
typedef struct remall {
} ns_remall_t;
typedef struct ns_req_gid_pt {
typedef struct ns_resp_gid_pt {
typedef struct ns_req_gan {
} ns_req_gan_t;
typedef struct ns_resp_gan {
typedef struct ns_req_gid_pn {
typedef struct ns_resp_gid_pn {
typedef struct ns_req_gpn_id {
typedef struct ns_resp_gpn_id {
typedef struct ns_req_gpt_id {
typedef struct ns_resp_gpt_id {
#if !defined(__lint)
#endif /* __lint */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_FIBRE_CHANNEL_IMPL_FCGS2_H */