Deleted Added
full compact
in6_pcb.h (55205) in6_pcb.h (62587)
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
1/*
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
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 *
29 * $FreeBSD: head/sys/netinet6/in6_pcb.h 55205 1999-12-29 04:46:21Z peter $
30 */
31
32/*
33 * Copyright (c) 1982, 1986, 1990, 1993
34 * The Regents of the University of California. All rights reserved.
35 *
36 * Redistribution and use in source and binary forms, with or without
37 * modification, are permitted provided that the following conditions

--- 57 unchanged lines hidden (view full) ---

95int in6_setsockaddr __P((struct socket *so, struct sockaddr **nam));
96int in6_mapped_sockaddr __P((struct socket *so, struct sockaddr **nam));
97int in6_mapped_peeraddr __P((struct socket *so, struct sockaddr **nam));
98struct in6_addr *in6_selectsrc __P((struct sockaddr_in6 *,
99 struct ip6_pktopts *,
100 struct ip6_moptions *,
101 struct route_in6 *,
102 struct in6_addr *, int *));
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 *));
103int in6_selecthlim __P((struct inpcb *, struct ifnet *));
104
105int in6_selecthlim __P((struct in6pcb *, struct ifnet *));
106int in6_pcbsetport __P((struct in6_addr *, struct inpcb *, struct proc *));
105void init_sin6 __P((struct sockaddr_in6 *sin6, struct mbuf *m));
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 *));
106#endif /* _KERNEL */
107
108#endif /* !_NETINET6_IN6_PCB_H_ */
113#endif /* _KERNEL */
114
115#endif /* !_NETINET6_IN6_PCB_H_ */