Deleted Added
full compact
sctp_constants.h (171440) sctp_constants.h (171477)
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.

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

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_constants.h,v 1.17 2005/03/06 16:04:17 itojun Exp $ */
32
33#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.

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

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_constants.h,v 1.17 2005/03/06 16:04:17 itojun Exp $ */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_constants.h 171440 2007-07-14 09:36:28Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_constants.h 171477 2007-07-17 20:58:26Z rrs $");
35
36#ifndef __sctp_constants_h__
37#define __sctp_constants_h__
38
39/* Number of packets to get before sack sent by default */
40#define SCTP_DEFAULT_SACK_FREQ 2
41
42/* Address limit - This variable is calculated

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

78#define SCTP_KTHREAD_PAGES 2
79
80
81/* If you support Multi-VRF how big to
82 * make the initial array of VRF's to.
83 */
84#define SCTP_DEFAULT_VRF_SIZE 4
85
35
36#ifndef __sctp_constants_h__
37#define __sctp_constants_h__
38
39/* Number of packets to get before sack sent by default */
40#define SCTP_DEFAULT_SACK_FREQ 2
41
42/* Address limit - This variable is calculated

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

78#define SCTP_KTHREAD_PAGES 2
79
80
81/* If you support Multi-VRF how big to
82 * make the initial array of VRF's to.
83 */
84#define SCTP_DEFAULT_VRF_SIZE 4
85
86/* constants for rto calc */
87#define sctp_align_safe_nocopy 0
88#define sctp_align_unsafe_makecopy 1
89
86/* JRS - Values defined for the HTCP algorithm */
87#define ALPHA_BASE (1<<7) /* 1.0 with shift << 7 */
88#define BETA_MIN (1<<6) /* 0.5 with shift << 7 */
89#define BETA_MAX 102 /* 0.8 with shift << 7 */
90
91/* Places that CWND log can happen from */
92#define SCTP_CWND_LOG_FROM_FR 1
93#define SCTP_CWND_LOG_FROM_RTX 2

--- 971 unchanged lines hidden ---
90/* JRS - Values defined for the HTCP algorithm */
91#define ALPHA_BASE (1<<7) /* 1.0 with shift << 7 */
92#define BETA_MIN (1<<6) /* 0.5 with shift << 7 */
93#define BETA_MAX 102 /* 0.8 with shift << 7 */
94
95/* Places that CWND log can happen from */
96#define SCTP_CWND_LOG_FROM_FR 1
97#define SCTP_CWND_LOG_FROM_RTX 2

--- 971 unchanged lines hidden ---