1f4b3ec61Sdh /*
2f4b3ec61Sdh  * CDDL HEADER START
3f4b3ec61Sdh  *
4f4b3ec61Sdh  * The contents of this file are subject to the terms of the
5f4b3ec61Sdh  * Common Development and Distribution License (the "License").
6f4b3ec61Sdh  * You may not use this file except in compliance with the License.
7f4b3ec61Sdh  *
8f4b3ec61Sdh  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f4b3ec61Sdh  * or http://www.opensolaris.org/os/licensing.
10f4b3ec61Sdh  * See the License for the specific language governing permissions
11f4b3ec61Sdh  * and limitations under the License.
12f4b3ec61Sdh  *
13f4b3ec61Sdh  * When distributing Covered Code, include this CDDL HEADER in each
14f4b3ec61Sdh  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f4b3ec61Sdh  * If applicable, add the following below this CDDL HEADER, with the
16f4b3ec61Sdh  * fields enclosed by brackets "[]" replaced with your own identifying
17f4b3ec61Sdh  * information: Portions Copyright [yyyy] [name of copyright owner]
18f4b3ec61Sdh  *
19f4b3ec61Sdh  * CDDL HEADER END
20f4b3ec61Sdh  */
21f4b3ec61Sdh /*
22f4b3ec61Sdh  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23f4b3ec61Sdh  * Use is subject to license terms.
24f4b3ec61Sdh  */
25f4b3ec61Sdh 
26f4b3ec61Sdh #ifndef	_NETSTACK_H
27f4b3ec61Sdh #define	_NETSTACK_H
28f4b3ec61Sdh 
29f4b3ec61Sdh #include <mdb/mdb_modapi.h>
30f4b3ec61Sdh 
31f4b3ec61Sdh #ifdef	__cplusplus
32f4b3ec61Sdh extern "C" {
33f4b3ec61Sdh #endif
34f4b3ec61Sdh 
35f4b3ec61Sdh int netstack_walk_init(mdb_walk_state_t *);
36f4b3ec61Sdh int netstack_walk_step(mdb_walk_state_t *);
37f4b3ec61Sdh 
38f4b3ec61Sdh int netstack(uintptr_t, uint_t, int, const mdb_arg_t *);
39*589efa95SRobert Mustacchi int netstackid2netstack(uintptr_t, uint_t, int, const mdb_arg_t *);
40f4b3ec61Sdh 
41f4b3ec61Sdh #ifdef	__cplusplus
42f4b3ec61Sdh }
43f4b3ec61Sdh #endif
44f4b3ec61Sdh 
45f4b3ec61Sdh #endif	/* _NETSTACK_H */
46