/*
* 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 _ISCSIADM_H
#define _ISCSIADM_H
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/iscsi_protocol.h>
#include <ima.h>
#include <cmdparse.h>
/*
* This object type is not defined by IMA.
*/
typedef struct _parameterTbl {
char *name;
int val;
/*
* The following interfaces are not defined in IMA 1.1. Some of them
* are requirement candidates for the next IMA release.
*/
/* Currently not defined in IMA_TARGET_DISCOVERY_METHOD enum */
#define IMA_TARGET_DISCOVERY_METHOD_UNKNOWN 0
typedef enum
{
SUN_IMA_DIGEST_NONE = 0,
typedef struct _SUN_IMA_DIGEST_ALGORITHM_VALUE
{
typedef struct _SUN_IMA_DISC_ADDR_PROP_LIST
{
typedef struct _SUN_IMA_RADIUS_CONFIG
{
typedef struct _SUN_IMA_DISC_ADDRESS_KEY
{
typedef struct _SUN_IMA_DISC_ADDRESS_KEY_PROPERTIES
{
typedef struct _SUN_IMA_TARGET_ADDRESS
{
typedef struct _SUN_IMA_STATIC_DISCOVERY_TARGET
{
typedef struct _SUN_IMA_STATIC_DISCOVERY_TARGET_PROPERTIES
{
typedef struct _SUN_IMA_CONN_PROPERTIES {
typedef struct _SUN_IMA_LU_PROPERTIES
{
typedef struct _SUN_IMA_TARGET_PROPERTIES
{
typedef struct _SUN_IMA_CONFIG_SESSIONS {
/* True if sessions are bound to an interface */
/*
* Memory allocated from caller. In addition
* on a Set this is the number of configured
* sessions.
*/
/* Number of Configured sessions on Get */
typedef struct _SUN_IMA_STATIC_TARGET_PROPERTIES
{
#ifdef __cplusplus
}
#endif
#endif /* _ISCSIADM_H */