1 |
/*!\file netinet6/tcp6_var.h
|
1 |
/*!\file netinet6/tcp6_var.h
|
2 |
*
|
2 |
*
|
3 |
*/
|
3 |
*/
|
4 |
/*
|
4 |
/*
|
5 |
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
5 |
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
6 |
* All rights reserved.
|
6 |
* All rights reserved.
|
7 |
*
|
7 |
*
|
8 |
* Redistribution and use in source and binary forms, with or without
|
8 |
* Redistribution and use in source and binary forms, with or without
|
9 |
* modification, are permitted provided that the following conditions
|
9 |
* modification, are permitted provided that the following conditions
|
10 |
* are met:
|
10 |
* are met:
|
11 |
* 1. Redistributions of source code must retain the above copyright
|
11 |
* 1. Redistributions of source code must retain the above copyright
|
12 |
* notice, this list of conditions and the following disclaimer.
|
12 |
* notice, this list of conditions and the following disclaimer.
|
13 |
* 2. Redistributions in binary form must reproduce the above copyright
|
13 |
* 2. Redistributions in binary form must reproduce the above copyright
|
14 |
* notice, this list of conditions and the following disclaimer in the
|
14 |
* notice, this list of conditions and the following disclaimer in the
|
15 |
* documentation and/or other materials provided with the distribution.
|
15 |
* documentation and/or other materials provided with the distribution.
|
16 |
* 3. Neither the name of the project nor the names of its contributors
|
16 |
* 3. Neither the name of the project nor the names of its contributors
|
17 |
* may be used to endorse or promote products derived from this software
|
17 |
* may be used to endorse or promote products derived from this software
|
18 |
* without specific prior written permission.
|
18 |
* without specific prior written permission.
|
19 |
*
|
19 |
*
|
20 |
* THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
|
20 |
* THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
|
21 |
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
21 |
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
22 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
22 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
23 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
|
23 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
|
24 |
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
24 |
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
25 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
25 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
26 |
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
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
|
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
|
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
|
29 |
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
30 |
* SUCH DAMAGE.
|
30 |
* SUCH DAMAGE.
|
31 |
*
|
31 |
*
|
32 |
* $FreeBSD: src/sys/netinet6/tcp6_var.h,v 1.5 2001/11/22 04:50:44 jlemon Exp $
|
32 |
* $FreeBSD: src/sys/netinet6/tcp6_var.h,v 1.5 2001/11/22 04:50:44 jlemon Exp $
|
33 |
*/
|
33 |
*/
|
34 |
|
34 |
|
35 |
/*
|
35 |
/*
|
36 |
* Copyright (c) 1982, 1986, 1993, 1994, 1995
|
36 |
* Copyright (c) 1982, 1986, 1993, 1994, 1995
|
37 |
* The Regents of the University of California. All rights reserved.
|
37 |
* The Regents of the University of California. All rights reserved.
|
38 |
*
|
38 |
*
|
39 |
* Redistribution and use in source and binary forms, with or without
|
39 |
* Redistribution and use in source and binary forms, with or without
|
40 |
* modification, are permitted provided that the following conditions
|
40 |
* modification, are permitted provided that the following conditions
|
41 |
* are met:
|
41 |
* are met:
|
42 |
* 1. Redistributions of source code must retain the above copyright
|
42 |
* 1. Redistributions of source code must retain the above copyright
|
43 |
* notice, this list of conditions and the following disclaimer.
|
43 |
* notice, this list of conditions and the following disclaimer.
|
44 |
* 2. Redistributions in binary form must reproduce the above copyright
|
44 |
* 2. Redistributions in binary form must reproduce the above copyright
|
45 |
* notice, this list of conditions and the following disclaimer in the
|
45 |
* notice, this list of conditions and the following disclaimer in the
|
46 |
* documentation and/or other materials provided with the distribution.
|
46 |
* documentation and/or other materials provided with the distribution.
|
47 |
* 3. All advertising materials mentioning features or use of this software
|
47 |
* 3. All advertising materials mentioning features or use of this software
|
48 |
* must display the following acknowledgement:
|
48 |
* must display the following acknowledgement:
|
49 |
* This product includes software developed by the University of
|
49 |
* This product includes software developed by the University of
|
50 |
* California, Berkeley and its contributors.
|
50 |
* California, Berkeley and its contributors.
|
51 |
* 4. Neither the name of the University nor the names of its contributors
|
51 |
* 4. Neither the name of the University nor the names of its contributors
|
52 |
* may be used to endorse or promote products derived from this software
|
52 |
* may be used to endorse or promote products derived from this software
|
53 |
* without specific prior written permission.
|
53 |
* without specific prior written permission.
|
54 |
*
|
54 |
*
|
55 |
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
55 |
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
56 |
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
56 |
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
57 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
57 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
58 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
58 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
59 |
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
59 |
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
60 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
60 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
61 |
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
61 |
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
62 |
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
62 |
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
63 |
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
63 |
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
64 |
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
64 |
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
65 |
* SUCH DAMAGE.
|
65 |
* SUCH DAMAGE.
|
66 |
*
|
66 |
*
|
67 |
* @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
|
67 |
* @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
|
68 |
* $FreeBSD: src/sys/netinet6/tcp6_var.h,v 1.5 2001/11/22 04:50:44 jlemon Exp $
|
68 |
* $FreeBSD: src/sys/netinet6/tcp6_var.h,v 1.5 2001/11/22 04:50:44 jlemon Exp $
|
69 |
*/
|
69 |
*/
|
70 |
|
70 |
|
71 |
#ifndef _NETINET_TCP6_VAR_H_
|
71 |
#ifndef _NETINET_TCP6_VAR_H_
|
72 |
#define _NETINET_TCP6_VAR_H_
|
72 |
#define _NETINET_TCP6_VAR_H_
|
73 |
|
73 |
|
74 |
#ifdef _KERNEL
|
74 |
#ifdef _KERNEL
|
75 |
#ifdef SYSCTL_DECL
|
75 |
#ifdef SYSCTL_DECL
|
76 |
SYSCTL_DECL(_net_inet6_tcp6);
|
76 |
SYSCTL_DECL(_net_inet6_tcp6);
|
77 |
#endif
|
77 |
#endif
|
78 |
|
78 |
|
79 |
extern int tcp_v6mssdflt; /* XXX */
|
79 |
extern int tcp_v6mssdflt; /* XXX */
|
80 |
|
80 |
|
81 |
struct ip6_hdr;
|
81 |
struct ip6_hdr;
|
82 |
void tcp6_ctlinput __P((int, struct sockaddr *, void *));
|
82 |
void tcp6_ctlinput __P((int, struct sockaddr *, void *));
|
83 |
void tcp6_init __P((void));
|
83 |
void tcp6_init __P((void));
|
84 |
int tcp6_input __P((struct mbuf **, int *, int));
|
84 |
int tcp6_input __P((struct mbuf **, int *, int));
|
85 |
struct rtentry *tcp_rtlookup6(struct in_conninfo *);
|
85 |
struct rtentry *tcp_rtlookup6(struct in_conninfo *);
|
86 |
|
86 |
|
87 |
extern struct pr_usrreqs tcp6_usrreqs;
|
87 |
extern struct pr_usrreqs tcp6_usrreqs;
|
88 |
|
88 |
|
89 |
#endif /* _KERNEL */
|
89 |
#endif /* _KERNEL */
|
90 |
|
90 |
|
91 |
#endif /* _NETINET_TCP6_VAR_H_ */
|
91 |
#endif /* _NETINET_TCP6_VAR_H_ */
|
92 |
|
92 |
|