in6_ifattach.h revision 250251
1232577Sgonzo/*-
2232577Sgonzo * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3232577Sgonzo * All rights reserved.
4232577Sgonzo *
5232577Sgonzo * Redistribution and use in source and binary forms, with or without
6232577Sgonzo * modification, are permitted provided that the following conditions
7232577Sgonzo * are met:
8232577Sgonzo * 1. Redistributions of source code must retain the above copyright
9232577Sgonzo *    notice, this list of conditions and the following disclaimer.
10232577Sgonzo * 2. Redistributions in binary form must reproduce the above copyright
11232577Sgonzo *    notice, this list of conditions and the following disclaimer in the
12232577Sgonzo *    documentation and/or other materials provided with the distribution.
13232577Sgonzo * 3. Neither the name of the project nor the names of its contributors
14232577Sgonzo *    may be used to endorse or promote products derived from this software
15232577Sgonzo *    without specific prior written permission.
16232577Sgonzo *
17232577Sgonzo * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
18232577Sgonzo * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19232577Sgonzo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20232577Sgonzo * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
21232577Sgonzo * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22232577Sgonzo * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23232577Sgonzo * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24232577Sgonzo * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25232577Sgonzo * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26232577Sgonzo * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27232577Sgonzo * SUCH DAMAGE.
28232577Sgonzo *
29232577Sgonzo *	$KAME: in6_ifattach.h,v 1.14 2001/02/08 12:48:39 jinmei Exp $
30232577Sgonzo * $FreeBSD: head/sys/netinet6/in6_ifattach.h 250251 2013-05-04 19:16:26Z hrs $
31232577Sgonzo */
32232577Sgonzo
33232577Sgonzo#ifndef _NETINET6_IN6_IFATTACH_H_
34232577Sgonzo#define _NETINET6_IN6_IFATTACH_H_
35232583Sjmallett
36232583Sjmallett#ifdef _KERNEL
37232583Sjmallettvoid in6_ifattach(struct ifnet *, struct ifnet *);
38232583Sjmallettvoid in6_ifdetach(struct ifnet *);
39232577Sgonzoint in6_get_tmpifid(struct ifnet *, u_int8_t *, const u_int8_t *, int);
40232577Sgonzovoid in6_tmpaddrtimer(void *);
41232577Sgonzoint in6_get_hw_ifid(struct ifnet *, struct in6_addr *);
42232577Sgonzoint in6_nigroup(struct ifnet *, const char *, int, struct in6_addr *);
43232577Sgonzoint in6_nigroup_oldmcprefix(struct ifnet *, const char *, int, struct in6_addr *);
44232577Sgonzo#endif /* _KERNEL */
45232577Sgonzo
46232577Sgonzo#endif /* _NETINET6_IN6_IFATTACH_H_ */
47232577Sgonzo