Deleted Added
full compact
sctp_os_bsd.h (215034) sctp_os_bsd.h (218211)
1/*-
2 * Copyright (c) 2006-2007, by Cisco Systems, Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * a) Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.

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

23 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28 * THE POSSIBILITY OF SUCH DAMAGE.
29 */
30#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2006-2007, by Cisco Systems, Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * a) Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.

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

23 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28 * THE POSSIBILITY OF SUCH DAMAGE.
29 */
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/netinet/sctp_os_bsd.h 215034 2010-11-09 10:59:09Z brucec $");
31__FBSDID("$FreeBSD: head/sys/netinet/sctp_os_bsd.h 218211 2011-02-03 10:05:30Z rrs $");
32#ifndef __sctp_os_bsd_h__
33#define __sctp_os_bsd_h__
34/*
35 * includes
36 */
37#include "opt_ipsec.h"
38#include "opt_compat.h"
39#include "opt_inet6.h"

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

118MALLOC_DECLARE(SCTP_M_COPYAL);
119MALLOC_DECLARE(SCTP_M_VRF);
120MALLOC_DECLARE(SCTP_M_IFA);
121MALLOC_DECLARE(SCTP_M_IFN);
122MALLOC_DECLARE(SCTP_M_TIMW);
123MALLOC_DECLARE(SCTP_M_MVRF);
124MALLOC_DECLARE(SCTP_M_ITER);
125MALLOC_DECLARE(SCTP_M_SOCKOPT);
32#ifndef __sctp_os_bsd_h__
33#define __sctp_os_bsd_h__
34/*
35 * includes
36 */
37#include "opt_ipsec.h"
38#include "opt_compat.h"
39#include "opt_inet6.h"

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

118MALLOC_DECLARE(SCTP_M_COPYAL);
119MALLOC_DECLARE(SCTP_M_VRF);
120MALLOC_DECLARE(SCTP_M_IFA);
121MALLOC_DECLARE(SCTP_M_IFN);
122MALLOC_DECLARE(SCTP_M_TIMW);
123MALLOC_DECLARE(SCTP_M_MVRF);
124MALLOC_DECLARE(SCTP_M_ITER);
125MALLOC_DECLARE(SCTP_M_SOCKOPT);
126MALLOC_DECLARE(SCTP_M_MCORE);
126
127#if defined(SCTP_LOCAL_TRACE_BUF)
128
129#define SCTP_GET_CYCLECOUNT get_cyclecount()
130#define SCTP_CTR6 sctp_log_trace
131
132#else
133#define SCTP_CTR6 CTR6

--- 370 unchanged lines hidden ---
127
128#if defined(SCTP_LOCAL_TRACE_BUF)
129
130#define SCTP_GET_CYCLECOUNT get_cyclecount()
131#define SCTP_CTR6 sctp_log_trace
132
133#else
134#define SCTP_CTR6 CTR6

--- 370 unchanged lines hidden ---