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