Deleted Added
full compact
sctp_timer.h (172156) sctp_timer.h (180387)
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.

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

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
31/* $KAME: sctp_timer.h,v 1.6 2005/03/06 16:04:18 itojun Exp $ */
32#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.

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

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
31/* $KAME: sctp_timer.h,v 1.6 2005/03/06 16:04:18 itojun Exp $ */
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/netinet/sctp_timer.h 172156 2007-09-13 10:36:43Z rrs $");
33__FBSDID("$FreeBSD: head/sys/netinet/sctp_timer.h 180387 2008-07-09 16:45:30Z rrs $");
34
35#ifndef __sctp_timer_h__
36#define __sctp_timer_h__
37
34
35#ifndef __sctp_timer_h__
36#define __sctp_timer_h__
37
38#if defined(_KERNEL)
38#if defined(_KERNEL) || defined(__Userspace__)
39
40#define SCTP_RTT_SHIFT 3
41#define SCTP_RTT_VAR_SHIFT 2
42
43void
44sctp_early_fr_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
45 struct sctp_nets *net);
46

--- 58 unchanged lines hidden ---
39
40#define SCTP_RTT_SHIFT 3
41#define SCTP_RTT_VAR_SHIFT 2
42
43void
44sctp_early_fr_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb,
45 struct sctp_nets *net);
46

--- 58 unchanged lines hidden ---