1/*-
2 * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1994, 1995
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 2007-2008,2010
5 * Swinburne University of Technology, Melbourne, Australia.
6 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org>
7 * Copyright (c) 2010 The FreeBSD Foundation
8 * Copyright (c) 2010-2011 Juniper Networks, Inc.
--- 34 unchanged lines hidden (view full) ---
43 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
44 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
45 * SUCH DAMAGE.
46 *
47 * @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
48 */
49
50#include <sys/cdefs.h>
51__FBSDID("$FreeBSD: head/sys/netinet/tcp_input.c 294535 2016-01-21 22:34:51Z glebius $");
52
53#include "opt_ipfw.h" /* for ipfw_fwd */
54#include "opt_inet.h"
55#include "opt_inet6.h"
56#include "opt_ipsec.h"
57#include "opt_tcpdebug.h"
58
59#include <sys/param.h>
--- 17 unchanged lines hidden (view full) ---
77
78#include <net/if.h>
79#include <net/if_var.h>
80#include <net/route.h>
81#include <net/vnet.h>
82
83#define TCPSTATES /* for logging */
84
85#include <netinet/in.h>
86#include <netinet/in_kdtrace.h>
87#include <netinet/in_pcb.h>
88#include <netinet/in_systm.h>
89#include <netinet/ip.h>
90#include <netinet/ip_icmp.h> /* required for icmp_var.h */
91#include <netinet/icmp_var.h> /* for ICMP_BANDLIM */
92#include <netinet/ip_var.h>
93#include <netinet/ip_options.h>
94#include <netinet/ip6.h>
95#include <netinet/icmp6.h>
96#include <netinet6/in6_pcb.h>
97#include <netinet6/in6_var.h>
98#include <netinet6/ip6_var.h>
99#include <netinet6/nd6.h>
100#ifdef TCP_RFC7413
101#include <netinet/tcp_fastopen.h>
102#endif
103#include <netinet/tcp.h>
104#include <netinet/tcp_fsm.h>
105#include <netinet/tcp_seq.h>
106#include <netinet/tcp_timer.h>
107#include <netinet/tcp_var.h>
108#include <netinet6/tcp6_var.h>
109#include <netinet/tcpip.h>
110#include <netinet/tcp_cc.h>
111#ifdef TCPPCAP
112#include <netinet/tcp_pcap.h>
113#endif
114#include <netinet/tcp_syncache.h>
115#ifdef TCPDEBUG
116#include <netinet/tcp_debug.h>
117#endif /* TCPDEBUG */
118#ifdef TCP_OFFLOAD
--- 3710 unchanged lines hidden ---
2 * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1994, 1995
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 2007-2008,2010
5 * Swinburne University of Technology, Melbourne, Australia.
6 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org>
7 * Copyright (c) 2010 The FreeBSD Foundation
8 * Copyright (c) 2010-2011 Juniper Networks, Inc.
--- 34 unchanged lines hidden (view full) ---
43 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
44 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
45 * SUCH DAMAGE.
46 *
47 * @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
48 */
49
50#include <sys/cdefs.h>
51__FBSDID("$FreeBSD: head/sys/netinet/tcp_input.c 294535 2016-01-21 22:34:51Z glebius $");
52
53#include "opt_ipfw.h" /* for ipfw_fwd */
54#include "opt_inet.h"
55#include "opt_inet6.h"
56#include "opt_ipsec.h"
57#include "opt_tcpdebug.h"
58
59#include <sys/param.h>
--- 17 unchanged lines hidden (view full) ---
77
78#include <net/if.h>
79#include <net/if_var.h>
80#include <net/route.h>
81#include <net/vnet.h>
82
83#define TCPSTATES /* for logging */
84
85#include <netinet/in.h>
86#include <netinet/in_kdtrace.h>
87#include <netinet/in_pcb.h>
88#include <netinet/in_systm.h>
89#include <netinet/ip.h>
90#include <netinet/ip_icmp.h> /* required for icmp_var.h */
91#include <netinet/icmp_var.h> /* for ICMP_BANDLIM */
92#include <netinet/ip_var.h>
93#include <netinet/ip_options.h>
94#include <netinet/ip6.h>
95#include <netinet/icmp6.h>
96#include <netinet6/in6_pcb.h>
97#include <netinet6/in6_var.h>
98#include <netinet6/ip6_var.h>
99#include <netinet6/nd6.h>
100#ifdef TCP_RFC7413
101#include <netinet/tcp_fastopen.h>
102#endif
103#include <netinet/tcp.h>
104#include <netinet/tcp_fsm.h>
105#include <netinet/tcp_seq.h>
106#include <netinet/tcp_timer.h>
107#include <netinet/tcp_var.h>
108#include <netinet6/tcp6_var.h>
109#include <netinet/tcpip.h>
110#include <netinet/tcp_cc.h>
111#ifdef TCPPCAP
112#include <netinet/tcp_pcap.h>
113#endif
114#include <netinet/tcp_syncache.h>
115#ifdef TCPDEBUG
116#include <netinet/tcp_debug.h>
117#endif /* TCPDEBUG */
118#ifdef TCP_OFFLOAD
--- 3710 unchanged lines hidden ---