1/* $FreeBSD: head/sys/netinet6/in6_pcb.h 62587 2000-07-04 16:35:15Z itojun $ */ 2/* $KAME: in6_pcb.h,v 1.5 2000/07/03 06:19:53 itojun Exp $ */ 3 |
4/* 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: 11 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 */ 33 34/* 35 * Copyright (c) 1982, 1986, 1990, 1993 36 * The Regents of the University of California. All rights reserved. 37 * 38 * Redistribution and use in source and binary forms, with or without 39 * modification, are permitted provided that the following conditions --- 57 unchanged lines hidden (view full) --- 97int in6_setsockaddr __P((struct socket *so, struct sockaddr **nam)); 98int in6_mapped_sockaddr __P((struct socket *so, struct sockaddr **nam)); 99int in6_mapped_peeraddr __P((struct socket *so, struct sockaddr **nam)); 100struct in6_addr *in6_selectsrc __P((struct sockaddr_in6 *, 101 struct ip6_pktopts *, 102 struct ip6_moptions *, 103 struct route_in6 *, 104 struct in6_addr *, int *)); |
105int in6_selecthlim __P((struct in6pcb *, struct ifnet *)); 106int in6_pcbsetport __P((struct in6_addr *, struct inpcb *, struct proc *)); |
107void init_sin6 __P((struct sockaddr_in6 *sin6, struct mbuf *m)); |
108 109int in6_embedscope __P((struct in6_addr *, const struct sockaddr_in6 *, 110 struct inpcb *, struct ifnet **)); 111int in6_recoverscope __P((struct sockaddr_in6 *, const struct in6_addr *, 112 struct ifnet *)); |
113#endif /* _KERNEL */ 114 115#endif /* !_NETINET6_IN6_PCB_H_ */ |