/*
* 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 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifdef __cplusplus
extern "C" {
#endif
#if !defined(_BIT_FIELDS_LTOH) && !defined(_BIT_FIELDS_HTOL)
#endif /* _BIT_FIELDS_LTOH */
/*
* Link Application Opcodes.
*/
/*
* LINIT status codes in the ACC
*/
/* Basic Accept Payload. */
typedef struct la_ba_acc {
#if defined(_BIT_FIELDS_LTOH)
#else
org_sid : 24;
#endif /* _BIT_FIELDS_LTOH */
} la_ba_acc_t;
/* Basic Reject. */
typedef struct la_ba_rjt {
} la_ba_rjt_t;
/* Logout payload. */
typedef struct la_els_logo {
/* Address discovery */
typedef struct la_els_adisc {
/* Link Application Reject */
typedef struct la_els_rjt {
} la_els_rjt_t;
typedef struct service_parameter_page {
/* Process login */
typedef struct la_els_prli {
#if defined(_BIT_FIELDS_LTOH)
#elif defined(_BIT_FIELDS_HTOL)
page_length : 8,
payload_length : 16;
#endif /* _BIT_FIELDS_LTOH */
/* Process Logout */
typedef struct la_els_prlo {
#if !defined(__lint)
#endif /* __lint */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_FIBRE_CHANNEL_IMPL_FC_LINKAPP_H */