xref: /titanic_44/usr/src/uts/common/inet/ip_netinfo.h (revision bd670b35a010421b6e1a5536c34453a827007c81)
1381a2a9aSdr146992 /*
2381a2a9aSdr146992  * CDDL HEADER START
3381a2a9aSdr146992  *
4381a2a9aSdr146992  * The contents of this file are subject to the terms of the
5381a2a9aSdr146992  * Common Development and Distribution License (the "License").
6381a2a9aSdr146992  * You may not use this file except in compliance with the License.
7381a2a9aSdr146992  *
8381a2a9aSdr146992  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9381a2a9aSdr146992  * or http://www.opensolaris.org/os/licensing.
10381a2a9aSdr146992  * See the License for the specific language governing permissions
11381a2a9aSdr146992  * and limitations under the License.
12381a2a9aSdr146992  *
13381a2a9aSdr146992  * When distributing Covered Code, include this CDDL HEADER in each
14381a2a9aSdr146992  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15381a2a9aSdr146992  * If applicable, add the following below this CDDL HEADER, with the
16381a2a9aSdr146992  * fields enclosed by brackets "[]" replaced with your own identifying
17381a2a9aSdr146992  * information: Portions Copyright [yyyy] [name of copyright owner]
18381a2a9aSdr146992  *
19381a2a9aSdr146992  * CDDL HEADER END
20381a2a9aSdr146992  */
21381a2a9aSdr146992 
22381a2a9aSdr146992 /*
23*bd670b35SErik Nordmark  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24381a2a9aSdr146992  * Use is subject to license terms.
25381a2a9aSdr146992  */
26381a2a9aSdr146992 
27381a2a9aSdr146992 #ifndef	_INET_IP_NETINFO_H
28381a2a9aSdr146992 #define	_INET_IP_NETINFO_H
29381a2a9aSdr146992 
30381a2a9aSdr146992 #ifdef	__cplusplus
31381a2a9aSdr146992 extern "C" {
32381a2a9aSdr146992 #endif
33381a2a9aSdr146992 
34381a2a9aSdr146992 #ifdef _KERNEL
35381a2a9aSdr146992 
36fd636508Szf203873 extern ddi_taskq_t *eventq_queue_nic;
37fd636508Szf203873 
38f4b3ec61Sdh155122 extern void ip_net_g_init();
39f4b3ec61Sdh155122 extern void ip_net_g_destroy();
40f4b3ec61Sdh155122 extern void ip_net_init(ip_stack_t *, netstack_t *);
41f4b3ec61Sdh155122 extern void ip_net_destroy(ip_stack_t *);
42f4b3ec61Sdh155122 extern void ipv4_hook_init(ip_stack_t *);
43f4b3ec61Sdh155122 extern void ipv6_hook_init(ip_stack_t *);
44*bd670b35SErik Nordmark extern void arp_hook_init(ip_stack_t *);
45f4b3ec61Sdh155122 extern void ipv4_hook_destroy(ip_stack_t *);
46f4b3ec61Sdh155122 extern void ipv6_hook_destroy(ip_stack_t *);
47*bd670b35SErik Nordmark extern void arp_hook_destroy(ip_stack_t *);
488ad74188SDarren Reed extern void ipv4_hook_shutdown(ip_stack_t *);
498ad74188SDarren Reed extern void ipv6_hook_shutdown(ip_stack_t *);
50*bd670b35SErik Nordmark extern void arp_hook_shutdown(ip_stack_t *);
51381a2a9aSdr146992 extern void ip_ne_queue_func(void *);
52381a2a9aSdr146992 
53381a2a9aSdr146992 #endif	/* _KERNEL */
54381a2a9aSdr146992 
55381a2a9aSdr146992 #ifdef	__cplusplus
56381a2a9aSdr146992 }
57381a2a9aSdr146992 #endif
58381a2a9aSdr146992 
59381a2a9aSdr146992 #endif	/* _INET_IP_NETINFO_H */
60