in6_ifattach.h revision 241916
1132624Smarcel/*- 2132624Smarcel * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3132624Smarcel * All rights reserved. 4132624Smarcel * 5132624Smarcel * Redistribution and use in source and binary forms, with or without 6132624Smarcel * modification, are permitted provided that the following conditions 7132624Smarcel * are met: 8132624Smarcel * 1. Redistributions of source code must retain the above copyright 9132624Smarcel * notice, this list of conditions and the following disclaimer. 10132624Smarcel * 2. Redistributions in binary form must reproduce the above copyright 11132624Smarcel * notice, this list of conditions and the following disclaimer in the 12132624Smarcel * documentation and/or other materials provided with the distribution. 13132624Smarcel * 3. Neither the name of the project nor the names of its contributors 14132624Smarcel * may be used to endorse or promote products derived from this software 15132624Smarcel * without specific prior written permission. 16132624Smarcel * 17132624Smarcel * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND 18132624Smarcel * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19132624Smarcel * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20132624Smarcel * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE 21132624Smarcel * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22132624Smarcel * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23132624Smarcel * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24132624Smarcel * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25132624Smarcel * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26132624Smarcel * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27132624Smarcel * SUCH DAMAGE. 28132624Smarcel * 29132624Smarcel * $KAME: in6_ifattach.h,v 1.14 2001/02/08 12:48:39 jinmei Exp $ 30132624Smarcel * $FreeBSD: head/sys/netinet6/in6_ifattach.h 241916 2012-10-22 21:49:56Z delphij $ 31132624Smarcel */ 32132624Smarcel 33132624Smarcel#ifndef _NETINET6_IN6_IFATTACH_H_ 34132624Smarcel#define _NETINET6_IN6_IFATTACH_H_ 35132624Smarcel 36132624Smarcel#ifdef _KERNEL 37132624Smarcelvoid in6_ifattach(struct ifnet *, struct ifnet *); 38132624Smarcelvoid in6_ifdetach(struct ifnet *); 39132624Smarcelint in6_get_tmpifid(struct ifnet *, u_int8_t *, const u_int8_t *, int); 40132624Smarcelvoid in6_tmpaddrtimer(void *); 41132624Smarcelint in6_get_hw_ifid(struct ifnet *, struct in6_addr *); 42132624Smarcelint in6_nigroup(struct ifnet *, const char *, int, struct in6_addr *); 43133739Smarcel#endif /* _KERNEL */ 44132624Smarcel 45132624Smarcel#endif /* _NETINET6_IN6_IFATTACH_H_ */ 46132624Smarcel