Deleted Added
full compact
sctp_constants.h (169382) sctp_constants.h (169655)
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 169382 2007-05-08 17:01:12Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_constants.h 169655 2007-05-17 12:16:24Z 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

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

485#define SCTP_BOUND_V4 0x02
486
487/*
488 * what is the default number of mbufs in a chain I allow before switching to
489 * a cluster
490 */
491#define SCTP_DEFAULT_MBUFS_IN_CHAIN 5
492
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

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

485#define SCTP_BOUND_V4 0x02
486
487/*
488 * what is the default number of mbufs in a chain I allow before switching to
489 * a cluster
490 */
491#define SCTP_DEFAULT_MBUFS_IN_CHAIN 5
492
493/* How long a cookie lives in seconds */
494#define SCTP_DEFAULT_COOKIE_LIFE 60
493/* How long a cookie lives in milli-seconds */
494#define SCTP_DEFAULT_COOKIE_LIFE 60000
495
496/* resource limit of streams */
497#define MAX_SCTP_STREAMS 2048
498
499/* Maximum the mapping array will grow to (TSN mapping array) */
500#define SCTP_MAPPING_ARRAY 512
501
502/* size of the inital malloc on the mapping array */

--- 544 unchanged lines hidden ---
495
496/* resource limit of streams */
497#define MAX_SCTP_STREAMS 2048
498
499/* Maximum the mapping array will grow to (TSN mapping array) */
500#define SCTP_MAPPING_ARRAY 512
501
502/* size of the inital malloc on the mapping array */

--- 544 unchanged lines hidden ---