fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* iSNS Entity Protocol, iSNS Draft - section 6.2.2. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* iSNS Function IDs, iSNS Draft - section 4.1.3. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* iSNS Flags, iSNS Draft - section 5.1.4. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* iSNS Response Status, iSNS Draft - section 5.4 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* iSNS Attribute IDs, iSNS Draft - section 6.1. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Entity Protocol, RFC 4171 - section 6.2.2. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Protocol Version Range, RFC 4171 - section 6.2.5. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Portal Port, RFC 4171 - section 6.3.2. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ISNS_PORT_BITS (0x0000FFFF) /* Bits 16 - 31 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Portal Security Bitmap, RFC 4171 - section 6.3.9. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ISNS_TUNNEL_MODE_PREFERRED (0x0040) /* Bit 25 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ISNS_TRANS_MODE_PREFERRED (0x0020) /* Bit 26 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ISNS_AGGR_MODE_ENABLED (0x0008) /* Bit 28 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ISNS_MAIN_MODE_ENABLED (0x0004) /* Bit 29 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ISNS_IKE_IPSEC_ENABLED (0x0002) /* Bit 30 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* iSCSI Node Type, RFC 4171 - section 6.4.2. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* iSCSI Node SCN Bitmap, RFC 4171 - section 6.4.4. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ISNS_INIT_SELF_INFO_ONLY (0x0080) /* Bit 24 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ISNS_TARGET_SELF_INFO_ONLY (0x0040) /* Bit 25 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Portal Group Tag, RFC 4171 - section 6.5.4. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ISNS_PG_TAG (0x0000FFFF) /* Bits 16 - 31 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* DDS Status, RFC 4171 - section 6.11.1.3. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* DD Feature, RFC 4171 - section 6.11.2.9. */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* iSNS Defaults */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Min/Max length of names */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte isns_tlv_t *mesg_attrs[MAX_ISNS_MESG_ATTR_ENTRIES];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte isns_tlv_t *operating_attrs[MAX_ISNS_OPER_ATTR_ENTRIES];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte isns_tlv_t messages_attrs[MAX_ISNS_MESG_ATTR_ENTRIES];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte isns_tlv_t operating_attrs[MAX_ISNS_OPER_ATTR_ENTRIES];
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif /* _ISNS_PROTOCOL_H */