4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
34 /* raw scn data type */
35 typedef struct scn_raw
{
49 /* scn context data type */
50 typedef struct scn_text
{
59 struct scn_text
*next
;
62 /* portal data type stroed in scn registry */
63 typedef struct scn_portal
{
73 struct scn_portal
*next
;
76 typedef struct scn_list
{
81 struct scn_list
*next
;
84 /* scn trigger uint */
94 /* scn registry list */
95 typedef struct scn_registry
{
105 struct scn_registry
*next
;
109 /* function prototypes */
110 void *scn_proc(void *);
112 int scn_list_load(uint32_t, uchar_t
*, uint32_t, uint32_t);
113 int verify_scn_portal(void);
114 int add_scn_entry(uchar_t
*, uint32_t, uint32_t);
115 int remove_scn_entry(uchar_t
*);
116 int remove_scn_portal(uint32_t);
117 int make_scn(uint32_t, isns_obj_t
*);
119 int connect_to(int, in_addr_t
, in6_addr_t
*, uint32_t);
125 #endif /* _ISNS_SCN_H */