Deleted Added
full compact
sctp_os_bsd.h (171167) sctp_os_bsd.h (171477)
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 171167 2007-07-03 12:13:45Z gnn $");
31__FBSDID("$FreeBSD: head/sys/netinet/sctp_os_bsd.h 171477 2007-07-17 20:58:26Z 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"

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

44#include <sys/systm.h>
45#include <sys/malloc.h>
46#include <sys/kernel.h>
47#include <sys/sysctl.h>
48#include <sys/mbuf.h>
49#include <sys/protosw.h>
50#include <sys/socket.h>
51#include <sys/socketvar.h>
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"

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

44#include <sys/systm.h>
45#include <sys/malloc.h>
46#include <sys/kernel.h>
47#include <sys/sysctl.h>
48#include <sys/mbuf.h>
49#include <sys/protosw.h>
50#include <sys/socket.h>
51#include <sys/socketvar.h>
52#include <sys/priv.h>
53#include <sys/jail.h>
52#include <sys/sysctl.h>
53#include <sys/resourcevar.h>
54#include <sys/uio.h>
55#include <sys/kthread.h>
56#include <sys/priv.h>
57#include <sys/random.h>
58#include <sys/limits.h>
59#include <sys/queue.h>

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

294 if (rt != NULL) \
295 rt->rt_rmx.rmx_mtu = mtu; \
296 } while(0)
297
298/* (de-)register interface event notifications */
299#define SCTP_REGISTER_INTERFACE(ifhandle, af)
300#define SCTP_DEREGISTER_INTERFACE(ifhandle, af)
301
54#include <sys/sysctl.h>
55#include <sys/resourcevar.h>
56#include <sys/uio.h>
57#include <sys/kthread.h>
58#include <sys/priv.h>
59#include <sys/random.h>
60#include <sys/limits.h>
61#include <sys/queue.h>

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

296 if (rt != NULL) \
297 rt->rt_rmx.rmx_mtu = mtu; \
298 } while(0)
299
300/* (de-)register interface event notifications */
301#define SCTP_REGISTER_INTERFACE(ifhandle, af)
302#define SCTP_DEREGISTER_INTERFACE(ifhandle, af)
303
304
302/*************************/
303/* These are for logging */
304/*************************/
305/* return the base ext data pointer */
306#define SCTP_BUF_EXTEND_BASE(m) (m->m_ext.ext_buf)
307 /* return the refcnt of the data pointer */
308#define SCTP_BUF_EXTEND_REFCNT(m) (*m->m_ext.ref_cnt)
309/* return any buffer related flags, this is

--- 134 unchanged lines hidden ---
305/*************************/
306/* These are for logging */
307/*************************/
308/* return the base ext data pointer */
309#define SCTP_BUF_EXTEND_BASE(m) (m->m_ext.ext_buf)
310 /* return the refcnt of the data pointer */
311#define SCTP_BUF_EXTEND_REFCNT(m) (*m->m_ext.ref_cnt)
312/* return any buffer related flags, this is

--- 134 unchanged lines hidden ---