1*8485SPeter.Memishian@Sun.COM /* 2*8485SPeter.Memishian@Sun.COM * CDDL HEADER START 3*8485SPeter.Memishian@Sun.COM * 4*8485SPeter.Memishian@Sun.COM * The contents of this file are subject to the terms of the 5*8485SPeter.Memishian@Sun.COM * Common Development and Distribution License (the "License"). 6*8485SPeter.Memishian@Sun.COM * You may not use this file except in compliance with the License. 7*8485SPeter.Memishian@Sun.COM * 8*8485SPeter.Memishian@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*8485SPeter.Memishian@Sun.COM * or http://www.opensolaris.org/os/licensing. 10*8485SPeter.Memishian@Sun.COM * See the License for the specific language governing permissions 11*8485SPeter.Memishian@Sun.COM * and limitations under the License. 12*8485SPeter.Memishian@Sun.COM * 13*8485SPeter.Memishian@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 14*8485SPeter.Memishian@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*8485SPeter.Memishian@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 16*8485SPeter.Memishian@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 17*8485SPeter.Memishian@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 18*8485SPeter.Memishian@Sun.COM * 19*8485SPeter.Memishian@Sun.COM * CDDL HEADER END 20*8485SPeter.Memishian@Sun.COM */ 21*8485SPeter.Memishian@Sun.COM /* 22*8485SPeter.Memishian@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*8485SPeter.Memishian@Sun.COM * Use is subject to license terms. 24*8485SPeter.Memishian@Sun.COM */ 25*8485SPeter.Memishian@Sun.COM 26*8485SPeter.Memishian@Sun.COM #ifndef _INET_DLPISTUB_IMPL_H 27*8485SPeter.Memishian@Sun.COM #define _INET_DLPISTUB_IMPL_H 28*8485SPeter.Memishian@Sun.COM 29*8485SPeter.Memishian@Sun.COM #ifdef __cplusplus 30*8485SPeter.Memishian@Sun.COM extern "C" { 31*8485SPeter.Memishian@Sun.COM #endif 32*8485SPeter.Memishian@Sun.COM 33*8485SPeter.Memishian@Sun.COM #include <sys/types.h> 34*8485SPeter.Memishian@Sun.COM 35*8485SPeter.Memishian@Sun.COM typedef struct dlpistub { 36*8485SPeter.Memishian@Sun.COM int ds_type; /* DLPI MAC type */ 37*8485SPeter.Memishian@Sun.COM t_uscalar_t ds_state; /* DLPI state */ 38*8485SPeter.Memishian@Sun.COM minor_t ds_minor; /* corresponding minor */ 39*8485SPeter.Memishian@Sun.COM } dlpistub_t; 40*8485SPeter.Memishian@Sun.COM 41*8485SPeter.Memishian@Sun.COM #define DS_IDNUM 0x2a84 42*8485SPeter.Memishian@Sun.COM 43*8485SPeter.Memishian@Sun.COM enum { DS_MINOR_VNI = 1, DS_MINOR_IPMP, DS_MINOR_START }; 44*8485SPeter.Memishian@Sun.COM 45*8485SPeter.Memishian@Sun.COM #ifdef __cplusplus 46*8485SPeter.Memishian@Sun.COM } 47*8485SPeter.Memishian@Sun.COM #endif 48*8485SPeter.Memishian@Sun.COM 49*8485SPeter.Memishian@Sun.COM #endif /* _INET_DLPISTUB_IMPL_H */ 50