/*
* 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.
*/
#ifndef _ISNS_PROTOCOL_H
#define _ISNS_PROTOCOL_H
#ifdef __cplusplus
extern "C" {
#endif
/* iSNS Entity Protocol, iSNS Draft - section 6.2.2. */
/* iSNS Function IDs, iSNS Draft - section 4.1.3. */
/* iSNS Flags, iSNS Draft - section 5.1.4. */
/* iSNS Response Status, iSNS Draft - section 5.4 */
#define ISNS_RSP_SUCCESSFUL (0)
/* iSCSI Node Type, iSNS Draft - section 6.4.2. */
/* iSCSI Node SCN Bitmap, iSNS Draft - section 6.4.4. */
/* iSNS Attribute IDs, iSNS Draft - section 6.1. */
#define ISNS_DELIMITER_ATTR_ID (0)
/* iSNS Defaults */
typedef struct isns_tlv {
} isns_tlv_t;
typedef struct isns_packet_data {
int num_of_tlvs;
typedef struct isns_reg_mesg {
int num_of_mesg_attrs;
typedef struct isns_resp_mesg {
typedef struct isns_pdu {
} isns_pdu_t;
typedef struct isns_resp {
} isns_resp_t;
#ifdef __cplusplus
}
#endif
#endif /* _ISNS_PROTOCOL_H */