Deleted Added
full compact
sctputil.h (205628) sctputil.h (206137)
1/*-
2 * Copyright (c) 2001-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.

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

27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28 * THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31
32/* $KAME: sctputil.h,v 1.15 2005/03/06 16:04:19 itojun Exp $ */
33
34#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001-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.

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

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

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

76
77struct sctp_ifa *
78 sctp_find_ifa_by_addr(struct sockaddr *addr, uint32_t vrf_id, int holds_lock);
79
80uint32_t sctp_select_initial_TSN(struct sctp_pcb *);
81
82uint32_t sctp_select_a_tag(struct sctp_inpcb *, uint16_t lport, uint16_t rport, int);
83
36#ifndef __sctputil_h__
37#define __sctputil_h__
38
39
40#if defined(_KERNEL) || defined(__Userspace__)
41
42#define SCTP_READ_LOCK_HELD 1
43#define SCTP_READ_LOCK_NOT_HELD 0

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

76
77struct sctp_ifa *
78 sctp_find_ifa_by_addr(struct sockaddr *addr, uint32_t vrf_id, int holds_lock);
79
80uint32_t sctp_select_initial_TSN(struct sctp_pcb *);
81
82uint32_t sctp_select_a_tag(struct sctp_inpcb *, uint16_t lport, uint16_t rport, int);
83
84int sctp_init_asoc(struct sctp_inpcb *, struct sctp_tcb *, int, uint32_t, uint32_t);
84int sctp_init_asoc(struct sctp_inpcb *, struct sctp_tcb *, uint32_t, uint32_t);
85
86void sctp_fill_random_store(struct sctp_pcb *);
87
88void
89sctp_timer_start(int, struct sctp_inpcb *, struct sctp_tcb *,
90 struct sctp_nets *);
91
92void

--- 299 unchanged lines hidden ---
85
86void sctp_fill_random_store(struct sctp_pcb *);
87
88void
89sctp_timer_start(int, struct sctp_inpcb *, struct sctp_tcb *,
90 struct sctp_nets *);
91
92void

--- 299 unchanged lines hidden ---