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.
--- 38 unchanged lines hidden (view full) ---
47 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
48 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
49 * SUCH DAMAGE.
50 *
51 * @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
52 */
53
54#include <sys/cdefs.h>
55__FBSDID("$FreeBSD: head/sys/netinet/tcp_stacks/fastpath.c 294534 2016-01-21 22:24:20Z glebius $");
56
57#include "opt_ipfw.h" /* for ipfw_fwd */
58#include "opt_inet.h"
59#include "opt_inet6.h"
60#include "opt_ipsec.h"
61#include "opt_kdtrace.h"
62#include "opt_tcpdebug.h"
63
--- 17 unchanged lines hidden (view full) ---
81
82#include <vm/uma.h>
83
84#include <net/route.h>
85#include <net/vnet.h>
86
87#define TCPSTATES /* for logging */
88
89#include <netinet/cc.h>
90#include <netinet/in.h>
91#include <netinet/in_kdtrace.h>
92#include <netinet/in_pcb.h>
93#include <netinet/in_systm.h>
94#include <netinet/ip.h>
95#include <netinet/ip_icmp.h> /* required for icmp_var.h */
96#include <netinet/icmp_var.h> /* for ICMP_BANDLIM */
97#include <netinet/ip_var.h>
98#include <netinet/ip_options.h>
99#include <netinet/ip6.h>
100#include <netinet/icmp6.h>
101#include <netinet6/in6_pcb.h>
102#include <netinet6/ip6_var.h>
103#include <netinet/tcp_fsm.h>
104#include <netinet/tcp_seq.h>
105#include <netinet/tcp_timer.h>
106#include <netinet/tcp_var.h>
107#include <netinet6/tcp6_var.h>
108#include <netinet/tcpip.h>
109#include <netinet/tcp_syncache.h>
110#ifdef TCPDEBUG
111#include <netinet/tcp_debug.h>
112#endif /* TCPDEBUG */
113#ifdef TCP_OFFLOAD
114#include <netinet/tcp_offload.h>
115#endif
116
117#ifdef IPSEC
--- 2338 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.
--- 38 unchanged lines hidden (view full) ---
47 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
48 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
49 * SUCH DAMAGE.
50 *
51 * @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
52 */
53
54#include <sys/cdefs.h>
55__FBSDID("$FreeBSD: head/sys/netinet/tcp_stacks/fastpath.c 294534 2016-01-21 22:24:20Z glebius $");
56
57#include "opt_ipfw.h" /* for ipfw_fwd */
58#include "opt_inet.h"
59#include "opt_inet6.h"
60#include "opt_ipsec.h"
61#include "opt_kdtrace.h"
62#include "opt_tcpdebug.h"
63
--- 17 unchanged lines hidden (view full) ---
81
82#include <vm/uma.h>
83
84#include <net/route.h>
85#include <net/vnet.h>
86
87#define TCPSTATES /* for logging */
88
89#include <netinet/cc.h>
90#include <netinet/in.h>
91#include <netinet/in_kdtrace.h>
92#include <netinet/in_pcb.h>
93#include <netinet/in_systm.h>
94#include <netinet/ip.h>
95#include <netinet/ip_icmp.h> /* required for icmp_var.h */
96#include <netinet/icmp_var.h> /* for ICMP_BANDLIM */
97#include <netinet/ip_var.h>
98#include <netinet/ip_options.h>
99#include <netinet/ip6.h>
100#include <netinet/icmp6.h>
101#include <netinet6/in6_pcb.h>
102#include <netinet6/ip6_var.h>
103#include <netinet/tcp_fsm.h>
104#include <netinet/tcp_seq.h>
105#include <netinet/tcp_timer.h>
106#include <netinet/tcp_var.h>
107#include <netinet6/tcp6_var.h>
108#include <netinet/tcpip.h>
109#include <netinet/tcp_syncache.h>
110#ifdef TCPDEBUG
111#include <netinet/tcp_debug.h>
112#endif /* TCPDEBUG */
113#ifdef TCP_OFFLOAD
114#include <netinet/tcp_offload.h>
115#endif
116
117#ifdef IPSEC
--- 2338 unchanged lines hidden ---