scope6_var.h revision 62587
162587Sitojun/* $FreeBSD: head/sys/netinet6/scope6_var.h 62587 2000-07-04 16:35:15Z itojun $ */ 262587Sitojun/* $KAME: scope6_var.h,v 1.4 2000/05/18 15:03:27 jinmei Exp $ */ 362587Sitojun 462587Sitojun/* 562587Sitojun * Copyright (C) 2000 WIDE Project. 662587Sitojun * All rights reserved. 762587Sitojun * 862587Sitojun * Redistribution and use in source and binary forms, with or without 962587Sitojun * modification, are permitted provided that the following conditions 1062587Sitojun * are met: 1162587Sitojun * 1. Redistributions of source code must retain the above copyright 1262587Sitojun * notice, this list of conditions and the following disclaimer. 1362587Sitojun * 2. Redistributions in binary form must reproduce the above copyright 1462587Sitojun * notice, this list of conditions and the following disclaimer in the 1562587Sitojun * documentation and/or other materials provided with the distribution. 1662587Sitojun * 3. Neither the name of the project nor the names of its contributors 1762587Sitojun * may be used to endorse or promote products derived from this software 1862587Sitojun * without specific prior written permission. 1962587Sitojun * 2062587Sitojun * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND 2162587Sitojun * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2262587Sitojun * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2362587Sitojun * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE 2462587Sitojun * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2562587Sitojun * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2662587Sitojun * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2762587Sitojun * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2862587Sitojun * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2962587Sitojun * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3062587Sitojun * SUCH DAMAGE. 3162587Sitojun */ 3262587Sitojun 3362587Sitojun#ifndef _NETINET6_SCOPE6_VAR_H_ 3462587Sitojun#define _NETINET6_SCOPE6_VAR_H_ 3562587Sitojun 3662587Sitojun#ifdef _KERNEL 3762587Sitojunvoid scope6_ifattach __P((struct ifnet *)); 3862587Sitojunint scope6_set __P((struct ifnet *, u_int32_t *)); 3962587Sitojunint scope6_get __P((struct ifnet *, u_int32_t *)); 4062587Sitojunvoid scope6_setdefault __P((struct ifnet *)); 4162587Sitojunint scope6_get_default __P((u_int32_t *)); 4262587Sitojunu_int32_t scope6_in6_addrscope __P((struct in6_addr *)); 4362587Sitojunu_int32_t scope6_addr2default __P((struct in6_addr *)); 4462587Sitojun#endif /* _KERNEL */ 4562587Sitojun 4662587Sitojun#endif /* _NETINET6_SCOPE6_VAR_H_ */ 47