Deleted Added
sdiff udiff text old ( 179786 ) new ( 180387 )
full compact
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 179786 2008-06-14 13:24:49Z 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"

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

55#include <sys/uio.h>
56#include <sys/lock.h>
57#include <sys/rwlock.h>
58#include <sys/kthread.h>
59#include <sys/priv.h>
60#include <sys/random.h>
61#include <sys/limits.h>
62#include <sys/queue.h>
63#include <machine/cpu.h>
64
65#include <net/if.h>
66#include <net/if_types.h>
67#include <net/if_var.h>
68#include <net/route.h>
69
70#include <netinet/in.h>

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

134
135#define SCTP_BASE_INFO(__m) system_base_info.sctppcbinfo.__m
136#define SCTP_BASE_STATS system_base_info.sctpstat
137#define SCTP_BASE_STAT(__m) system_base_info.sctpstat.__m
138#define SCTP_BASE_SYSCTL(__m) system_base_info.sctpsysctl.__m
139#define SCTP_BASE_VAR(__m) system_base_info.__m
140
141/*
142 *
143 */
144#define USER_ADDR_NULL (NULL) /* FIX ME: temp */
145#define SCTP_LIST_EMPTY(list) LIST_EMPTY(list)
146
147#if defined(SCTP_DEBUG)
148#define SCTPDBG(level, params...) \
149{ \

--- 329 unchanged lines hidden ---