iscsi.d revision 9e8164f5f5658c6e38a931780d499f5cb622908a
/*
* 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 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
typedef struct iscsiinfo {
} iscsiinfo_t;
typedef struct conninfo {
} conninfo_t;
typedef struct uiscsiproto uiscsiproto_t;
typedef struct uiscsiproto64 {
struct sockaddr_storage *uip_taddr;
struct sockaddr_storage *uip_iaddr;
typedef struct uiscsiproto32 {
struct sockaddr_storage *uip_taddr;
struct sockaddr_storage *uip_iaddr;
sizeof (sa_family_t))) ?
&((struct sockaddr_in *)
&((struct sockaddr_in6 *)
->sin6_addr, sizeof (in6_addr_t)));
sizeof (sa_family_t))) ?
&((struct sockaddr_in *)
&((struct sockaddr_in6 *)
->sin6_addr, sizeof (in6_addr_t)));
};
};
typedef struct iscsicmd {
} iscsicmd_t;
typedef struct uiscsicmd {
} uiscsicmd_t;
sizeof (uint32_t)) :
sizeof (uint64_t)),
};
inline int ISCSI_FLAG_FINAL = 0x80;
inline int ISCSI_FLAG_CMD_WRITE = 0x20;
inline int ISCSI_FLAG_CMD_READ = 0x40;
inline int ISCSI_FLAG_CMD_BIDI_UNDERFLOW = 0x08;
inline int ISCSI_FLAG_CMD_BIDI_OVERFLOW = 0x10;
inline int ISCSI_FLAG_CMD_UNDERFLOW = 0x02;
inline int ISCSI_FLAG_CMD_OVERFLOW = 0x04;
inline int ISCSI_FLAG_DATA_STATUS = 0x01;
inline int ISCSI_FLAG_DATA_UNDERFLOW = 0x02;
inline int ISCSI_FLAG_DATA_OVERFLOW = 0x04;
inline int ISCSI_FLAG_DATA_ACK = 0x40;
inline int ISCSI_FLAG_TEXT_CONTINUE = 0x40;
inline int ISCSI_FLAG_LOGIN_CONTINUE = 0x40;
inline int ISCSI_FLAG_LOGIN_TRANSIT = 0x80;