1caf43b02SWarner Losh /*- 2*51369649SPedro F. Giffuni * SPDX-License-Identifier: BSD-3-Clause 3*51369649SPedro F. Giffuni * 482cd038dSYoshinobu Inoue * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 582cd038dSYoshinobu Inoue * All rights reserved. 682cd038dSYoshinobu Inoue * 782cd038dSYoshinobu Inoue * Redistribution and use in source and binary forms, with or without 882cd038dSYoshinobu Inoue * modification, are permitted provided that the following conditions 982cd038dSYoshinobu Inoue * are met: 1082cd038dSYoshinobu Inoue * 1. Redistributions of source code must retain the above copyright 1182cd038dSYoshinobu Inoue * notice, this list of conditions and the following disclaimer. 1282cd038dSYoshinobu Inoue * 2. Redistributions in binary form must reproduce the above copyright 1382cd038dSYoshinobu Inoue * notice, this list of conditions and the following disclaimer in the 1482cd038dSYoshinobu Inoue * documentation and/or other materials provided with the distribution. 1582cd038dSYoshinobu Inoue * 3. Neither the name of the project nor the names of its contributors 1682cd038dSYoshinobu Inoue * may be used to endorse or promote products derived from this software 1782cd038dSYoshinobu Inoue * without specific prior written permission. 1882cd038dSYoshinobu Inoue * 1982cd038dSYoshinobu Inoue * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND 2082cd038dSYoshinobu Inoue * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2182cd038dSYoshinobu Inoue * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2282cd038dSYoshinobu Inoue * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE 2382cd038dSYoshinobu Inoue * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2482cd038dSYoshinobu Inoue * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2582cd038dSYoshinobu Inoue * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2682cd038dSYoshinobu Inoue * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2782cd038dSYoshinobu Inoue * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2882cd038dSYoshinobu Inoue * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2982cd038dSYoshinobu Inoue * SUCH DAMAGE. 30b48287a3SDavid E. O'Brien * 31b48287a3SDavid E. O'Brien * $KAME: in6_ifattach.h,v 1.14 2001/02/08 12:48:39 jinmei Exp $ 3282cd038dSYoshinobu Inoue */ 3382cd038dSYoshinobu Inoue 3482cd038dSYoshinobu Inoue #ifndef _NETINET6_IN6_IFATTACH_H_ 3582cd038dSYoshinobu Inoue #define _NETINET6_IN6_IFATTACH_H_ 3682cd038dSYoshinobu Inoue 3782cd038dSYoshinobu Inoue #ifdef _KERNEL 386f56329aSXin LI void in6_ifattach(struct ifnet *, struct ifnet *); 399901091eSBjoern A. Zeeb void in6_ifattach_destroy(void); 406f56329aSXin LI void in6_ifdetach(struct ifnet *); 4189856f7eSBjoern A. Zeeb void in6_ifdetach_destroy(struct ifnet *); 426f56329aSXin LI int in6_get_tmpifid(struct ifnet *, u_int8_t *, const u_int8_t *, int); 436f56329aSXin LI void in6_tmpaddrtimer(void *); 446f56329aSXin LI int in6_get_hw_ifid(struct ifnet *, struct in6_addr *); 456f56329aSXin LI int in6_nigroup(struct ifnet *, const char *, int, struct in6_addr *); 465df1b6b5SHiroki Sato int in6_nigroup_oldmcprefix(struct ifnet *, const char *, int, struct in6_addr *); 4782cd038dSYoshinobu Inoue #endif /* _KERNEL */ 4882cd038dSYoshinobu Inoue 4982cd038dSYoshinobu Inoue #endif /* _NETINET6_IN6_IFATTACH_H_ */ 50