vnet_gen.h revision f2b610cf6e03184d9538e3aaec99bcaf65124714
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A/* transmit return values */ /* private descriptor flags */ /* receive thread flags */ /* get the address of next tbuf */ /* increment recv index */ /* decrement recv index */ /* bounds check rx index */ /* bounds check tx index */ * Handshake parameters (per vio_mailbox.h) of each ldc end point, used * during handshake negotiation. /* version specific params */ /* attributes specific params */ /* descriptor ring params */ /* Channel information associated with a vgen-port */ * locking hierarchy when more than one lock is held concurrently: * cblock > rxlock > txlock > tclock. /* channel info from ldc layer */ int hphase;
/* handshake phase */ int hstate;
/* handshake state bits */ /* transmit and receive descriptor ring info */ /* receive thread field */ /* Channel list structure */ int num_ldcs;
/* number of channels in the list */ /* port information structure */ /* port list structure */ /* vgen instance information */ void *
vnetp;
/* associated vnet instance */