/*
* 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 2001 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* ****** NOTICE **** This header file is maintained in the SMS gate,
* ****** NOTICE **** the ON gate, and the ssc driver gate. Any changes
* ****** NOTICE **** to it must also be made to in all gates.
*/
#ifndef _DMAN_H
#define _DMAN_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Ethernet stuff
*/
/*
* Private DLPI full dlsap address format - stolen from eri.h
*/
typedef struct man_dladdr_s {
} man_dladdr_t;
#define FALSE 0
/*
* Caller IDs for man_sendit processing decision on canput failure.
*/
/*
* MAN device information structure, one per man instance
*
* global list pointed to by MAN_XX_head
*/
typedef struct man_s {
/*
* Failover timers, used by man_dest_t.
*/
} man_t;
/*
* MAN link state definitions
*/
/*
* MAN timer types and times.
*/
/*
* MAN DR variables
*/
/*
* Device info - this must stay 64 bit aligned.
*/
typedef struct md_s {
} man_dev_t;
/*
* mdev_state definitions
*/
/*
* MAN lower multiplexor data structure
*/
typedef struct man_dest_s {
/*
* Failover variables, only valid for active path.
*/
} man_dest_t;
/*
* md_state values
*/
/*
* md_link_updwon_msg states.
*/
/*
* Upper per-stream instance state information.
*
* Each instance is dynamically allocated at open() and free'd at close().
* Each per-stream instance points to at most one per-device structure
* using the ms_manp field. All instances are threaded together into one
* list of active instances ordered on sequence of opens.
*/
typedef struct manstr_s {
} manstr_t;
/*
* ms_flags values.
*/
/*
* Paths in pathgroup lists.
*/
typedef struct mpa_s {
} man_path_t;
/*
* Pathgroup list, one per destination ID. Each pathgroup connects
* to one destination. Hence we put that destination ethernet address
* here. It is read from here and stored in man_dest_t.md_dst_eaddr
* each time a new path is switched to.
*/
typedef struct man_pg_s {
int mpg_flags;
} man_pg_t;
/*
* mpg_pg_flags fields.
*/
/*
* MAN IOCTL Definitions.
*/
/*
* Pathgroup assignment data structure - this must stay 64 bit aligned.
*/
typedef struct mi_path_t {
} mi_path_t;
/*
* Linkcheck time assignment data structure - this must stay 64 bit aligned.
*/
typedef struct mi_time_t {
} mi_time_t;
/*
* SC IP address assignment data structure. See man_pinger().
*/
typedef struct man_sc_ipaddrs_s {
/*
* SC IPv6 address assignment data structure. See man_pinger().
*/
typedef struct man_sc_ip6addrs_s {
/*
* Array of dests to apply operation to.
*/
typedef struct man_adest_s {
} man_adest_t;
/*
* work structure for MAN background thread.
*/
typedef struct man_work_s {
} man_work_t;
/*
* Values for mw_flags
*/
/*
* Values for mw_type.
*/
/*
* State definitions for man_config_state
*/
/*
* IOSRAM definitions
*/
typedef struct manc_s {
} manc_t;
typedef struct man_mb_s {
typedef struct ml_s {
int l_muxid;
typedef struct man_workq_s {
} man_workq_t;
/*
* PCI stuff.
*/
/*
* Misc defines
*/
/* ------------------------------------------------------------------------- */
/*
* Patchable debug flag.
* Set this to nonzero to enable error messages.
*/
/*
* The following parameters may be configured by the user. If they are not
* configured by the user, the values will be based on the capabilities of
* the transceiver.
* The value "MAN_NOTUSR" is ORed with the parameter value to indicate values
* which are NOT configured by the user.
*/
/* command */
typedef struct param_s {
char *param_name;
} param_t;
#if defined(DEBUG)
#else
#endif /* DEBUG */
#ifdef __cplusplus
}
#endif
#endif /* _DMAN_H */