/*
* 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 _LIBDLPI_IMPL_H
#define _LIBDLPI_IMPL_H
#include <libdlpi.h>
#include <sys/sysmacros.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Maximum DLPI response size, in bytes.
*/
/*
* Maximum SAP length, in bytes.
*/
/*
* Number of elements in 'arr'.
*/
/*
* Allocate buffer size for DLPI message, in bytes and set DLPI primitive.
*/
/*
* Publicly available DLPI notification types. This list may change if
* new DLPI notification types are made public. See dlpi(7P).
*
*/
/*
* Used in a mactype lookup table.
*/
typedef struct dlpi_mactype_s {
/*
* Used to get the maximum DLPI message buffer size, in bytes.
*/
typedef struct dlpi_primsz {
/* max. message size, in bytes, for dp_prim */
/*
* Used to create DLPI message.
*/
typedef struct dlpi_msg {
/* store DLPI primitive message */
/* provide buffer size for dlm_msg */
} dlpi_msg_t;
typedef struct dlpi_notifyent {
/* notification types registered */
/* callback to call */
/*
* Private libdlpi structure associated with each DLPI handle.
*/
typedef struct dlpi_impl_s {
/* full linkname including PPA */
/* only provider name */
/* true if notification is being */
/* processed */
/* list of registered notifications */
} dlpi_impl_t;
#ifdef __cplusplus
}
#endif
#endif /* _LIBDLPI_IMPL_H */