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