1219019Sgabor/*-
2219019Sgabor * SPDX-License-Identifier: BSD-3-Clause
3219019Sgabor *
4219019Sgabor * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5219019Sgabor * All rights reserved.
6219019Sgabor *
7219019Sgabor * Redistribution and use in source and binary forms, with or without
8219019Sgabor * modification, are permitted provided that the following conditions
9219019Sgabor * are met:
10219019Sgabor * 1. Redistributions of source code must retain the above copyright
11219019Sgabor *    notice, this list of conditions and the following disclaimer.
12219019Sgabor * 2. Redistributions in binary form must reproduce the above copyright
13219019Sgabor *    notice, this list of conditions and the following disclaimer in the
14219019Sgabor *    documentation and/or other materials provided with the distribution.
15219019Sgabor * 3. Neither the name of the project nor the names of its contributors
16219019Sgabor *    may be used to endorse or promote products derived from this software
17219019Sgabor *    without specific prior written permission.
18219019Sgabor *
19219019Sgabor * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
20219019Sgabor * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21219019Sgabor * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22219019Sgabor * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
23219019Sgabor * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24219019Sgabor * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25219019Sgabor * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26219019Sgabor * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27219019Sgabor * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28219019Sgabor * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29219019Sgabor * SUCH DAMAGE.
30219019Sgabor *
31219019Sgabor *	$KAME: in6_ifattach.h,v 1.14 2001/02/08 12:48:39 jinmei Exp $
32219019Sgabor */
33219019Sgabor
34219019Sgabor#ifndef _NETINET6_IN6_IFATTACH_H_
35219019Sgabor#define _NETINET6_IN6_IFATTACH_H_
36219019Sgabor
37219019Sgabor#ifdef _KERNEL
38219019Sgaborvoid in6_ifattach(struct ifnet *, struct ifnet *);
39219019Sgaborvoid in6_ifattach_destroy(void);
40219019Sgaborvoid in6_ifdetach(struct ifnet *);
41219019Sgaborvoid in6_ifdetach_destroy(struct ifnet *);
42219019Sgaborint in6_get_tmpifid(struct ifnet *, u_int8_t *, const u_int8_t *, int);
43219019Sgaborvoid in6_tmpaddrtimer(void *);
44219019Sgaborint in6_get_hw_ifid(struct ifnet *, struct in6_addr *);
45219019Sgaborint in6_nigroup(struct ifnet *, const char *, int, struct in6_addr *);
46219019Sgaborint in6_nigroup_oldmcprefix(struct ifnet *, const char *, int, struct in6_addr *);
47219019Sgabor#endif /* _KERNEL */
48219019Sgabor
49219019Sgabor#endif /* _NETINET6_IN6_IFATTACH_H_ */
50219019Sgabor