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]
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
33 #define GOT_SET_KSTAT 0x01
34 #define GOT_BMP_KSTAT 0x02
35 #define GOT_SEC_KSTAT 0x04
37 #define GOT_COMPLETE_SNDR (GOT_SET_KSTAT|GOT_BMP_KSTAT|GOT_SEC_KSTAT)
39 #define SNDR_COMPLETE(x) (((x) & (GOT_COMPLETE_SNDR)) != (GOT_COMPLETE_SNDR))
42 #define RDC_KSTAT_RDCNAME "sndr"
43 #define RDC_KSTAT_BMPNAME "sndrbmp"
45 #define RDC_DISABLED "<<set disabled>>"
46 #define RDC_SECONDARY "net"
47 #define RDC_BITMAP "bmp"
49 typedef struct sndrstat_s
58 struct sndrstat_s
*next
;
62 int sndr_discover(kstat_ctl_t
*);
63 int sndr_update(kstat_ctl_t
*);
70 #endif /* _SNDR_STATS_H */