Deleted Added
full compact
tcp_subr.c (249585) tcp_subr.c (250300)
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/netinet/tcp_subr.c 249585 2013-04-17 11:45:15Z gabor $");
33__FBSDID("$FreeBSD: head/sys/netinet/tcp_subr.c 250300 2013-05-06 16:42:18Z andre $");
34
35#include "opt_compat.h"
36#include "opt_inet.h"
37#include "opt_inet6.h"
38#include "opt_ipsec.h"
39#include "opt_tcpdebug.h"
40
41#include <sys/param.h>

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

250 struct cc_var ccv;
251 struct osd osd;
252};
253
254static VNET_DEFINE(uma_zone_t, tcpcb_zone);
255#define V_tcpcb_zone VNET(tcpcb_zone)
256
257MALLOC_DEFINE(M_TCPLOG, "tcplog", "TCP address and flags print buffers");
34
35#include "opt_compat.h"
36#include "opt_inet.h"
37#include "opt_inet6.h"
38#include "opt_ipsec.h"
39#include "opt_tcpdebug.h"
40
41#include <sys/param.h>

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

250 struct cc_var ccv;
251 struct osd osd;
252};
253
254static VNET_DEFINE(uma_zone_t, tcpcb_zone);
255#define V_tcpcb_zone VNET(tcpcb_zone)
256
257MALLOC_DEFINE(M_TCPLOG, "tcplog", "TCP address and flags print buffers");
258static struct mtx_padalign isn_mtx;
258static struct mtx isn_mtx;
259
260#define ISN_LOCK_INIT() mtx_init(&isn_mtx, "isn_mtx", NULL, MTX_DEF)
261#define ISN_LOCK() mtx_lock(&isn_mtx)
262#define ISN_UNLOCK() mtx_unlock(&isn_mtx)
263
264/*
265 * TCP initialization.
266 */

--- 2110 unchanged lines hidden ---
259
260#define ISN_LOCK_INIT() mtx_init(&isn_mtx, "isn_mtx", NULL, MTX_DEF)
261#define ISN_LOCK() mtx_lock(&isn_mtx)
262#define ISN_UNLOCK() mtx_unlock(&isn_mtx)
263
264/*
265 * TCP initialization.
266 */

--- 2110 unchanged lines hidden ---