xref: /illumos-gate/usr/src/cmd/connstat/connstat_mib.h (revision 2aeafac3612e19716bf8164f89c3c9196342979c)
1 /*
2  * CDDL HEADER START
3  *
4  * This file and its contents are supplied under the terms of the
5  * Common Development and Distribution License ("CDDL"), version 1.0.
6  * You may only use this file in accordance with the terms of version
7  * 1.0 of the CDDL.
8  *
9  * A full copy of the text of the CDDL should have accompanied this
10  * source.  A copy of the CDDL is also available via the Internet at
11  * http://www.illumos.org/license/CDDL.
12  *
13  * CDDL HEADER END
14  */
15 /*
16  * Copyright (c) 2015 by Delphix. All rights reserved.
17  */
18 
19 #ifndef	_CONNSTAT_MIB_H
20 #define	_CONNSTAT_MIB_H
21 
22 #include "connstat.h"
23 
24 #ifdef	__cplusplus
25 extern "C" {
26 #endif
27 
28 int mibopen(const char *);
29 int conn_walk(int, connstat_proto_t *, conn_walk_state_t *);
30 
31 #ifdef	__cplusplus
32 }
33 #endif
34 
35 #endif	/* _CONNSTAT_MIB_H */
36