1139826Simp/*-
253541Sshin * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
353541Sshin * All rights reserved.
453541Sshin *
553541Sshin * Redistribution and use in source and binary forms, with or without
653541Sshin * modification, are permitted provided that the following conditions
753541Sshin * are met:
853541Sshin * 1. Redistributions of source code must retain the above copyright
953541Sshin *    notice, this list of conditions and the following disclaimer.
1053541Sshin * 2. Redistributions in binary form must reproduce the above copyright
1153541Sshin *    notice, this list of conditions and the following disclaimer in the
1253541Sshin *    documentation and/or other materials provided with the distribution.
1353541Sshin * 3. Neither the name of the project nor the names of its contributors
1453541Sshin *    may be used to endorse or promote products derived from this software
1553541Sshin *    without specific prior written permission.
1653541Sshin *
1753541Sshin * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
1853541Sshin * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1953541Sshin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2053541Sshin * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
2153541Sshin * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2253541Sshin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2353541Sshin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2453541Sshin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2553541Sshin * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2653541Sshin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2753541Sshin * SUCH DAMAGE.
2853541Sshin */
2953541Sshin
30139826Simp/*-
3153541Sshin * Copyright (c) 1982, 1986, 1993, 1994, 1995
3253541Sshin *	The Regents of the University of California.  All rights reserved.
3353541Sshin *
3453541Sshin * Redistribution and use in source and binary forms, with or without
3553541Sshin * modification, are permitted provided that the following conditions
3653541Sshin * are met:
3753541Sshin * 1. Redistributions of source code must retain the above copyright
3853541Sshin *    notice, this list of conditions and the following disclaimer.
3953541Sshin * 2. Redistributions in binary form must reproduce the above copyright
4053541Sshin *    notice, this list of conditions and the following disclaimer in the
4153541Sshin *    documentation and/or other materials provided with the distribution.
4253541Sshin * 4. Neither the name of the University nor the names of its contributors
4353541Sshin *    may be used to endorse or promote products derived from this software
4453541Sshin *    without specific prior written permission.
4553541Sshin *
4653541Sshin * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
4753541Sshin * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4853541Sshin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
4953541Sshin * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
5053541Sshin * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5153541Sshin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
5253541Sshin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5353541Sshin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
5453541Sshin * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
5553541Sshin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5653541Sshin * SUCH DAMAGE.
5753541Sshin *
5853541Sshin *	@(#)tcp_var.h	8.4 (Berkeley) 5/24/95
5953541Sshin * $FreeBSD$
6053541Sshin */
6153541Sshin
6253541Sshin#ifndef _NETINET_TCP6_VAR_H_
6362587Sitojun#define _NETINET_TCP6_VAR_H_
6453541Sshin
6555205Speter#ifdef _KERNEL
6655679Sshin#ifdef SYSCTL_DECL
6755679SshinSYSCTL_DECL(_net_inet6_tcp6);
6853541Sshin
69195699SrwatsonVNET_DECLARE(int, tcp_v6mssdflt);	/* XXX */
70195727Srwatson#define	V_tcp_v6mssdflt			VNET(tcp_v6mssdflt)
71185937Sbz#endif
7255679Sshin
7353541Sshinstruct	ip6_hdr;
74241916Sdelphijvoid	tcp6_ctlinput(int, struct sockaddr *, void *);
75241916Sdelphijvoid	tcp6_init(void);
76241916Sdelphijint	tcp6_input(struct mbuf **, int *, int);
7786764Sjlemonstruct	rtentry *tcp_rtlookup6(struct in_conninfo *);
7853541Sshin
7953541Sshinextern struct	pr_usrreqs tcp6_usrreqs;
8053541Sshin
8155679Sshin#endif /* _KERNEL */
8253541Sshin
8353541Sshin#endif /* _NETINET_TCP6_VAR_H_ */
84