tcp6_var.h revision 139826
11558Srgrimes/*-
298542Smckusick * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
398542Smckusick * All rights reserved.
498542Smckusick *
598542Smckusick * Redistribution and use in source and binary forms, with or without
698542Smckusick * modification, are permitted provided that the following conditions
798542Smckusick * are met:
898542Smckusick * 1. Redistributions of source code must retain the above copyright
9110884Smckusick *    notice, this list of conditions and the following disclaimer.
1098542Smckusick * 2. Redistributions in binary form must reproduce the above copyright
11136721Srwatson *    notice, this list of conditions and the following disclaimer in the
12136721Srwatson *    documentation and/or other materials provided with the distribution.
13136721Srwatson * 3. Neither the name of the project nor the names of its contributors
14136721Srwatson *    may be used to endorse or promote products derived from this software
15136721Srwatson *    without specific prior written permission.
16136721Srwatson *
17136721Srwatson * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
18136721Srwatson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19136721Srwatson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20136721Srwatson * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
21136721Srwatson * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22136721Srwatson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23136721Srwatson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24136721Srwatson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25136721Srwatson * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26136721Srwatson * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27136721Srwatson * SUCH DAMAGE.
28136721Srwatson *
29136721Srwatson * $FreeBSD: head/sys/netinet6/tcp6_var.h 139826 2005-01-07 02:30:35Z imp $
30136721Srwatson */
31136721Srwatson
321558Srgrimes/*-
331558Srgrimes * Copyright (c) 1982, 1986, 1993, 1994, 1995
341558Srgrimes *	The Regents of the University of California.  All rights reserved.
351558Srgrimes *
361558Srgrimes * Redistribution and use in source and binary forms, with or without
371558Srgrimes * modification, are permitted provided that the following conditions
381558Srgrimes * are met:
391558Srgrimes * 1. Redistributions of source code must retain the above copyright
401558Srgrimes *    notice, this list of conditions and the following disclaimer.
411558Srgrimes * 2. Redistributions in binary form must reproduce the above copyright
421558Srgrimes *    notice, this list of conditions and the following disclaimer in the
431558Srgrimes *    documentation and/or other materials provided with the distribution.
441558Srgrimes * 4. Neither the name of the University nor the names of its contributors
451558Srgrimes *    may be used to endorse or promote products derived from this software
461558Srgrimes *    without specific prior written permission.
471558Srgrimes *
481558Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
491558Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
501558Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
511558Srgrimes * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
521558Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
531558Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
541558Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
551558Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
561558Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
571558Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
581558Srgrimes * SUCH DAMAGE.
5923675Speter *
6055724Speter *	@(#)tcp_var.h	8.4 (Berkeley) 5/24/95
611558Srgrimes * $FreeBSD: head/sys/netinet6/tcp6_var.h 139826 2005-01-07 02:30:35Z imp $
621558Srgrimes */
63207143Spjd
64207143Spjd#ifndef _NETINET_TCP6_VAR_H_
65207143Spjd#define _NETINET_TCP6_VAR_H_
6623675Speter
6723675Speter#ifdef _KERNEL
6823675Speter#ifdef SYSCTL_DECL
6923675SpeterSYSCTL_DECL(_net_inet6_tcp6);
701558Srgrimes#endif
711558Srgrimes
721558Srgrimesextern	int tcp_v6mssdflt;	/* XXX */
731558Srgrimes
741558Srgrimesstruct	ip6_hdr;
7598542Smckusickvoid	tcp6_ctlinput __P((int, struct sockaddr *, void *));
7698542Smckusickvoid	tcp6_init __P((void));
7798542Smckusickint	tcp6_input __P((struct mbuf **, int *, int));
7898542Smckusickstruct	rtentry *tcp_rtlookup6(struct in_conninfo *);
7998542Smckusick
8098542Smckusickextern struct	pr_usrreqs tcp6_usrreqs;
8198542Smckusick
8298542Smckusick#endif /* _KERNEL */
83134589Sscottl
84134589Sscottl#endif /* _NETINET_TCP6_VAR_H_ */
85134589Sscottl