Deleted Added
full compact
sctputil.h (233660) sctputil.h (235360)
1/*-
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved.
4 * Copyright (c) 2008-2011, by Michael Tuexen. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *

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

29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33
34/* $KAME: sctputil.h,v 1.15 2005/03/06 16:04:19 itojun Exp $ */
35
36#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved.
4 * Copyright (c) 2008-2011, by Michael Tuexen. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *

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

29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33
34/* $KAME: sctputil.h,v 1.15 2005/03/06 16:04:19 itojun Exp $ */
35
36#include <sys/cdefs.h>
37__FBSDID("$FreeBSD: head/sys/netinet/sctputil.h 233660 2012-03-29 13:36:53Z rrs $");
37__FBSDID("$FreeBSD: head/sys/netinet/sctputil.h 235360 2012-05-12 20:11:35Z tuexen $");
38#ifndef __sctputil_h__
39#define __sctputil_h__
40
41
42#if defined(_KERNEL) || defined(__Userspace__)
43
44#define SCTP_READ_LOCK_HELD 1
45#define SCTP_READ_LOCK_NOT_HELD 0

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

174#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING)
175 SCTP_UNUSED
176#endif
177);
178
179int sctp_expand_mapping_array(struct sctp_association *, uint32_t);
180
181void
38#ifndef __sctputil_h__
39#define __sctputil_h__
40
41
42#if defined(_KERNEL) || defined(__Userspace__)
43
44#define SCTP_READ_LOCK_HELD 1
45#define SCTP_READ_LOCK_NOT_HELD 0

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

174#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING)
175 SCTP_UNUSED
176#endif
177);
178
179int sctp_expand_mapping_array(struct sctp_association *, uint32_t);
180
181void
182sctp_abort_notification(struct sctp_tcb *, int, int
182sctp_abort_notification(struct sctp_tcb *, uint16_t,
183 struct sctp_abort_chunk *, int
183#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING)
184 SCTP_UNUSED
185#endif
186);
187
188/* We abort responding to an IP packet for some reason */
189void
190sctp_abort_association(struct sctp_inpcb *, struct sctp_tcb *,
191 struct mbuf *, int, struct sctphdr *, struct mbuf *, uint32_t, uint16_t);
192
193
194/* We choose to abort via user input */
195void
184#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING)
185 SCTP_UNUSED
186#endif
187);
188
189/* We abort responding to an IP packet for some reason */
190void
191sctp_abort_association(struct sctp_inpcb *, struct sctp_tcb *,
192 struct mbuf *, int, struct sctphdr *, struct mbuf *, uint32_t, uint16_t);
193
194
195/* We choose to abort via user input */
196void
196sctp_abort_an_association(struct sctp_inpcb *, struct sctp_tcb *, int,
197sctp_abort_an_association(struct sctp_inpcb *, struct sctp_tcb *,
197 struct mbuf *, int
198#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING)
199 SCTP_UNUSED
200#endif
201);
202
203void
204sctp_handle_ootb(struct mbuf *, int, int, struct sctphdr *,

--- 185 unchanged lines hidden ---
198 struct mbuf *, int
199#if !defined(__APPLE__) && !defined(SCTP_SO_LOCK_TESTING)
200 SCTP_UNUSED
201#endif
202);
203
204void
205sctp_handle_ootb(struct mbuf *, int, int, struct sctphdr *,

--- 185 unchanged lines hidden ---