Deleted Added
full compact
fastpath.c (310212) fastpath.c (315514)
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>
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: stable/11/sys/netinet/tcp_stacks/fastpath.c 310212 2016-12-18 12:23:48Z tuexen $");
55__FBSDID("$FreeBSD: stable/11/sys/netinet/tcp_stacks/fastpath.c 315514 2017-03-18 22:04:20Z ae $");
56
57#include "opt_inet.h"
58#include "opt_inet6.h"
56
57#include "opt_inet.h"
58#include "opt_inet6.h"
59#include "opt_ipsec.h"
60#include "opt_tcpdebug.h"
61
62#include <sys/param.h>
63#include <sys/module.h>
64#include <sys/kernel.h>
65#include <sys/hhook.h>
66#include <sys/malloc.h>
67#include <sys/mbuf.h>

--- 40 unchanged lines hidden (view full) ---

108#include <netinet/cc/cc.h>
109#ifdef TCPDEBUG
110#include <netinet/tcp_debug.h>
111#endif /* TCPDEBUG */
112#ifdef TCP_OFFLOAD
113#include <netinet/tcp_offload.h>
114#endif
115
59#include "opt_tcpdebug.h"
60
61#include <sys/param.h>
62#include <sys/module.h>
63#include <sys/kernel.h>
64#include <sys/hhook.h>
65#include <sys/malloc.h>
66#include <sys/mbuf.h>

--- 40 unchanged lines hidden (view full) ---

107#include <netinet/cc/cc.h>
108#ifdef TCPDEBUG
109#include <netinet/tcp_debug.h>
110#endif /* TCPDEBUG */
111#ifdef TCP_OFFLOAD
112#include <netinet/tcp_offload.h>
113#endif
114
116#ifdef IPSEC
117#include <netipsec/ipsec.h>
118#include <netipsec/ipsec6.h>
119#endif /*IPSEC*/
120
121#include <machine/in_cksum.h>
122
123#include <security/mac/mac_framework.h>
124
125VNET_DECLARE(int, tcp_autorcvbuf_inc);
126#define V_tcp_autorcvbuf_inc VNET(tcp_autorcvbuf_inc)
127VNET_DECLARE(int, tcp_autorcvbuf_max);
128#define V_tcp_autorcvbuf_max VNET(tcp_autorcvbuf_max)

--- 2309 unchanged lines hidden ---
115#include <machine/in_cksum.h>
116
117#include <security/mac/mac_framework.h>
118
119VNET_DECLARE(int, tcp_autorcvbuf_inc);
120#define V_tcp_autorcvbuf_inc VNET(tcp_autorcvbuf_inc)
121VNET_DECLARE(int, tcp_autorcvbuf_max);
122#define V_tcp_autorcvbuf_max VNET(tcp_autorcvbuf_max)

--- 2309 unchanged lines hidden ---